I’m using
window.status = "myStatusText"
And it’s working fine in a normal window in my application, but if I want to use this function in a normal old-fashioned popup-window, it is not working.
The statusbar of the popup is visible. I can see the original URLs of the hyperlinks in the statusbar and i want to hide them.
Is this normal, that window.status does not override the original text in a popup?
<span id="mySpan" class="mySpanClass">
<a id="myLink" href="javascript:myClickFunction();" onmouseover="window.status='myWindowStatus';" onmouseout="window.status='';" >Link</a>
</span>
I’ve removed the onmouseout event and now the onmouseover-text is visible, AFTER the mouse was pointing the link!
I realised that we need to cancel the inbuilt browser handling of the event. This is simple to do:
You probably are, but are you supplying status=1 in the window.open method?
For example:
Some browsers, for example IE, only show the status bar in a popup window if the site isn’t trusted, so, for example, on an intranet site, unless you specifically add status=1, it wont show the status bar.
If you can see the status bar, are you getting a particular error or is it just not working at all?
Can you set the text of the status bar from some script inside the popup window?