Thanks for any help!
Sean
========================================================
<ul>
<li onclick="toggle('custom', this);">
<a href="yep.asp">Custom Info</a></li>
<div id="custom" style="display:none;">
<ul>
<li onclick="toggle('custom2', this);">
<a href="/adm/custom_ticket_templates.asp">Tickets</a></li>
<div id="custom2" style="display:none;">
<ul>
<li>
Something
</li>
</ul>
</div>
<li>
<a href="/adm/custom_registration.asp">Registration</a>
</li>
</ul>
</div>
</ul>
<script ="JavaScript">
<!--
function toggle( targetId, x ){
target = document.all( targetId );
if (target.style.display == "none"){
target.style.display = "";
x.style.listStyleImage='url(/graphics/minus.gif)';
} else {
target.style.display = "none";
x.style.listStyleImage='url(/graphics/plus.gif)';
}
}
file://-->
</script>
window.event.cancelBubble = true;
as the first line in your function. That keeps the event from bubbling up
to the parent.
hope this helps.
dq
"Sean Dolan" <se...@kewi.net> wrote in message
news:eNh4REMhAHA.844@tkmsftngp05...