Preview
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s
$('.contentWrap').liteSlider({
content : '.content'
});
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s
$('.contentWrap').liteSlider({
content : '.content'
});
Lorem Ipsum
Lorem Ipsum is simply dummy text of the
printing and typesetting industry.
- List 1
- List 2
- List 3
Heading 2
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
$('.contentWrap').liteSlider({
content : '.content', // The panel selector. Can be a list also. eg:li
width : 760, // Width of the slider
height : 300, // Height of the slider
autoplay : true, // Autoplay the slider. Values, true & false
delay : 3, // Transition Delay. Default 3s
buttonsClass : 'buttons', // Button's class
activeClass : 'active', // Active class
controlBt : '.control', // Control button selector
playText : 'Play', // Play text
pauseText : 'Stop' // Stop text
});
<!-- Add the plugin to the element of class "contentWrap" and the property "content" to the element of class "content" --> <div class="contentWrap"> <div class="content"> Content 1 </div> <div class="content"> Content 2 </div> <div class="content"> Content 3 </div> <div class="content"> Content 4 </div> </div> <!-- or add it to a list --> <ul class="contentWrap"> <li>Content 1</li> <li>Content 2</li> <li>Content 3</li> <li>Content 4</li> </ul> <!-- Here "content" property is the element "li" -->
/** CSS is optional, but can be used for button styling. The above preview uses this CSS **/
.buttons, .control{
background: #000000;
padding: 3px 10px;
margin: 5px;
line-height: 0px;
color: #FFFFFF;
text-decoration: none;
}
.active{
background: #00CC66;
color: #00FF00;
}
.buttons:hover, .control:hover{
background: #0099FF;
}
