I've set up a test site with just Lightbox2 on it, and gone through the How to step by step(http://lokeshdhakar.com/projects/lightbox2/#how). I set up folders for css and js with all the relevant files in them. These files are showing at the top of my html file and can be opened so I'm assuming that these are all ok. I also set up an images folder which contains the buttons, images etc. lightbox.css is showing a couple of Netscape 8.0 errors, but I don't believe that's relevant. The thumbnails are showing but when I click them in IE9, Firefox etc, nothing happens.
Here's the html:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Lightbox Test</title>
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
<link href="css/lightbox.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<p>Single images:</p>
<a href="images/1_b.jpg" rel="lightbox" title="Glasses"><img src="images/1_s.jpg" /></a>
<a href="images/2_b.jpg" rel="lightbox" title="Glasses"><img src="images/2_s.jpg" /></a>
<br />
<br />
<p>Gallery of Images:</p>
<a href="images/1_b.jpg" rel="lightbox[Group1]"><img src="images/1_s.jpg" /></a>
<a href="images/2_b.jpg" rel="lightbox[Group1]"><img src="images/2_s.jpg" /></a>
<a href="images/3_b.jpg" rel="lightbox[Group1]"><img src="images/3_s.jpg" /></a>
</body>
lightbox.js appears to be referencing the images folder correctly:
LightboxOptions = Object.extend({
fileLoadingImage: 'images/loading.gif',
fileBottomNavCloseImage: 'images/closelabel.gif',
lightbox.css as the following lines in it, but I'm not sure if they are referencing my local images folder:
#prevLink:hover, #prevLink:visited:hover { background: url(../images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(../images/nextlabel.gif) right 15% no-repeat; }
I wondered if everything had to be in a lightbox folder, so I set up another test to try that, but had the same results. Any idea as to what I am doing wrong and how to rectify it?
Look forward to hearing from someone.
Many thanks.