D
datvong
IE does not change the cursor immediately after a style.cursor is
set. In the following sample, I have 2 divs, one inside another. The
inner has a cursor of crosshair, outer a hand.
If I click on the inner div, causing it to disappear, the mouse would
be over the outer div, but the cursor is still a crosshair. The
cursor will change to the correct cursor when I move the mouse.
<div style='cursor:hand;width:300;height:300'>
<div id='inner' style='cursor:crosshair;width:300;height:50'
onclick="this.style.display='none'">
Click to make this div disappear
</div>
</div>
Is there any way to force the cursor to change? On work-around is
doing a resizeBy(-1,0); resizeBy(1,0), but that is impractical for my
application.
Thansk,
Dat.
set. In the following sample, I have 2 divs, one inside another. The
inner has a cursor of crosshair, outer a hand.
If I click on the inner div, causing it to disappear, the mouse would
be over the outer div, but the cursor is still a crosshair. The
cursor will change to the correct cursor when I move the mouse.
<div style='cursor:hand;width:300;height:300'>
<div id='inner' style='cursor:crosshair;width:300;height:50'
onclick="this.style.display='none'">
Click to make this div disappear
</div>
</div>
Is there any way to force the cursor to change? On work-around is
doing a resizeBy(-1,0); resizeBy(1,0), but that is impractical for my
application.
Thansk,
Dat.