faevilangel_designs
faevilangel_designs Recent Posts Threads Started
83 posts
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
  • Located in United Kingdom
faevilangel_designs says

Can someone work out why my js isn’t working?

http://garethgillman.co.uk/themeforest/Magnesia/index.html#

I have the jquery, the slider.js and the function in the top … It’s finding the images too

it’s probably something small i done wrong

thanks

54 posts
  • Has referred 500+ members
  • Has sold $750,000+ on Envato Market
  • Has collected 100+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+5 more
GhostPool says

Maybe the script requires the jQuery library.

For example:

< script type=”text/javascript” src=”http://www.google.com/jsapi”>< /script > < script type=”text/javascript”>google.load(“jquery”, “1.2.6”)< /script >

You may require a different version to 1.2.6 though.

http://code.google.com/apis/ajaxlibs/documentation/#jquery

faevilangel_designs
faevilangel_designs Recent Posts Threads Started
83 posts
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
  • Located in United Kingdom
faevilangel_designs says

I have the jquery library in jquery.js

94 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 10+ members
  • Has sold $5,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+4 more
JimmyP says

Change to

54 posts
  • Has referred 500+ members
  • Has sold $750,000+ on Envato Market
  • Has collected 100+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+5 more
GhostPool says
I have the jquery library in jquery.js

I can’t see it being loaded the only js file I see is slider.js.

If that isn’t the issue, maybe Jimmy’s suggestion will work.

faevilangel_designs
faevilangel_designs Recent Posts Threads Started
83 posts
  • Has been part of the Envato Community for over 5 years
  • Sells items exclusively on Envato Market
  • Located in United Kingdom
faevilangel_designs says
Change <script type=”javascript”> to <script type=”text/javascript”>

Thankyou, I found that just before I came back to check on here, It goes to show you can miss the simplest of errors

Cheers

by
by
by
by
by
by