ewwatson - 12:41 pm on Nov 16, 2012 (gmt 0)
Wow that was hard. It works different in all three testing scenarios - local via dreamweaver - local via wamp - and online. I believe I narrowed down the problem to two scripts that are also on the page. Both need to be removed in order for the gallery.js to work with jquery 1.8.3. Smooth scroll. Replacing that with the newer version fixes half of it. But the other half - this...
document.getElementById("loading").innerHTML = "Loading...";
Loads before jquery 1.8.3 and breaks it. Or breaks the gallery.js. If I move it below jquery then it works again. But I need it to load before jquery. So, what do you think? Any obvious reason why that you know of that that one line would conflict?
FYI - all my scripts are in combined.js. It's on all the other pages. Therefore catched when the gallery is called via fancybox. Which is why I would prefer to use it verses loading a new jquery on gallery call. Thanks!
PS... I dont need this js line document.getElementById("loading").innerHTML = "Loading..."; on this page. I guess I found the pit falls of combining all your js. So if if I could disable it somehow with a little js it would be much less than another jquery to download. Can I somehow disable it on this page?