topical media & game development
#javascript-code-16-toggle.js / js
// Hide the next link if we're at the end of the slideshow
if ( !next(cur) )
hide( id("gallery_next") );
// Otherwise, make sure that it's visible
else
show( id("gallery_next") );
// Hide the previous link if we're at the start of the slideshow
if ( !prev(cur) )
hide( id("gallery_prev") );
// Otherwise, we need to be sure that it's visible
else
show( id("gallery_prev") );
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.