Why jQuery doesn’t work as it should?
-
Hi!
I have some custom jQuery functions in my blog, to run them, I need to include standard jQuery library. Why the library, which comes with WordPress doesn’t run these standard functions?
here are some examples of my functions:
<script type="text/javascript"> $(function(){ $('#show').click(function() { $('#sidebar').slideToggle('slow'); $('#top').slideToggle('slow'); $("#front-list").animate({ width:"590px" }, 1500 ); $("#content").animate({ width:"590px" }, 1500 ); $('#show').hide(); $('#hide').show(); }); $('#nav_rakstu').mouseover(function(){ $('.post-ratings').append("<span class='post-ratings-text'><br />Blaa blaa</span>"); }); $('#nav_rakstu').mouseout(function(){ $('.post-ratings-text').remove(); }); }); </script>
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Why jQuery doesn’t work as it should?’ is closed to new replies.