Jquery Plugin More or Less : we are very much excited to release our first jquery plugin more or less . Using this plugin is super easy just include the jquery plugin file and jquery , Also for the effect we are using jquery easing plugin with more or less jquery plugin .
Plugin Installation : Instllation of this plugin is super easy , just include these three jquery files in your head of the page –
Plugin usage : Plugin usage of this module is also super easy . plugin comes up with some default options which can be extended as per user needs .Here is an example
★ Speed : animation speed
★ contentid : ID , where you want to add jquery plugin (DOM) (e.g div , html elements like paragraph heding anywhere ).
★ charactertoshow : How much character you want to show by default
★ effects : effects for the animation like easeOutBounce , easeInOutBack
$(document).ready(function(){
$('#switch').showhide({
speed: 2000,
contentid: "#xyz",
charactertoshow: 50,
effects: "easeOutBounce"
});
Be the first to comment.