/ Published in: JavaScript
Expand |
Embed | Plain Text
var $j = jQuery.noConflict(); $j(function(){ //your jquery .ready magic here! $j("#sidebar li a").hover(function(){ $j(this).stop().animate({ paddingLeft: "20px&" }, 400); }, function() { $j(this).stop().animate({ paddingLeft: 0 }, 400); }); }); //the $j can be anything really /* Alternately you can use */ jQuery.noConflict(); jQuery(document).ready(function($) { // $() will work as an alias for jQuery() inside of this function });
You need to login to post a comment.
