need help in jquery.noconflict
-
<script type='text/javascript' src='wp-includes/js/jquery/jquery.js?ver=1.4.2'></script> <script type="text/javascript"> jQuery(function (){ jQuery(document).ready(function(){ <?php if ($facebook=="on"){ ?>jQuery("#facebook_<?php echo $facebook_position; ?>").hover(function(){jQuery(this).stop(true,false).animate({<?php echo $facebook_position; ?>: 0}, 500); },function(){jQuery("#facebook_<?php echo $facebook_position; ?>").stop(true,false).animate({<?php echo $facebook_position; ?>: -200}, 500); });<?php } ?> <?php if ($twitter=="on"){ ?>jQuery("#twitter_<?php echo $twitter_position; ?>").hover(function(){ jQuery(this).stop(true,false).animate({<?php echo $twitter_position; ?>: 0}, 500); },function(){ jQuery("#twitter_<?php echo $twitter_position; ?>").stop(true,false).animate({<?php echo $twitter_position; ?>: -250}, 500); }); <?php } ?> <?php if ($googleplus=="on"){ ?>jQuery("#google_plus_<?php echo $googleplus_position; ?>").hover(function(){ jQuery(this).stop(true,false).animate({<?php echo $googleplus_position; ?>: 0}, 500); },function(){ jQuery("#google_plus_<?php echo $googleplus_position; ?>").stop(true,false).animate({<?php echo $googleplus_position; ?>: -303}, 500); });<?php } ?> <?php if ($feedburner=="on"){ ?>jQuery("#feedburner_<?php echo $feedburner_position; ?>").hover(function(){ jQuery(this).stop(true,false).animate({<?php echo $feedburner_position; ?>: 0}, 500); },function(){ jQuery("#feedburner_<?php echo $feedburner_position; ?>").stop(true,false).animate({<?php echo $feedburner_position; ?>: -303}, 500); });<?php } ?> <?php if ($kakinetwork=="on"){ ?>jQuery("#kakinetwork_<?php echo $kakinetwork_position; ?>").hover(function(){ jQuery(this).stop(true,false).animate({<?php echo $kakinetwork_position; ?>: 0}, 500); },function(){ jQuery("#kakinetwork_<?php echo $kakinetwork_position; ?>").stop(true,false).animate({<?php echo $kakinetwork_position; ?>: -303}, 500); });<?php } ?> });}); </script>
can someone help me how to make jquery.noconflict on this code? I tried, but fail..
- The topic ‘need help in jquery.noconflict’ is closed to new replies.