Click to See Complete Forum and Search --> : How to: Gallery Pop Up Layer?? (from apple.com site)


Twilite Kid 82
06-13-2007, 11:40 PM
http://www.apple.com/macosx/leopard/features/frontrow.html

on this site, if you click an image in the gallery.. it opens the corresponding picture in a nice smooth pop up..

anyone know how to code this?

NogDog
06-13-2007, 11:47 PM
A little poking around at the page source, and I would guess most/all of it is done in this JavasScript file: http://www.apple.com/macosx/leopard/scripts/gallery.js

Twilite Kid 82
06-13-2007, 11:55 PM
yep, your right, now how do I get that JS to activate when I click a link?

JPnyc
06-14-2007, 08:41 AM
Here you go
http://www.w3schools.com/js/tryit.asp?filename=tryjs_function1

bogu
06-14-2007, 09:38 AM
Lightbox is a nice js library ....

Twilite Kid 82
06-14-2007, 12:02 PM
thanks :)