Example 1:
Title Header
But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but because occasionally circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences, or one who avoids a pain that produces no resultant pleasure?
But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but because occasionally circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences, or one who avoids a pain that produces no resultant pleasure?
But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but because occasionally circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences, or one who avoids a pain that produces no resultant pleasure?
Code:
<p>
<a class="button swatch3-bg vmodal" href="#mymodalA">Open Modal</a>
</p>
<div id="mymodalA" class="vmodal vbounceIa vani vani-d2 vani-d2- vmod-div swatch5-bg vpad-10 vl" data-vsettings="autoOpen: 1s,autoClose:3s,autoInterval:10s">
<div class="hvs-close vaxx"></div>
<div class="vrow vflo-c">
<div class="vl-12 vcol vflo-c">
<h3>Title Header</h3>
<p>But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful. Nor again is there anyone who loves or pursues or desires to obtain pain of itself, because it is pain, but because occasionally circumstances occur in which toil and pain can procure him some great pleasure. To take a trivial example, which of us ever undertakes laborious physical exercise, except to obtain some advantage from it? But who has any right to find fault with a man who chooses to enjoy a pleasure that has no annoying consequences, or one who avoids a pain that produces no resultant pleasure?</p>
<p>
<label for="hvs-once">
<input id="hvs-once" class="vmar-r5 vver-am" type="checkbox" value="60d">Don't show this again
</label>
</p>
</div>
</div>
</div>Example 2 (Youtube):
Code:
<p>
<a class="button swatch3-bg vmodal" href="https://www.youtube.com/embed/f6mJ7e5YmnE?rel=0&showinfo=0&start=10&autoplay=1">YouTube Modal</a>
</p>Example 3 (Vimeo):
Code:
<p>
<a class="button swatch3-bg vmodal" href="https://player.vimeo.com/video/206624011?autoplay=1&color=ffce00">Vimeo Modal</a>
</p>Example 4 (Google Maps):
Code:
<p>
<a class="button swatch3-bg vmodal" href="https://www.google.com/maps/embed/v1/place?key=AIzaSyBM-6MyS_i_ZIiC5Qvuh9E-4pZIzPTFr8k&q=555+N+Street,+West+Covina,+CA+91792&zoom=14">Google Map Modal</a>
</p>
Example 1:
Get Min Height
Apply Min Height
Code:
<div class="vrow">
<div class="vl-6 vm-6 vs-6 vcol">
<div id="sizeA" class="swatch3-dark-bg">
<p class="swatch3-bg vpad-10 vmar-0" style="height:200px">Get Min Height</p>
</div>
</div>
<div class="vl-6 vm-6 vs-6 vcol">
<div class="swatch3-dark-bg vsize" data-vsize="min_height:#sizeA">
<p class="swatch3-bg vpad-10">Apply Min Height</p>
</div>
</div>
</div>Example 2:
Get (Height + 100) & (Max Height)
Apply (Height - 50) & (Max Height)
Code:
<div class="vrow">
<div class="vl-6 vm-6 vs-6 vcol">
<div id="sizeB" class="swatch3-dark-bg">
<p class="swatch3-bg vpad-10 vmar-0" style="height:300px">Get (Height + 100) & (Max Height)</p>
</div>
</div>
<div class="vl-6 vm-6 vs-6 vcol">
<div class="swatch3-dark-bg vsize" data-vsize="height:#sizeB,100;max_height:#sizeB" data-vsize-="height:50">
<p class="swatch3-bg vpad-10">Apply (Height - 50) & (Max Height)</p>
</div>
</div>
</div>
Example 1:
Cue on scroll
Cue on scroll
Cue on scroll
Cue on scroll
Code:
<div class="vcue swatch3-bg vani vopa-0" style="margin-bottom:50px;height:100px" data-vsettings="delay:0,tween:vfadeIaRa">
<p class="vpad-10">Cue on scroll</p>
</div>
<div class="vcue swatch3-bg vani vopa-0" style="margin-bottom:100px;height:50px" data-vsettings="delay:0,tween:vfadeIaLa">
<p class="vpad-10">Cue on scroll</p>
</div>
<div class="vcue swatch3-bg vani vopa-0" style="margin-bottom:50px;height:100px" data-vsettings="delay:0,tween:vfadeIaRa">
<p class="vpad-10">Cue on scroll</p>
</div>
<div class="vcue swatch3-bg vani vopa-0" style="margin-bottom:100px;height:50px" data-vsettings="delay:0,tween:vfadeIaLa">
<p class="vpad-10">Cue on scroll</p>
</div>Example 2 (Stagger):
Cue on scroll
Cue on scroll
Cue on scroll
Cue on scroll
Cue on scroll
Cue on scroll
Code:
<ul class="vcue swatch3-bg" data-vsettings="stagger:110,delay:0,tween:vfadeIaRa">
<li class="vani vopa-0">
<p class="vpad-10">Cue on scroll</p>
</li>
<li class="vani vopa-0">
<p class="vpad-10">Cue on scroll</p>
</li>
<li class="vani vopa-0">
<p class="vpad-10">Cue on scroll</p>
</li>
<li class="vani vopa-0">
<p class="vpad-10">Cue on scroll</p>
</li>
<li class="vani vopa-0">
<p class="vpad-10">Cue on scroll</p>
</li>
<li class="vani vopa-0">
<p class="vpad-10">Cue on scroll</p>
</li>
</ul>
Example 1:
Trigger on "click".
Code:
<p id="scrollA" class="swatch3-bg">Trigger on "click".</p>
<a class="button" href="#" data-vfn="e:click,f:scrollTo,a:spring,s:#scrollA">scrollTo</a>Example 2:
Trigger on "click".
Code:
<p id="triggerA" class="active swatch3-bg">Trigger on "click".</p>
<a class="button" href="#" data-vfn="e:click,f:toggleClass,a:swatch3-bg,s:#triggerA">toggleClass</a>Example 3:
Trigger on "mouseover".
Code:
<p id="triggerB" class="active swatch3-bg">Trigger on "mouseover".</p>
<a class="button" href="#" data-vfn="e:mouseover,f:toggleClass,a:swatch3-bg,s:#triggerB">toggleClass</a>Example 3 (b):
Trigger on "mouseover" | Trigger on "mouseout"
Code:
<p id="triggerB" class="active swatch3-bg">Trigger on "mouseover" | Trigger on "mouseout"</p>
<a class="button" href="#" data-vfn="e:mouseover,f:removeClass,a:swatch3-bg,s:#triggerB2;e:mouseout,f:addClass,a:swatch3-bg,s:#triggerB2">toggleClass</a>Example 4:
Trigger on "click".
Code:
<p id="triggerC" class="active swatch3-bg">Trigger on "click".</p>
<a id="triggerAdd" href="#" data-vfn="e:click,f:addClass,a:swatch3-bg,s:#triggerC">addClass</a>
<a href="#" data-vfn="e:click,f:removeClass,a:swatch3-bg,s:#triggerC;e:click,f:removeClass,a:active,s:#triggerAdd">removeClass</a>