View Full Version : Popup box stays on top
codewarrior
08-25-2002, 09:19 PM
Hi there!
I was just wondering is there a HTML code, or any other web code for that matter, out there makes a popup box "always stay on top" of all other programs? :confused: Thanks in advance.
duniyadnd
08-25-2002, 10:56 PM
don't know about a permanent solution for that, but for the initial opening of the window, you can use this function in the header and use the onload command in the body tag.
<script language="JavaScript">
<!--
somefunction(){
window.focus();
}
-->
</script>
<body onload="somefunction();">
Duniyadnd
codewarrior
08-25-2002, 11:01 PM
Thanks replying ;) Got that part covered ... I was wondering if there is a way to disable close, maximize and restore button on the box? :confused:
duniyadnd
08-25-2002, 11:21 PM
Oh, in that case, try chromeless windows
here are links to some threads that have already discussed it
http://www.codingforums.com/showthread.php?s=&threadid=4620&highlight=%2Achrome%2A
http://www.codingforums.com/showthread.php?s=&threadid=3021&highlight=%2Achrome%2A
http://www.codingforums.com/showthread.php?s=&threadid=4385&highlight=%2Achrome%2A
http://www.codingforums.com/showthread.php?s=&threadid=3696&highlight=%2Achrome%2A
http://www.codingforums.com/showthread.php?s=&threadid=1455&highlight=%2Achrome%2A
http://www.codingforums.com/showthread.php?s=&threadid=566&highlight=%2Achrome%2A
Dynamic Scripts has a Link (http://www.dynamicdrive.com/dynamicindex8/window1.htm) to a full page popup. You can try that as well.
Duniyadnd
codewarrior
08-26-2002, 12:41 AM
Thanks once again :)
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.