[jQuery] Specifying when the document.ready runs

2009-12-17 Thread stevescotthome
I've got a component which runs some jQuery document.ready functions on a radiobutton list Now I need to run some of my own custom jQuery ON TOP of that code (after it runs)... Is there anyway to specify that I want my document.ready to run after its?

[jQuery] backgroundPosition animation only works horizontal?

2009-12-19 Thread stevescotthome
I have a background sprite that I want to animate vertical on hover, but it "pops" in vertically...but if I change it to horizontal it all works fine...is there something Im doing wrong? WORKS $(".I1").hover(function () { $(this).animate({backgroundPosition: '0px -10px'},