- This topic is empty.
Viewing 9 posts - 1 through 9 (of 9 total)
Viewing 9 posts - 1 through 9 (of 9 total)
- The forum ‘Back End’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I have been customizing a theme in wordpress. Been building it on my computer using wamp. I put in some javascript and jquery and this runs fine on my computer. I uploaded all the files and the jquery stops working. So I delete the theme from the online site, re upload and still doesn’t work. So I download everything from online and put it back on my computer. I put it in another directory that I have wordpress installed and change that site on my computer to the theme. the jquery works. I have come to the conclusion that something online is stopping my jquery from working. I don’t know what it is. I am calling the script like this
Any ideas?
On your online version, if you "view source" is the path to your jQuery file correct?
How are you calling the jQuery library?
Could you post a link?
What does firebug say?
We can play this game all week, without a link it’s just one guess at a time. :)
In your tabs.js try replacing each instance of ‘$’ with ‘jQuery’.
Not ‘jquery’ but ‘jQuery’. Note the uppercase Q.
As far as I can see, tabs.js isn’t there at all now.
You may have put the file back but you are not linking to it in the head.
Incidentally, IMHO the best way to include the jQuery library is to use Google’s hosted version like this:
Cool!
Oh well, we got there in the end. :D