Hi,
I have some jquery triggers and I want to know if they run faster in my body (above </body) or in the head. Or is it faster to put it in a .js file and reference it? The triggers I'm adding are a bunch of on hover animations for my website. I tried searching for the answer on google, but could not find a definite answer.
Also, why is it that something like this can't be put in the header?
-RCode:<script> $("#wrap #content .entry-content .wp-caption").hover( function() { $(this).find('div').stop().fadeTo("800",1); $(this).find('img').stop().fadeTo("800", .8); }, function() { $(this).find('div').stop().fadeTo("200",0); $(this).find('img').stop().fadeTo("200", 1); }); </script>