|
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_html.js
Contains the Virtual.HTML and Virtual.HTML.single Classes to create customizable and flexible light boxes of static HTML content Contains Class Virtual.HTML, Class Virtual.HTML.single Requires Summary
Custom Class to create html virtual boxes.Applies the virtual html effect to each link which has 'virtualhtml' as value of the classname property. Extends Virtual Constructor new Virtual.HTML (options) Properties
Options
Note You can set the dimensions of the virtual box and the contents of the caption by setting the title property of each link in this way:'width :: height :: title :: content', where the separator is the ' :: ' string Example // applies the virtual html effect to each link which has 'virtualajax' as value of the classname property var virtual = new Virtual.HTML({ enable: { arrows: false, caption: false }, effect: 'open', style: false, contents: ['<p>Simple Vitual.HTML</p>', '<div><b>More Complex <i>Virtual.HTML</i></b></div>'] }); // the HTML <a href="#" class="virtualhtml" title="460 :: 340">static content</a> Custom Class to create single virtual html boxes. Applies the virtual html effect to the given link. Extends Virtual.HTML Implements Virtual.single Constructor new Virtual.HTML.single (element, options) Properties
Options
Example // applies the virtual html effect to the 'myElement' link var virtual = new Virtual.HTML.single('myElement', { style: false effect: 'open', content: '<div><b>More Complex <i>Virtual.HTML</i></b></div>' }); // the HTML <a id="myElement" href="#" title="460 :: 340">static content</a>
Documentation By
Riccardo Degni -
powered by MakeDocs, CMS by RD |