Jump to content

JavaScript not working when live


pixelforce

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/239716-javascript-not-working-when-live/
Share on other sites

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??

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.