Hi. I was wondering if someone here could help me. My web site has a very simple folder tree menu bar. Example:
<a id="club_t" href="##" onclick="return Outline(this)"> <img id="club_i" alt="" border="0" src="fold.gif"> Club Links </a><br>
<div id="club_s" class="off">
<a href="articles. htm" target="main">A rticles/Cartoons</a><br>
<a href="photo1.ht m" target="main">A stro Image s</a><br>
<a href="links.htm " target="main">A stro Links </a><br>
<a href="events.ht m" target="main">C lub Events </a><br>
<a href="photo2.ht m" target="main">C lub Images </a><br>
<a href="custom.ht m" target="main">C ustom Link s</a><br>
<a href="membershi p.htm" target="main">M embership</a><br>
</div>
In the style sheet, class.off is hidden, class.on is visible. Each id indicates the <a>, <img>, or <div>. The user clicks <a>: If the folder is closed, it is opened, Outline() changes <img src="open.gif"> and <div class="on">. If the user clicks <a> again, everything is reversed.
I want to make a modification. For certain folders, when the user moves the mouse cursor over the <a>, I want the folder to open. But I don't want to folder to close until the mouse cursor is not only off the <a>, but also off the <div> (or clicked a link within the <div>).
I've tried to look at other navigation menu bars, but can't figure out how they do it. Any advice would be greatly appreciated...D ennis
<a id="club_t" href="##" onclick="return Outline(this)"> <img id="club_i" alt="" border="0" src="fold.gif"> Club Links </a><br>
<div id="club_s" class="off">
<a href="articles. htm" target="main">A rticles/Cartoons</a><br>
<a href="photo1.ht m" target="main">A stro Image s</a><br>
<a href="links.htm " target="main">A stro Links </a><br>
<a href="events.ht m" target="main">C lub Events </a><br>
<a href="photo2.ht m" target="main">C lub Images </a><br>
<a href="custom.ht m" target="main">C ustom Link s</a><br>
<a href="membershi p.htm" target="main">M embership</a><br>
</div>
In the style sheet, class.off is hidden, class.on is visible. Each id indicates the <a>, <img>, or <div>. The user clicks <a>: If the folder is closed, it is opened, Outline() changes <img src="open.gif"> and <div class="on">. If the user clicks <a> again, everything is reversed.
I want to make a modification. For certain folders, when the user moves the mouse cursor over the <a>, I want the folder to open. But I don't want to folder to close until the mouse cursor is not only off the <a>, but also off the <div> (or clicked a link within the <div>).
I've tried to look at other navigation menu bars, but can't figure out how they do it. Any advice would be greatly appreciated...D ennis
Comment