sapp5
06-25-2009, 04:19 PM
I hope it's ok to post in here about lightwindow, since lightwindow's own forums have been down for a while... I've implemented it on a site and everything's running fine, except for one thing: When a user double-clicks on links with the "page" parameter (they also have width and height params), the script seems to fire twice resulting in a double-sized lightwindow with two stacked versions of identical content. :eek: This can be seen on this page (http://www.splurgebakery.com/packaging.php).
This problem is not occurring on non-"page" lightwindows. On other pages (http://www.splurgebakery.com/holiday.php) I have image-only lightwindows and gallery lightwindows. No problems there.
I've looked into using JS to disable the link briefly after the first click, similar to form submission buttons, but I haven't found a workable solution. I also tried looking through lightwindow.js for something I could alter, but short of a glaring error in the code I'm not knowledgeable enough to find anything.
Any ideas anyone has for tackling this issue would be greatly appreciated!
This problem is not occurring on non-"page" lightwindows. On other pages (http://www.splurgebakery.com/holiday.php) I have image-only lightwindows and gallery lightwindows. No problems there.
I've looked into using JS to disable the link briefly after the first click, similar to form submission buttons, but I haven't found a workable solution. I also tried looking through lightwindow.js for something I could alter, but short of a glaring error in the code I'm not knowledgeable enough to find anything.
Any ideas anyone has for tackling this issue would be greatly appreciated!