Hi Jay,

Great script! I think that your menu has the "dancing" syndrome. I recently discovered the fix for this from Remy Sharp's post "coda bubble". Its untested, but the following should fix it, or at least, you'll get the point:

-Olivier

hideDelayTimer = null;
$(".menu a").hover(function() {
        if (hideDelayTimer) clearTimeout(hideDelayTimer);
        $("em", this).text($(this).attr("title"));
        $("em", this).not(':animated').animate({opacity: "show", left: "+20"}, 
"slow");
        $(this).not(':animated').animate({left: "+20"}, "fast");
}, function() {
        if (hideDelayTimer) clearTimeout(hideDelayTimer);
        hideDelayTimer = setTimeout(function (){
                $("em", this).animate({opacity: "hide", left: "-20"}, "slow");
                $(this).animate({left: "0"}, "fast");
        }, 250);

});     





Jay Salvat wrote:
Hi all!

I'm proud to announce you the official release of markItUp! (former
jTagEditor) and markItUp! website.
I hope everything will be ok and i forgot nothing important.

Website:
http://markitup.jaysalvat.com/

Examples:
http://markitup.jaysalvat.com/examples/

Feedbacks are welcomed!

Jay S.


Reply via email to