I mean that when I tried to navigate to (for example):
Code:
http://www.themothershipmusic.com/js/lightbox.js
as indicated by (in your source code for the page you linked to in your post):
HTML Code:
<script type="text/javascript" src="js/lightbox.js"></script>
I got:
Not Found
The requested URL /js/lightbox.js was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at
www.themothershipmusic.com Port 80
This means that the lightbox.js script is not on the server in location pointed to by the source code of your page. The same was true of (again from your source code):
HTML Code:
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>
The second of which (scriptaculous.js?load=effects,builder) requires effects.js and builder.js to be in the same path as scriptaculous.js. All of these files are available in the lightbox archive you should have downloaded when you first got lightbox.
If you don't have them, go back to the download page:
http://www.huddletogether.com/projects/lightbox2/
and get them (get the full archive).
If you already have them, upload them to the server to the locations indicated in your source code, or (if you have uploaded them to the server already) change the path in your source code to point to their actual locations.
Now, as I say - there could also be other problems, but without the resource files, the script has no chance of working. The other advice (given by other members in this thread) probably is not relevant though. In the case of Nilsy, if you use the version of lightbox from the link I gave, it will play nice with other onload stuff. In the case of traq, yes you can do that, but it shouldn't be required - though it may be preferable.
Bookmarks