PDA

View Full Version : Lightbox image viewer 2.03



jessica_r
07-05-2007, 02:52 AM
1) Script Title: Lightbox image viewer 2.03

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

3) Describe problem: I am following all(well at least I think I am) all instructions and have uploaded all the files needed but still when I add it to my site it opens as a normal image in the same window instead of the lightbox format.. can someone please help me

http://homeandawaycentral.com/melissa5.htm


J

jscheuer1
07-05-2007, 03:23 AM
These files listed in your source code:


<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" />

are not on the server, relative to your page, in the locations (red) indicated. They are (relative to your page) here:


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

Either place the files in the directories indicated in your source code or change the source code to reflect their true location.

There could be other (most likely minor, if any) problems, but this must be resolved first.