Little validations
if you want to validate a input or select element put attribute 'required'
and to overide default message put attributr 'data-msg'
ex:<input type="text" name="username" required data-msg="Please enter username"/>
if you want to validate email put attribute 'email'
ex:<input type="text" name="email" required data-msg="Please enter a valid email "/>
Call before
Before sliding to next slide you can call a function
For this just put attribute
call-before="some_function()"
in li
Before loading this li it will call this function
function should return true if you want to slide to this li
function should return false if you dont want to slide to this li
Goto slide
If you want to goto particular li without clicking through all slides
you can call
$('#slider').gotoSlide(data-id)
you should specify a attribute in li called 'data-id' for this
<li data-id="middle_page"></li>
$('#slider').gotoSlide('middle_page')
More features are in development stage
please report bugs to
[email protected]