Hi everyone,
I’m using Nick Cates’ fabulous “Forward” theme to build our new website. I absolutely love it, but there seem to be some issue with getting javascript to work properly with the theme. I have contacted Nick Cates about it and got some kind and helpful responses, but what they suggested didn’t work and they’re really slow in answering emails so I thought I could ask here if anyone had any ideas.
(Oh and before I go on please note that I’m a newbie and not at all javascript savvy, so please keep that in mind if you have any ideas for me - detailed steps much appreciated)
So I’m trying to incorporate a few things on the site by the help of some copy-pasted javascript, but nothing happens when I publish the page. I tried the code with another theme (the Reason theme from the same designer), and then it works fine so that’s what lead me to conclude there must be some issue with the theme.
The page that I have trouble with (work in progress published for testing purposes only):
http://www.bedandbooks.no/nysidetesting/booking/
As you can see the functionality that I want on the above page is working fine with the Reason theme on this test page (never mind the layout):
http://www.bedandbooks.no/nysidetesting/test/
The code is exactly the same for both pages:
Pasted in the <head>
tags:
<script src='https://sky-eu1.clock-software.com/js/iframe_integration.js'></script>
Pasted in an html stack on the page:
<script>clock_pms_iframe({ height: '2000px', width: '100%', seamless: 'seamless', frameborder: '0', src: 'https://sky-eu1.clock-software.com/6263/2604/wbe/products/new' })</script>
What could be going on?
I have a script in the footer of the page too, from TripAdvisor, and the helpful guy at Nick Cates design suggested this might be the issue, if I understood him correctly: “This is probably because jQuery is called in the footer of Forward, and your custom code is being inserted via the top part of the page. You can try calling jQuery again, before your custom code - and this should work.”
Upon request (as I’m a newbie I had no clue how to “call jQuery again”) he then kindly provided me with this line of code to put in the first line of the <head>
:
<script src="http://code.jquery.com/jquery-1.11.3.min.js"></script>
I tried that but it didn’t change anything.
I also tried taking away the script in the footer, but there was no difference.
There is also trouble with other pieces of script on the site, fex are all the scripts from TripAdvisor (copy-pasted into a html stack) on this page looking really funny and not at all informative: About --> Testimonials (sorry the lack of a direct link, was not allowed to post more than 2 links?!)
Does anyone have any idea what could be going on here? I’m getting quite desperate so any suggestions are heartly welcomed.
I’m using RapidWeaver 6.3.1 and the latest version of Forward. Stacks of course, and some plugins. OSX 10.10.4.
Please note that the links provided to my site are test pages (work in progress) and not yet publicly available so never mind incomplete things and broken links.
Huge thanks in advance for any help that can make this work with the theme!
-Silje