Hey everybody!!
Been teaching myself some jQuery as I go along. My wordpress theme has a bunch of jQuery stuff but the format and syntax seems a little different to the stuff i see here and elsewhere online. And some of the examples i try out in the format that my wordpress site's scripts file uses doesn't work.
My wordpress scripts file has this general format:
<script type="text/javascript">
jQuery(window).load(function(){
jQuery('#footer-content').masonry({ columnWidth: 305, animate: true });
...etc...
});
</script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.1/jquery-ui.min.js"></script>
<script type="text/javascript">
jQuery.noConflict();
jQuery('.readmore').hide();
jQuery(".entry").hoverIntent({over: makeTall,timeout: 100,out: makeShort });
function makeTall(){
jQuery(this).addClass('active').css('z-index','7').find('.entry-content .readmore').slideDown(100);;
jQuery('.entry').not(this).animate({opacity:0.3},100);
}
....etc....
</script>
....I don't see a document ready bit and it seems like jQuery is used in place of $? What's going on and how should i use the examples that i see online?
Really appreciate your help :)
alex