you need to add <?php wp_enqueue_script("jquery"); ?> before <?php wp_head(); ?> so it would look like this:
<?php wp_enqueue_script("jquery"); ?>
<?php wp_head(); ?>
also, you may need to rewrite some javascript functions, just like this:
var $j = jQuery.noConflict();
$j(function(){
$j("#sidebar li a").hover(function(){
$j(this).stop().animate({
paddingLeft: "20px&"
}, 400);
}, function() {
$j(this).stop().animate({
paddingLeft: 0
}, 400);
});
});
Nema komentara:
Objavi komentar