| Zoom with Shadowbox Effect |
|
|
|
|
Written by myOltrans
Tuesday, 16 June 2009 16:08
Last Updated on Sunday, 05 July 2009 07:12
Shadowbox is a cross-browser, cross-platform, cleanly-coded and fully-documented media viewer application written entirely in JavaScript. Using Shadowbox, website authors can display a wide assortment of media in all major browsers without navigating away from the linking page. Download: NinjaForge Demo: You can show images, flash files, webpages, hidden inline content. Example for hidden Inline Content You will need to add the width and height options to the rel attribute. The link refers to content in a 'div' within this page with a style of 'display: none'. The code: <a rel="shadowbox;width=500;height=200" title="" href="/index.html#inline-sample">Hidden Inline Content</a> This example is take from Shadowbox.js Sandpit. There are other useful examples. Show several images in one gallery: rel="shadowbox[galery1];height=1000;width=500;" Show the content from one gallery in slideshow. Add options={slideshowDelay:5};. Example: rel="shadowbox[galery1];options={slideshowDelay:5};height=1000;width=500;"
|



