James New James New - 1 year ago 96
Javascript Question

Lightbox JavaScript Conflict

Im developing a HTML scrolling site (its no way near finished) but im having problems with my JavaScript. If I declare the source code before the other the last one works but the first one doesnt.

I have a scrolling JavaScript file that creates a slow scroll effect on navigation click, and the other is a lightbox gallery, the two cannot work in sync and I am really puzzled!


Answer Source

use a simple lightbox gallery rather then some other jQuery plugin. For example

this is a simple jQuery lightbox it need only a single jQuery plugin that you already used on your website

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download