Click to See Complete Forum and Search --> : Layer keeps dissapearing


joah
11-03-2003, 10:03 AM
Hi!

Before you read on: I use dreamweaver. :eek: Just thought you should know.

Ok, my problem is this: I have a link that uses onMouseOver to unhide a layer. In this layer is another link. The layer has a Hide (itself) function onMouseOut. BUT, when i mouse over the link in the layer, the layer hides, even though my mouse is still within the layer boundaries.

Any suggestions?

This is the HTML that i used (I left standard DW functions out):

<body>
<p onMouseOver="MM_showHideLayers('Layer1','','show')">link A</p>
</p>
<div id="Layer1" style="position:absolute; width:105px; height:128px; z-index:1; left: 56px; top: 56px; background-color: #F9F9F9; layer-background-color: #F9F9F9; border: 1px none #000000; visibility: hidden;" onMouseOut="MM_showHideLayers('Layer1','','hide')">
<a href="#" target="_top">klklklk</a><br>
<a href="#">gjshfg</a></div>
</body>

Check it out here: http://www.joah.nl/test2/untitled3.htm

Jona
11-03-2003, 12:25 PM
<a href="page.html" onmouseover="MM_showHideLayers('Layer1','','hide');">Blah blah blah</a>


[J]ona

joah
11-03-2003, 07:04 PM
That's not the problem. The first link shows the layer just fine, also if it is a normal <a> tag. The code looks a bit odd like this -with the onMouseOver in a <p> tag- because i was changing stuff at random just to see what is causing the problem.:confused:

Jona
11-03-2003, 07:20 PM
Then what is the problem? What is it you are after?

[J]ona

joah
11-03-2003, 07:27 PM
Please follow the link from my first post. You see how the layer hides when you scroll over the (second) link that is in the layer? That's the problem. I'd like it to hide ONLY if the mouse leaves the layer completely.

Jona
11-03-2003, 07:47 PM
Looks like it's treating the A tag as if it's not inside of the Layer1 division... Hmm, I'm not really sure. I've never used any DW functions. :p

[J]ona

joah
11-03-2003, 08:05 PM
I seem to have trouble viewing the source of this page, is this me or?? I was wondering if the complete html was of any use to you. You might want to take a look at the functions?
To me that is all abracadabra kinda jibberish anyway :)

Jona
11-03-2003, 08:12 PM
No, I can see the functions, but I'm not really going to do the work of setting them up to work right, lol. I didn't create them, so it would take a few more minutes than I have available to do it. My apologies, I have been short on time lately. I misunderstood your initial question.

[J]ona

joah
11-03-2003, 08:30 PM
Ofcourse, I understand. Too bad..:mad: ;)
Hmmm, I'm starting to think my browser is acting up... Can you actually repeat the problem I'm having or could it be IE6??

Jona
11-03-2003, 08:33 PM
Nope, it works the same in Mozilla FireBird (IE is crap, by the way).

[J]ona