ScriptyLightbox

Part of: Ajax Actions

Versions

Pro Only

Description

A lightbox effect that works with Scriptaculous, and can easily handle nearly any type of content you can throw at it.

Works with QuickTime, Flash, Windows Media, all Web image types, and more. Even works with forms and other HTML pages.

To use, apply the Action to an HTML item that contains links to the content you wish to show in the lightbox. (For an easy lightbox of photos, draw an HTML box and apply the Action to it. Insert inline graphic boxes for your thumbnail images, then apply the built-in Graphic Link to File Action to each thumbnail image to create the link and upload the large image in one step.)

Links may also be regular text links — there’s no requirement to use images as your trigger. You may also apply the Action directly to an image (if that image has a link applied to it).

QuickTime and Flash

QuickTime and Flash need a little extra help. The Lightbox window needs to know what size to make itself when it opens, but QuickTime and Flash don’t communicate their dimensions until they are loaded into the browser — so it’s a Catch-22. In the Actions palette, you can set the dimensions for these content types by entering the largest width and height, and checking the Controller checkbox if you need to add height for the QuickTime controller.


Register or log in to view or add comments.

FreewayTalk

Join the friendliest community on the Net at FreewayTalk. Ask and answer questions about Softpress Freeway, or just gather around the virtual water cooler!