Javascript Conflicts
-
I have a gallery on my homepage that uses javascript, but I’ve noticed that the JS is always running, even when I’m not on my homepage. This is creating a conflict with my avatar uploads, and will not allow me to crop my image or preview it. When I deactivate the plugin, all works fine, but that’s not an option with my site.
Since I don’t really need (or want) my gallery plugin’s javascript running on my member pages anyway, is it possible for me to essentially “deactivate” the homepage gallery’s javascript when a user isn’t on the homepage?
Conversely, is there a way to make it so my gallery plugin’s javascript is ONLY activated on the homepage?
There must be some way to avoid the Javascript conflicts…I just don’t know how…
Thanks for the help.
- The topic ‘Javascript Conflicts’ is closed to new replies.