[cvs] commit: ansel/js lightbox.js ansel/js/src lightbox.js
Michael Rubinsky
mike at theupstairsroom.com
Tue May 27 15:16:11 UTC 2008
mrubinsk 2008-05-27 11:16:11 EDT
Modified files:
js lightbox.js
js/src lightbox.js
Log:
Hack lightbox.js around again...this time add support for "direct image linking"
where a url with the imageId as as a anchor fragment / hash:
ansel/gallery/gallery_slug#imageId
causes the lightbox to display with that image on page load.
Needed to change some things in lightbox for this to work. I still see
some places where lightbox can be optimized, but this gets it going :)
Revision Changes Path
1.6 +1 -1 ansel/js/lightbox.js
1.6 +31 -39 ansel/js/src/lightbox.js
Chora Links:
http://cvs.horde.org/diff.php/ansel/js/lightbox.js?r1=1.5&r2=1.6&ty=u
http://cvs.horde.org/diff.php/ansel/js/src/lightbox.js?r1=1.5&r2=1.6&ty=u
More information about the cvs
mailing list