baci0008 / baci0008.github.io

https://www.thaliadesign.info
Other
0 stars 0 forks source link

Javascript Files Order #1

Open baci0008 opened 9 years ago

baci0008 commented 9 years ago

Since I have several javascript files in my html document, I notice that some parts are affected. For example my slideshow from the home page do not work, it does not give the flip effect that I want.
The code is correct. I am sure that the position of the javascript file is affecting the functionality of my slideshow. Also my effects do not work in Safari.

How can I fix this problem?

ghost commented 9 years ago

Have you tried putting the slideshow code at the bottom (below all the other javascript links in the HTML)? That's my best guess.

thomasjbradley commented 9 years ago

There most likely is some Javascript collisions going on. The main thing I can see is that there are 2 jQuery files included.

https://github.com/baci0008/baci0008.github.io/blob/master/index.html#L451 https://github.com/baci0008/baci0008.github.io/blob/master/index.html#L453

Also, jQuery should always come first, above all the other Javascript files.