Modeless windows, a feature introduced in IE5, presents a window that stays active/visible on the user’s screen until explicitly dismissed.
A good way to display &active/visible on the user’s screen until explicitly dismissed.
A good way to display "announcements" or other content that demand attention. All other browsers will show a regular popup window instead.
//Modeless window script- By DynamicDrive.com
//for full source code and terms of use
//visit http://www.dynamicdrive.com
function modelesswin(url,mwidth,mheight){
if (document.all&&window.print) //if ie5
eval(’window.showModelessDialog(url,”",”help:0;resizable:1;dialogWidth:’+mwidth+’px;dialogHeight:’+mheight+’px”)’)
else
eval(’window.open(url,”",”width=’+mwidth+’px,height=’+mheight+’px,resizable=1,scrollbars=1″)’)
}
//configure URL and window dimensions (width/height)
modelesswin(”http://yahoo.com”,600,600)
Download from: Homepage