S
SM
I want to build a popup window that is always on top. I'm not looking
for the modal popup window type.
I've already have the code for the popup, it looks like this:
<a href="#" onclick="window.open
('radio.php','radio','statusbar=no,menubar=no,toolbar=no,scrollbars=no,resizable=no,width=250,height=600');
return false;">RADIO</a>
i'm looking for the code to make the popup window always on top.
I've made some research and found this:
<BODY onLoad="self.focus()" onBlur="self.focus()">
But for some reason, it doesn't work as it should. I had to take it
off! It was becoming to annoying.
There has to be a way! Either using simple javascript or a javascript
library or even a simpler solution.
Is this feasable?
Thanks
Marco
for the modal popup window type.
I've already have the code for the popup, it looks like this:
<a href="#" onclick="window.open
('radio.php','radio','statusbar=no,menubar=no,toolbar=no,scrollbars=no,resizable=no,width=250,height=600');
return false;">RADIO</a>
i'm looking for the code to make the popup window always on top.
I've made some research and found this:
<BODY onLoad="self.focus()" onBlur="self.focus()">
But for some reason, it doesn't work as it should. I had to take it
off! It was becoming to annoying.
There has to be a way! Either using simple javascript or a javascript
library or even a simpler solution.
Is this feasable?
Thanks
Marco