faqts : Computers : Programming : Languages : JavaScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

30 of 78 people (38%) answered Yes
Recently 5 of 10 people (50%) answered Yes

Entry

How do I create an invisible browser window?

Apr 6th, 2008 18:38
ha mo, Colin Fraser, Dan,


Try
function windowOpener() {
myWindow=window.open("","invisibleWindow","menubar=yes,
scrollbars=yes,status=yes,width=1,height=1")
}
Then somewhere you may need to make it full sized 
<script language="JavaScript">
function makeitGrow(){
window.moveTo(0,0);
if (navigator.appName=="Microsoft Internet Explorer") {
      window.resizeTo(screen.availWidth,screen.availHeight);
      }
if (navigator.appName=="Netscape") {
      window.outerHeight = screen.availHeight;
      window.outerWidth = screen.availWidth;
      }
}
</script>
Of course, you may need to get other browsers names and add them to the
list, or change it to a switch statement. Good luck...
http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com