Demo of Jquery Pulsate UI effects
Apply Pulsate effects by clicking the buttons
CSS
<style>
.msg{
position: absolute;
FONT-SIZE: 12px;
font-family: Verdana;
padding:10px;
width:350px;
height: 100px;
background-color: #f1f1f1;
}
</style>
HTML
<input type=button id=b1 value='Pulsate 5000ms'>
<input type=button id=b2 value='Pulsate fast'>
<input type=button id=b3 value='Pulsate slow'>
<input type=button id=b4 value='Pulsate Default'>
<input type=button id=b5 value='Pulsate Times ( 3 )'>
jquery
<script>
$(document).ready(function() {
$('#b1').click(function(){
$( "#d1" ).effect( "pulsate",5000,function(){
alert('This alert is created by using callback function once the effect is over');
} );
})
/////////
////////////////////
$('#b2').click(function(){
$( "#d1" ).effect( "pulsate",'fast' );
})
$('#b3').click(function(){
$( "#d1" ).effect( "pulsate",'slow' );
})
$('#b4').click(function(){
$( "#d1" ).effect( "pulsate");
})
$('#b5').click(function(){
$( "#d1" ).effect( "pulsate",{times:3},'slow');
})
})
</script>