pixelforce Posted June 18, 2011 Share Posted June 18, 2011 Hi guys ... Please check out our site at www.pixelforcepictures.com. Our site uses a jquery called 'feature list' to make the video selector we have created for the films page. Strange thing is ... the javascript works fine on our local machine when just sitting in a folder. But, as soon as we either move it to our local wamp server, or our hosted web server, the javascript fails to work. Can anyone see what the problem is, and why only when the page is being served does it fail?? Regards Tim Quote Link to comment https://forums.phpfreaks.com/topic/239716-javascript-not-working-when-live/ Share on other sites More sharing options...
DarkKnight2011 Posted June 18, 2011 Share Posted June 18, 2011 Hi, Javascript isnt my strongest point but I will try and help anyway, There are no errors showing when loading by checking with firebug, I did notice that the buttons on the films page have the following in the HTML code <a href="javascript:;"> It doesnt seem to be actually calling anything so there are no events to trigger on the page, I also could not see any other code that links to these (unless its in the featurelist js file itself). Are you sure this exact code works elsewhere?? Quote Link to comment https://forums.phpfreaks.com/topic/239716-javascript-not-working-when-live/#findComment-1231408 Share on other sites More sharing options...
pixelforce Posted June 19, 2011 Author Share Posted June 19, 2011 Here is a demo page http://www.directfusion.com.au/themes/omega/usage-gallery-featured.html# We have the exact same code and it works perfectly on our local machine. Quote Link to comment https://forums.phpfreaks.com/topic/239716-javascript-not-working-when-live/#findComment-1231728 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.