HotelCrazy
Member
- Jan 14, 2011
- 86
- 6
Hey.
Can anyone help with Lightbox?
it opens a new page.
I was trying to follow this but, I don't know where the "onload" was.
quote from website:
anyone?
Can anyone help with Lightbox?
it opens a new page.
I was trying to follow this but, I don't know where the "onload" was.
quote from website:
It doesn't work at all. The image opens up in a new page. What's wrong?
This is commonly caused by a conflict between scripts. Check your body tag and look for an onload attribute. Example:
<body onload="MM_preloadImages(‘/images/menu_on.gif’)…;">
A quick fix to this problem is to append the initLightbox() to the onload attribute as so:
<body onload="MM_preloadImages(‘/images/menu_on.gif’)…;initLightbox()">
anyone?