|
CORE
NATIVE
TABLE
MAKE
CUSTOMIZE
EFFECTS
effects_base.js
effects_morph.js
effects_fade.js
effects_move.js
effects_extra.js
effects_toggle.js
effects_cycle.js
effects_cycles.js
VIRTUAL BOX
PLUG-IN
|
virtual_box.js
Contains the Virtual.Box and Virtual.Box.single Classes to create customizable and flexible light boxes of images Contains Class Virtual.Box, Class Virtual.Box.single Requires Summary
Custom Class to create virtual boxes.Applies the virtual box effect to each link which has 'virtualbox' as value of the classname property. Extends Virtual Constructor new Virtual.Box (options) Properties
Options
Note You can set the contents of the caption by setting the title property of each link in this way:'title :: content', where the separator is the ' :: ' string Example // applies the virtual box effect to each link which has 'virtualbox' as value of the classname property var virtual = new Virtual.Box({ enable: { arrows: true, closeButton: true }, effect: 'open', leftArrowText: '', rightArrowText: '', closeButtonText: '', captionOpacity: 0.6 } }); // the HTML <a href="flowers.jpg" class="virtualbox" title="My flowers">image 1</a> Custom Class to create single virtual boxes. Applies the virtual box effect to the given link. Extends Virtual.Box Implements Virtual.single Constructor new Virtual.Box.single (element, options) Properties
Options
Example // applies the virtual box effect to the 'myElement' link var virtual = new Virtual.Box.single('myElement', { captionOpacity: 0.4, effect: 'fix' }); // the HTML <a id="myElement" href="/my_imge.jpg" title="My Image :: One of the my collection of images">static content</a>
Documentation By
Riccardo Degni -
powered by MakeDocs, CMS by RD |