How to enable the window.status in a popup?
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?
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:
<a href="#" onmouseover="window.status = 'test'; return true;" onmouseout="window.status = ''; return true;">Text</a>
You probably are, but are you supplying status=1 in the window.open method?
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?
Open the popup window this way
window.open ("you url", "mywindow","status=1,toolbar=1");
Open the popup with status=yes and it will work. – (check window.open documentation on MDN)