PDA

View Full Version : faid in faid out problem



reblerebel
02-08-2011, 12:56 PM
hey
I've currently got a fading tool-tip that needs to fade out completely before it can fade back in
this is annoying when you are rolling over a line of tool-tip areas
this is the code in question
i used jquery also if that helps


showbox:function($, $tooltip, e){
$tooltip.fadeIn(this.fadeinspeed)
this.positiontooltip($, $tooltip, e)
},
hidebox:function($, $tooltip){
if (!this.isdocked){
$tooltip.fadeOut(this.fadeoutspeed)
$tooltip.css({borderColor:'black'}).find('.stickystatus:eq(0)').css({background:this.stickybordercolors[0]}).html(this.stickynotice1)
}
},

would an if statement do?
thanks