View Full Version : Can someone help fix my lightbox please

12-20-2007, 11:12 AM
Hi I have a site which I want to use light-box function on, I have set it all up. However when I have more than 1 image for a section light-box doesn't seem to want to show the 2nd image in IE, it works on Safari but not in IE, can someone please help, its driving me mad.

My site is here


Click on Hawksmoor Grange

12-20-2007, 04:59 PM
You have a non-standard version of the lightbox script, use:


12-20-2007, 06:23 PM
Hi is there nothing I can just change in my script, as I want to keep the custom next and previous buttons that I have


12-20-2007, 07:02 PM
I found the original code for lightbox++ at:


and compared it to yours, they are different. I also tried out their example of an image set in IE, worked fine. So, either your modifications are the problem or you didn't follow the instructions properly for creating an image set.

Try going back to the original lightbox++ script and see if that at least gets rid of the error. If it does, perhaps there is some other way to modify the lightbox++ script to get the effect you want. Generally, the location of the next/previous buttons may be changed in the style, with no change to the script required.

12-20-2007, 08:20 PM
Hi thanx for your help. Do you know how I can change lightbox++ correctly to look like the way I have it know, but working properly?


12-20-2007, 09:47 PM
Save a copy of your modified script, just in case. Put back the distribution copy of lightbox++ and use the stylesheet. If you need help, put up a live demo with the distribution copy of lightbox++ so I can check it out and modify the styles on my end to see what they will look like.

12-21-2007, 11:31 AM
Hi I have now uploaded the new version of Lightbox that you recommended above, could you please help me achieve the look I had before if possible?



all are new lightbox files untouched by myseld downloaded from the example you gave above

12-22-2007, 02:59 PM
Get rid of one of the stylesheet links and use the images that you want for the next and previous buttons:

<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />

<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />

You shouldn't need this:

<script type="text/javascript">
function GroupDelegate(id) {
var objLink = document.getElementById(id);

You should probably also look here: