picnictutorials — 2012-11-16T16:03:43-05:00 — #1
I have document.getElementById("loading").innerHTML = "Loading..."; in my combined.js on each page. However the one line prevents my gallery.js from working. And I just so hapen to not need it on this page. Is there any way to disable, or override, mask, no conflict, anything, that one liner for this single page in question? Thanks!
felgall — 2012-11-16T17:42:29-05:00 — #2
What other code do you have in the page? Without seeing that there is nothing to go on to tell you what to modify.
ronalds — 2012-11-16T18:54:37-05:00 — #3
You can add some class to body tag and then call your function depending on that, for example. Or use window.location.pathname to check that specific page is loaded.
picnictutorials — 2012-11-16T19:31:18-05:00 — #4
I guess I started a new thread to soon. Looks like I got my answer here http://www.sitepoint.com/forums/showthread.php?913779-Any-idea-why-small-gallery-js-not-compatible-with-jQuery-1-8-2-Must-use-version-1-4-4