alphamn
asked on
html code for Mozilla firefox
I have written the following code on the OnbeforeunLoad event of body
<HTML>
:
:
:
<script language =javascript>
function performTask()
{
alert(event.clientY);
}
</script>
:
:
<body onbeforeUnLoad="javascript :performTa sk()">
:
:
:
:
</body>
</HTML>
the code works well with IE but doesn't work with Mozilla firefox (Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1)
thanks in advance if any one can provide me with the solution...
<HTML>
:
:
:
<script language =javascript>
function performTask()
{
alert(event.clientY);
}
</script>
:
:
<body onbeforeUnLoad="javascript
:
:
:
:
</body>
</HTML>
the code works well with IE but doesn't work with Mozilla firefox (Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1)
thanks in advance if any one can provide me with the solution...
The following link is for firefox open source code page....
http://www.mozilla.org/hacking/
i guess this may help u to some extent.
http://www.mozilla.org/hacking/
i guess this may help u to some extent.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Cd&