Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Date: Sun, 07 Oct 2012 15:40:37 +0200 From: Luuk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 Newsgroups: comp.lang.javascript Subject: Re: Persistent onmouseout/hover References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Lines: 31 NNTP-Posting-Host: 2001:980:9089:1:bda9:f0c5:e2ed:a453 X-Trace: 1349617801 news.xs4all.nl 6939 [2001:980:9089:1:bda9:f0c5:e2ed:a453]:34079 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.javascript:16447 On 07-10-2012 13:25, joe wrote: > I have a sidebarmenu vertical menu. When mouse is over a selection the selection > changes color. When mouse leaves the selection the color changes back to default > immeadiately. > > I'd like the selecttion color to stay a bit longer on the screen when mouse moves > out (ie onmouseleave). How do I do that? > something like this (sorry for the linenumers ;): 1 2 3 onmouseout 4 15 16 17 testlink
18 19