View Full Version : Lightbox Help? wont work when uploaded to server?

01-02-2010, 07:17 AM
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.. =\

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.

01-02-2010, 08:38 AM
The reason that it takes so long to load is this:

<script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script>

That may be added by your host. But regardless, hosting24.com is (at least currently) too slow to respond.