I am trying to prevent the mousedown/mouseup events on the navBox from firing but it doesn't seem to be working. When you click on the navBox it still expands/contracts. What am I missing?
<b:navBox width="200px" open="false">
<e:handler event="mousedown" type="text/javascript">
event.preventDefault();
</e:handler>
<e:handler event="mouseup" type="text/javascript">
event.preventDefault();
</e:handler>
<p>Now is the time for all good men to come to the aid of their country</p>
</b:navBox>
<e:handler event="mousedown" type="text/javascript">
event.preventDefault();
</e:handler>
<e:handler event="mouseup" type="text/javascript">
event.preventDefault();
</e:handler>
<p>Now is the time for all good men to come to the aid of their country</p>
</b:navBox>
Thanks,
Chris

Re: preventDefault Not Working for NavBox
24 April, 2008 - 15:21 — Sergey>What am I missing?
You are missing an expected piece of the control's basic functionality.
I entered issue into our tracking system.
No Luck
24 April, 2008 - 15:27 — casadJust tested that in the Backbase Explorer and the navBox still opened. I also tried the code below with no luck. Any other thoughts?
<e:handler event="click" type="text/javascript">
event.stopImmediatePropagation();
</e:handler>
<e:handler event="keydown" type="text/javascript">
event.stopImmediatePropagation();
</e:handler>
<e:handler event="mousedown" type="text/javascript">
event.stopImmediatePropagation();
</e:handler>
<e:handler event="mouseup" type="text/javascript">
event.stopImmediatePropagation();
</e:handler>
<e:handler event="focus" type="text/javascript">
event.stopImmediatePropagation();
</e:handler>
<p>Now is the time for all good men to come to the aid of their country</p>
</b:navBox>
Re: Any other thoughts?
24 April, 2008 - 15:37 — SergeyYes, I figured out the problem. Unfortunately there is no workaround I can offer you now.
Sergey/