I'm not even absolutely positive its the javascript's fault, but heres the problem:

I wanted to put lightbox onto my portfolio site. when i preview it in a browser, it works perfectly. but after i've uploaded all the files to the server (including all css, js, and image files associated with lightbox), it wont work.

heres a little test site: http://selinaleung.com/test.html

i even linked my code directly to the uploaded js files:

<script type="text/javascript" src="http://selinaleung.com/prototype.js"></script>
<script type="text/javascript" src="http://selinaleung.com/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="http://selinaleung.com/lightbox.js"></script>
<link href="lightbox.css" rel="stylesheet" type="text/css" />
but it still only works in preview and not uploaded.. =\

bluewalrus

01-02-2010, 07:25 AM

Works for me in FF and Safari. You have to wait for the page to fully load before testing it, it appears to take a bit of time for the page to fully load but that my just be my computer.