Java script not working - Easy peasy!
Permalink
Could someone please please please tell me why NONE of my js is working for the page below?
http://gotimetrekkers.com/single-tour-test-page...
This is driving me nuts. All I did was to copy the content of individual blocks (including associated js) to a single block. The new block works fine but not the js within the block. (This is all the content below the full-width header image btw)
For example, the google popup map on right hand side opens in new page not popup; and the form below the map is normally hidden until button is clicked...
Thanks in advance
P
http://gotimetrekkers.com/single-tour-test-page...
This is driving me nuts. All I did was to copy the content of individual blocks (including associated js) to a single block. The new block works fine but not the js within the block. (This is all the content below the full-width header image btw)
For example, the google popup map on right hand side opens in new page not popup; and the form below the map is normally hidden until button is clicked...
Thanks in advance
P
Think I've done that, but still not working.
Sorry, Away until the 10th September 2015
None of your popups work because they rely on a script called magnificpopup that comes bundled with Concrete5 but you are not loading it so when it's called it just throws an error
Hi mnakalay,
Thanks for your reply.
I'm sure this is straight forward, but how can I load the script?
Thanks for your reply.
I'm sure this is straight forward, but how can I load the script?
I put this towards the end of the file but didn't work.
<script src="http://gotimetrekkers.com/concrete/js/jquery-magnific-popup.js" type="text/javascript">
Still struggling with this. Any ideas very very much welcome :)
So I managed to get this working.
I was using cloudfare as a cdn. Although I had set cloudfare to Developer mode (essentially bypassing their cache) it must have still be affecting (I assume running on load) the java script.
To get cloudfare to ignore the js I put this
into the tag like so
The page now seems to work fine. Fingers crossed!
I was using cloudfare as a cdn. Although I had set cloudfare to Developer mode (essentially bypassing their cache) it must have still be affecting (I assume running on load) the java script.
To get cloudfare to ignore the js I put this
data-cfasync="false"
into the tag like so
<script data-cfasync="false" type="text/javascript"> Some js </script>
The page now seems to work fine. Fingers crossed!
Was not working for me earlier, seems you managed to put the js in 'applications' folder now.
Seems to work okay.
However you still have a couple of element issues:
Seems to work okay.
However you still have a couple of element issues:
<label><input style="padding-left:0.5rem; padding-right:0.5rem;"type="checkbox" name="perm_email" id="perm_email "value="0" />No email updates thanks</label> <label><input style="padding-left:0.5rem; padding-right:0.5rem;"type="checkbox" name="" value="" required>Are you human?</label>
Hi Steevb,
Thanks for your reply. Spaces and positioning of quotations?
Thanks for your reply. Spaces and positioning of quotations?
ah, and the
Thanks again.
/>
Thanks again.
Sorry, Away until the 10th September 2015
Sorry, Away until the 10th September 2015
Sorry, Away until the 10th September 2015
Sorry, Away until the 10th September 2015
Sorry, Away until the 10th September 2015
Sorry, Away until the 10th September 2015
Sorry, Away until the 10th September 2015
Close the style tag, missing quote:
Remove end tag after the 'x':
Close id, missing quote:
Then see if that helps with a css file call missing and 'magnificPopup' javascript function.