Closed
Bug 106113
Opened 23 years ago
Closed 23 years ago
window.status not functioning correctly when placed within a function
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
People
(Reporter: mattsch, Assigned: jst)
References
()
Details
Attachments
(1 file)
797 bytes,
text/html
|
Details |
Below is an example of the problem code. This workaround allows the onMouseOver
status change to work correctly but when commenting out the 4th line of the
function and enabling the 1st line of the function, the status change fails. I
am using Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.5) Gecko/20011011
<script language="Javascript">
<!--
function changeStatus(statusValue){
//window.status = "Select seat " + seatNum;
//Above is the line of code that should work correctly but does not
//Below is a bug workaround for the above code in Mozilla and MSIE 5.x
window.setTimeout('window.status="Change Status ' + statusValue + '"', 1);
return true;
}
//-->
</script>
<img src="/images/some_image.gif" width="100" height="100" usemap="#imageMap"
border="0">
<map name="imageMap">
<area shape="rect" coords="659,177,740,206" onMouseOver="changeStatus(2);return
true;" href="javascript://">
</map>
Comment 1•23 years ago
|
||
Browser, not Rhino! Reassigning to DOM Level 0 under Browser product -
Assignee: nboyd → jst
Component: Core → DOM Level 0
Product: Rhino → Browser
QA Contact: pschwartau → amar
Comment 2•23 years ago
|
||
Reporter | ||
Comment 3•23 years ago
|
||
Here's code to adjust the image map so you can mouseover the mozilla.org area
on the banner for testing.
<img src="/images/mozilla-banner.gif" width="600" height="58" usemap="#imageMap"
border="0">
<map name="imageMap">
<area shape="rect" coords="296,11,560,47" onMouseOver="changeStatus(2);return
true;" href="javascript://">
</map>
Comment 4•23 years ago
|
||
*** This bug has been marked as a duplicate of 99009 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•