View Single Post
Old 03-08-2013, 03:34 PM   PM User | #4
harbingerOTV
Senior Coder

 
Join Date: Jan 2005
Location: Memphis, TN
Posts: 1,765
Thanks: 8
Thanked 123 Times in 121 Posts
harbingerOTV will become famous soon enough
Remove the background from the LI and give it to the SPAN.

Code:
ul#sections li#who a span {
    background: url("../_img/AboutBox_image.png")top left no-repeat;
    position: absolute; 
    width: 100%; 
    height: 100%; 
    top: 0; 
    left: 0;
}
then (untested but close if not) :

Code:
			jQuery('ul#sections li#who a').hover(function() {
				jQuery('span', this).stop().animate({
					top : '-182px'
				}, {queue:false,duration:600,easing:'easeInOutQuint'});
				}, function(){
					jQuery('span', this).stop().animate({
					top : '0px'
					}, {queue:false,duration:850});
			});
__________________
Stop making things so hard on yourself.
i is tugbucket :: help raise tugburg :: Whitehaven Kiwanis
harbingerOTV is offline   Reply With Quote