PDA

View Full Version : Problem viewing Lightbox on published webpage



hello
11-12-2007, 07:30 PM
1) Script Title: Lightbox 2.03

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

3) Describe problem: Hi, my page works perfectly when I view it on my computer, but now I have published it to the internet Lightbox2.03 doesn't work - nothing happens to the thumbnail images and an 'error on page' message pops up.

I noticed that when I published the page it recognised the thumbnail images but not the full size images - they still show as being on my computer but I don't know how to change this??

This is my test page: http://www.rachaeldunn.co.uk/collection001

I'd really appreciate any help as I'm really confused!

jscheuer1
11-12-2007, 08:59 PM
You either haven't uploaded all of the script files to the server or, the paths your page is using to find them are wrong. There could also be other problems. For lightbox, you need:

prototype.js
scriptaculous.js
lightbox.js

and (used by scriptaculous):

effects.js

Your page is looking for these here:


http://www.rachaeldunn.co.uk/prototype.js
http://www.rachaeldunn.co.uk/scriptaculous.js
http://www.rachaeldunn.co.uk/effects.js
http://www.rachaeldunn.co.uk/lightbox.js

It is finding them all at those locations except for:


http://www.rachaeldunn.co.uk/effects.js

The effects.js file comes with the lightbox distribution, upload it to that location.