Oh, and for anyone using any of this, I've discovered that it doesn't work with IE 9 and 10. That can be fixed though. We need to update to Prototype v1.7.1 and Scriptaculous v1.9.0 and use the effects.js and builder.js files for that version, and make one small tweak to the lightbox.js file. Since Prototype and Scriptaculous and its effects and builder files are now all hosted on Google, it makes sense to use those, I will attach the updated lightbox.js file.
So on your page(s) replace:
Code:
<script src="js/prototype.js" type="text/javascript"></script>
<script src="js/scriptaculous.js?load=effects,builder" type="text/javascript"></script>
<script src="js/lightbox.js" type="text/javascript"></script>
with:
Code:
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/prototype/1.7.1.0/prototype.js"></script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/scriptaculous.js?load=effects,builder"></script>
<script src="js/lightbox.js" type="text/javascript"></script>
If testing locally you will need http: in the src attributes (live pages do not need it and should not have it):
Code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/prototype/1.7.1.0/prototype.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/scriptaculous.js?load=effects,builder"></script>
<script src="js/lightbox.js" type="text/javascript"></script>
And use this updated version of lightbox.js (right click and 'Save As'):
lightbox.js
The browser cache may need to be cleared and/or the page refreshed to see changes.
I will be updating the live demos and archives as time permits. But it might take some time, this is not a high priority project for me.
Bookmarks