Reply
hiding a nested div with mouseOut
Old 04-10-2008, 04:25 PM hiding a nested div with mouseOut
Super Talker

Posts: 107
Hey all,

I'm trying to build a custom select dialog box. Without getting into all the styling, it's basically a set of nested divs. Here's the pseudo code below...

<div id="customSearchBoxContainer">
<div id="inputBoxWithGraphic">
<input type="text"><img src="arrowdown onclick="showListToSave()">
</div>
<input type="button" value="Save Search">

<div id="listToSave" onmouseout="hideThisDiv()";>
<ul>
<li>Item One</li>
<li>Item One</li>
</ul>
</div>
</div>

Yet when I do the mouseout, it doesn't do it over the "listToSave" div but it seems like the very top one.

I scoured the web for hours and it seems it's a bubbling issue. But I can't find any solution.

Could anyone help me?

Thanks
Donna
DonnaZ is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 04-12-2008, 05:26 AM Re: hiding a nested div with mouseOut
chrishirst's Avatar
Super Moderator

Posts: 11,748
Location: Blackpool. UK
And the javascript code would be?

better still a URL with ALL the code.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 04-15-2008, 04:03 AM Re: hiding a nested div with mouseOut
Experienced Talker

Latest Blog Post:
Long time no … erm post?
Posts: 45
Name: Matthew Bagley
DIV isn't like most tags, basicly it is a block element in the fact that it wont wrap around items (unless you tell it to) but the mouse over effects wont work in the whole box, if you moved the mouse over the text then off again you would see it vanish (this is basicly what I mean)

there are a number of things you can do but we really need to see the code first of all to see if any of the methods would be suitable for your application
__________________
Matthew Bagley
Paramiliar Design Studios
Who am I | Free Layouts |Website Development | UK SEO
Paramiliar is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to hiding a nested div with mouseOut
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12184 seconds with 13 queries