May 31, 201313 yr hello frnds, any idea why this jquery slider which i have implemented here works on localhost but not online
May 31, 201313 yr 31.05.2013 10:20:00TypeError: $(...).lofJSidernews is not a functionSource: http://mydomain007.host56.com/fusion2/Line: 30
May 31, 201313 yr Author u mean i have problem here ? but how come it works on localhost?and i haven't chnged any code as seen here <script type="text/javascript" language="javascript"> $(document).ready( function(){ $('#lofslidecontent45').lofJSidernews( { interval:10000, easing:'easeInOutQuad', duration:1200, auto:true } ); }); </script> 31.05.2013 10:20:00TypeError: $(...).lofJSidernews is not a functionSource: http://mydomain007.host56.com/fusion2/Line: 30
May 31, 201313 yr Dunno what to say, mate, maybe a some influence of the popup ad banner occurs there. Edited May 31, 201313 yr by Lev
May 31, 201313 yr Morning Sash, You've got this in your code: <script type="text/javascript" src="http://stats.hosting24.com/j.js"></script> Which I think may be conflicting with the earlier addition of jQuery... I think the above code is also loading jQuery 1.5.2 init, therefore you have multiple versions of jQuery running. You should only have one, unless you set up a no conflict variable. As you can see here : http://jsfiddle.net/LyndseyB/uUDxp/, it's working fine. Only difference is I haven't included the j.js script which is the one that's conflicting. Maybe it's a file added by itself? What it's doing is also including a jQuery library, albeit a different version, but that's what is causing your issue. Anyway, let me know if this resolves it Edited May 31, 201313 yr by Lyndsey
May 31, 201313 yr Author hey lyndsey morning i think u r rght ..i will upload in my own host and let u know...
May 31, 201313 yr Author it did wrk . .when i uploaded it to my own host not tht free one it wrks see here damn i wasted 1 day trying to solve this
May 31, 201313 yr it did wrk . .when i uploaded it to my own host not tht free one it wrks see here damn i wasted 1 day trying to solve this Nightmare! At least there has been a resolution though I suppose
Create an account or sign in to comment