Web Design Web Design Forum
Registration is free! Here you can view your subscribed threads, work with private messages and edit your profile and preferences Calendar Find other members Frequently Asked Questions Search
Home Web Design

Convenient web based access to our favorite web design Usenet groups

web design reviews

This is Interesting: Free Magazines for Graphics designers and webmasters  





  Last Thread  Next Thread
Author
Thread Post New Thread   

Help with onmouseout and layers, please.
 

Sugapablo




quote this post edit post

IP Loged report this post

Old Post  12-09-05 - 11:50 PM  
I have a DIV that becomes visible when a link above it is moused over.

The DIV has links in it like so:

<div class="popup" onmouseout="hideLayer(this);">
<a class="popuplink" href="page1.html">Link 1</a><br/>
<a class="popuplink" href="page2.html">Link 2</a><br/>
<a class="popuplink" href="page3.html">Link 3</a><br/>
<a class="popuplink" href="page4.html">Link 4</a><br/>
</div>

When you mouse out of the div, it goes back into hidden.  But as soon as I
touch any of the links, it hides, thinking I've left the DIV.

Now, I'm assuming this is a z-index layer issue, but I've tried every
combination of things I could think of to prevent the mouseout action when
mouseing over one of the links.

I tried setting div.popup's z-index higher than a.popuplink's, lower than
a.popuplinks, and the same as.  (I did set each to a position as well.)

What am I missing?

--
Sugapablo
http://www.sugapablo.net



Post Follow-Up to this message ]
Re: Help with onmouseout and layers, please.
 

Pawel Knapik




quote this post edit post

IP Loged report this post

Old Post  12-13-05 - 03:33 AM  
Sugapablo napisaƂ(a):
> I have a DIV that becomes visible when a link above it is moused over.
>
> The DIV has links in it like so:
>
> <div class="popup" onmouseout="hideLayer(this);">
> 	<a class="popuplink" href="page1.html">Link 1</a><br/>
...
>
> When you mouse out of the div, it goes back into hidden.  But as soon as I
> touch any of the links, it hides, thinking I've left the DIV.

It's related to JS, not CSS so not for this group. I think
this may help you:
http://www.quirksmode.org/js/events_order.html


Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 03:29 PM. Post New Thread   
  Previous Last Thread   Next Thread next
Stylesheets archive | Show Printable Version | Email this Page | Subscribe to this Thread

Popular forums

Adobe Photoshop forum Macromedia Flash Web Site Design
Dreamweaver FrontPage forum
JavaScript Forum XML forum
Style Sheets VRML
Forum Jump:
Rate This Thread:

 

XML RSS Feed web design latest articles Syndicate our forum via XML or simple JavaScript

Web Design archive  Database administration help  


Top Home  -  Register  -  Control Panel   -  Memberlist  -  Calendar  -  Faq  -  Search Top