Re: Updated html/css

From: Date: Tue, 15 Dec 2009 09:07:57 +0000
Subject: Re: Updated html/css
References: 1 2 3 4 5 6 7 8 9 10 11 12  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-6738@lists.php.net to get a copy of this message
On 14-Dec-09, at 3:14 PM, Burka Daniel wrote:
I was more thinking maybe a slight delay (i.e., the mouse has to be ...
A slight delay (a la Netflix's bubble-on-hover) would likely solve the problem and should be easy enough.
Hi guys, I've updated the demo to use jQuery and a nice little plugin called "hoverIntent" to provide the delay: http://ambitious.ca/php/demo The code works out to be rather small: // fade in/out mega drop-downs. $(document).ready(function() {
    $("#headmenu li:has(div.children)").hoverIntent({
        timeout:    500,
        over:       function(){$(this).find("div.children").fadeIn(250);},
        out:        function(){$(this).find("div.children").fadeOut(250);}
    });
}); BTW, I am linking to Google's CDN version of jQuery. Not sure if this is what we want to be doing or not, but it seemed sensible to me.
On Mon, Dec 14, 2009 at 23:44, Paul Dragoonis <dragoonis@gmail.com> wrote:
The Colors are smooth and relaxing.
Thanks Paul, glad you like it! Stew

« previous php.webmaster (#6738) next »