jassyjas
Forum Replies Created
-
Forum: Plugins
In reply to: [Code Snippets] Trigger JS code snippet on button clickOK – i’ve had to turn this off as no solution in time to go live.. but if you have any advice on me changing the code to make it work anywhere on a page that would be fab.
ThanksForum: Plugins
In reply to: [Code Snippets] Trigger JS code snippet on button click@bungeshea any ideas Shea? I have to put the site live tomorrow so I’m on a pretty tight deadline… Thank you
Forum: Plugins
In reply to: [Code Snippets] Trigger JS code snippet on button clickErrrrmmmm I’m BACK ???♀? Sorry.
It’s working fine in my header, but on main pages and my footer it doesn’t work. Can we tweak the JS for this at all?This is the page: https://staging.creationshairandbeauty.com/cut-style/
This is the loom: https://www.loom.com/share/45ea2f7092454ecabce66c6bec3939d6Thanks again
Forum: Plugins
In reply to: [Code Snippets] Trigger JS code snippet on button clickThank you SO much for your help with this. I tried numerous avenues to get help and you have saved the day!
How do I donate?Forum: Plugins
In reply to: [Code Snippets] Trigger JS code snippet on button clickIt works it works it works.
Thank you so much…Why did the addition of the add_action wp_footer make the difference do you know?
Anyway – Amazing!
Forum: Plugins
In reply to: [Code Snippets] Trigger JS code snippet on button clickI’m literally feeling so stupid… But hoping I am just being stupid. I’ve done what you’ve suggested but still no luck. Here;s a super quick loom to show you.
I appreciate I’m asking a lot from your support. THANK YOU
Forum: Plugins
In reply to: [Code Snippets] Trigger JS code snippet on button clickOh no, that’s where I started. I know I have a the link working and looking like a button… But I WANT an actual button to work and that’s what I’m asking for help with. Sorry if I was not clear.
It’s this big white button (screenshot – https://loom.com/i/75611d8b5dbf4cd68c6bd5dbe096ffd3) not the one above…. on this page
https://staging.creationshairandbeauty.com/contact-us/This is where the button ID is set
https://loom.com/i/af16208d486f4d30b0126da37d2e99eaThis my snippet as per your help above
https://loom.com/i/836456041354463da379b6bb0aa2eef5But it doesn’t work ??
Thanks again
Forum: Plugins
In reply to: [Code Snippets] Trigger JS code snippet on button clickHi Shea – are you able to help me any further with this or point me in the right direction? Thank you
Forum: Plugins
In reply to: [Code Snippets] Trigger JS code snippet on button click@bungeshea any further help you can provide here would be really appreciated. Thank you
Forum: Plugins
In reply to: [Code Snippets] Trigger JS code snippet on button clickThank again… I’ve used that as a code snippet without error. I have placed a TEST button in my header here:
https://staging.creationshairandbeauty.com/contact-us/
Clearly the button widget on my page (the big white one) has no link url included as I want the code snippet to run when I click the button. But nothing is happening.. What should I put in expected link URL field for the button? a # or something else?
Thanks again… Super happy to donate to your plugin when this is working.
Forum: Plugins
In reply to: [Code Snippets] Trigger JS code snippet on button clickthank you… I’m trying to follow your instructions but clearly I have something wrong. Can you tell me what I what’s wrong as I get errors
https://loom.com/i/642f326840b648acbce8931ddbf02d3f`document.getElementById(‘book_button’).addEventListener(“click”, function () {add_action( ‘wp_head’, function () { ?>
<script type=’text/javascript’>!function(b,c){b.saloniqid=’ac589142-60bc-4acd-acdd-fccf491bf729′,b.saloniqsite=’https://bookings.saloniq.co.uk’;var d,g,e=’onlinebookingwidget-loader’,f=c.getElementsByTagName(‘script’)[0];c.getElementById(e)||(d=c.createElement(‘script’),d.id=e,d.async=!0,d.src=b.saloniqsite+’/scripts/onlinebookingwidget-loader.js?d=’+Date.now(),g=f?f.parentNode:c.getElementsByTagName(‘head’)[0],g.insertBefore(d,f))}(window,document);</script> ?php});Forum: Plugins
In reply to: [Code Snippets] Trigger JS code snippet on button clickHi! NO… I have the html link working fine.
I’d like the same thing to happen when I click a button. I can’t use the html code in my button.
Hope that makes sense?
I was advised to create a code snippet which would trigger the same function onclick.
The JS code snippet is already in my Code snippets.
I can send a ‘loom’ recording if I’m not explaining it well enough.
Thank youForum: Plugins
In reply to: [The Events Calendar: Category Colors] Figure out why colors not showingJust wanted to say what amazing support Andy has provided me. Outstanding service. Thanks Andy
Have just forwarded emails from different email account… Here’s a link to a screenshot showing this happening. In TwentySeventeen with all other plugins disabled.
https://www.dropbox.com/s/i837yb65mfewm9i/plugin.mov?dl=0Works great with version 1.
Thank you Alessandro..
Oh no – I’ve sent two… Will send again now. But pls reach out back to me jas [at] shorttech co uk
I’m quite desperate.
Jas