0

jQuery animate() Right to Left on .hover

HTML <div id=”parent”> <a href=”#”>Hover here</a> </div> CSS #parent { width:200px; } JQUERY $(‘#parent’).hover(function(){ var a =  $(this).find(‘a’).first(); a.css(‘position’, ‘relative’).animate({ left: $(this).width() – a.width() }); },function(){ $(this).find(‘a’).first().animate({ left:0 }); }); LIVE DEMO:http://jsfiddle.net/6cAYv/102/

0

Create News Tricker Plugin with Fade in Fade out effect Using Jquery

/***********************************HTML*********************************** <ul id=”ticker”> <li><q> Education, then, beyond all other devices of human origin, is the great equalizer of the conditions of men, the balance-wheel of the social machinery </q><cite>Horace Mann</cite></li> <li><q> The roots of education are bitter, but the fruit… Continue Reading