For the shadows + highlights, I have several <div>s with different
background-colors, the text is an <div> with an included <span>, at the top
is a <div>, which shall catch the onmousover().
Example:
<div id="button.2.button" >
<div id="button.2.3d1" style=".."></div>
<div id="button.2.3d2" style=".."></div>
<div id="button.2.flat1 style="..""></div>
<div id="button.2.flat2" style=".."></div>
<div id="button.2.fore" style=".."></div>
<div class="buttontext" id="button.2.text" style="position:absolute;
top:3px; left:3px; width=94px; height:18px;"><span
class="button"><center>Cancel</center></span></div>
<div class="buttonhook" id="button.2" style="position:absolute; top:0px;
left:0px; width:100px; height:24px;"></div>
</div>
My problem now is, that the buttonhook shall catch all the mouse events, in
IE5.0 it worked fine.
In IE5.5, the buttontext catches mouseover an mouseout, although the
buttonhook is above it.
How can I get acting it like it was in IE5??
The example is an HTML-Desktop with calculator and notepad:
http://www.realdreams.purespace.de/jsgames/windows/windows.htm
--
<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>
Christian Weiske, RealDreams
cwe...@cweiske.de
www.cweiske.de
<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>
Did you try event.cancelBubble = true after the buttontext has handle the
event ?
--
Alban