PDA

View Full Version : Help with lightbox gone wild



moviedrome
03-15-2008, 05:14 PM
1) Script Title: Lightbox Gone Wild

2) Script URL (on DD): http://dynamicdrive.com/dynamicindex4/lightbox2/index.htm

3) Describe problem:

I have a strange problem that I hope you can help me with, i'm probably being a total noob.

This lightbox is called when you use <a href="this.html" class="lbOn">

I however am using a javascript gallery and it doesnt use an <a href=> it uses an onClick="window.location='this.php'"

Is there anyway for me to trigger the lightbox from the onClick command?

Thanks
Richard