JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser .
Javascript function...
Thread starter
Thread starter
Smackrazor
Start date
Start date
Sep 14, 2000
Is it possible to use javascript to tell the browser to minimize the window? And is it cross browser compaitble?
[TABLE border=5" cellspacing="0" cellpadding="15" bgcolor="#000000" bordercolor="#4B5359" bordercolorlight="#008DE6" bordercolordark="#002FA4][TR][TD]
[a href=//www.modsquad.f2s.com/][IMG SRC=//www.modsquad.f2s.com/logo2.jpg" border=0][/a]
[a href="mailto: Smackrazor@mailandnews.com " style="font-family:arial;font-size: 9pt;color:#008DE6;text-decoration:underline;]Smackrazor[/a]
[font style=font-family:arial;font-size: 9pt;color:#008DE6;]Webmaster: [a href=//www.modsquad.f2s.com/" style="font-family:arial;color:#008DE6;text-decoration:underline;font-size: 9pt;]The Mod Squad[/a]
[/td][/tr][/table]
It Wandered In From the Wastes
I dont know how but i am sure.Once someone told me (but i dont remeber) how to kick out everybody who uses IE (or whatever you want) but that was not JS
Wyco The Hun.
Wyco@maffia.hu
Porn To Be wild & (F)Oszd meg es Uralkodj !!
>I dont know how but i
>am sure.Once someone told me
>(but i dont remeber) how
>to kick out everybody who
>uses IE (or whatever you
>want) but that was not
>JS
Actually, that was probably a mixture of JS and CGI or HTACCESS.
[TABLE border=5" cellspacing="0" cellpadding="15" bgcolor="#000000" bordercolor="#4B5359" bordercolorlight="#008DE6" bordercolordark="#002FA4][TR][TD]
[a href=//www.modsquad.f2s.com/][IMG SRC=//www.modsquad.f2s.com/logo2.jpg" border=0][/a]
[a href="mailto: Smackrazor@mailandnews.com " style="font-family:arial;font-size: 9pt;color:#008DE6;text-decoration:underline;]Smackrazor[/a]
[font style=font-family:arial;font-size: 9pt;color:#008DE6;]Webmaster: [a href=//www.modsquad.f2s.com/" style="font-family:arial;color:#008DE6;text-decoration:underline;font-size: 9pt;]The Mod Squad[/a]
[/td][/tr][/table]
It Wandered In From the Wastes
I think it was normal html: like it reads the application and if IE then it takes you to an empty link
Wyco The Hun.
Wyco@maffia.hu
Porn To Be wild & (F)Oszd meg es Uralkodj !!
browser detection
for determining browser try playing with the following properties:
navigator.appCodeName
browser code name
navigator.appVersion
browser version + operation system
navigator.appName
browser name
navigator.userAgent
browser code name + browser version
didn't find any info about minimizing, I guess it's impossible (hmm.. strange), sorry
~Dr. W95
the Super-Puper Admin
http://www.thevats.f2s.com
AGH! None of this is helping!!
Minimising a window, anyone know?
[TABLE border=5" cellspacing="0" cellpadding="15" bgcolor="#000000" bordercolor="#4B5359" bordercolorlight="#008DE6" bordercolordark="#002FA4][TR][TD]
[a href=//www.modsquad.f2s.com/][IMG SRC=//www.modsquad.f2s.com/logo2.jpg" border=0][/a]
[a href="mailto: Smackrazor@mailandnews.com " style="font-family:arial;font-size: 9pt;color:#008DE6;text-decoration:underline;]Smackrazor[/a]
[font style=font-family:arial;font-size: 9pt;color:#008DE6;]Webmaster: [a href=//www.modsquad.f2s.com/" style="font-family:arial;color:#008DE6;text-decoration:underline;font-size: 9pt;]The Mod Squad[/a]
[/td][/tr][/table]
It Wandered In From the Wastes
RE: AGH! None of this is helping!!
Why dont you write an email to Micro$oft,or Yahoo or somebody "professional" ?
Wyco The Hun.
Wyco@maffia.hu
Porn To Be wild & (F)Oszd meg es Uralkodj !!
Alternative solution
Doing a manual minimizing...
self.moveTo(0,0);
self.resizeTo(screen.availWidth,screen.availHeight);
Those commands will move the window to 0,0 (x,y) and maximize it.
What about if you resize it to 1,1 or 0,0 and make a popping up button which says "restore"?
[p align=center]
MatuX
Co-Leader and Chief Programmer on
http://clanfusionn.hypermart.net/tmslogo1.gif
[font size=1]GFX by Smackrazor
[font size=2]http://www.modsquad.f2s.com[/p]
RE: Alternative solution
Yes, that would work! Great job!
That would make it easier making full screen flash for IE (Netscape doesn't trust flash docs enough to make them fill the entire screen
[TABLE border=5" cellspacing="0" cellpadding="15" bgcolor="#000000" bordercolor="#4B5359" bordercolorlight="#008DE6" bordercolordark="#002FA4][TR][TD]
[a href=//www.modsquad.f2s.com/][IMG SRC=//www.modsquad.f2s.com/logo2.jpg" border=0][/a]
[a href="mailto: Smackrazor@mailandnews.com " style="font-family:arial;font-size: 9pt;color:#008DE6;text-decoration:underline;]Smackrazor[/a]
[font style=font-family:arial;font-size: 9pt;color:#008DE6;]Webmaster: [a href=//www.modsquad.f2s.com/" style="font-family:arial;color:#008DE6;text-decoration:underline;font-size: 9pt;]The Mod Squad[/a]
[/td][/tr][/table]