Javascript function...

Discussion in 'General Discussion Forum' started by Smackrazor, Sep 14, 2000.

  1. Smackrazor

    Smackrazor Guest

    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]​
    [table border=0 cellspacing=0 cellpadding=0 width=100%][tr][td align=center]
    [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][/td][/tr][/table]​
     
  2. Wyco

    Wyco It Wandered In From the Wastes

    108
    Apr 2, 2003
    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 !!
     
  3. Smackrazor

    Smackrazor Guest

    >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]​
    [table border=0 cellspacing=0 cellpadding=0 width=100%][tr][td align=center]
    [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][/td][/tr][/table]​
     
  4. Wyco

    Wyco It Wandered In From the Wastes

    108
    Apr 2, 2003
    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 !!
     
  5. Guest

    Guest Guest

    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
     
  6. Smackrazor

    Smackrazor Guest

    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]​
    [table border=0 cellspacing=0 cellpadding=0 width=100%][tr][td align=center]
    [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][/td][/tr][/table]​
     
  7. Wyco

    Wyco It Wandered In From the Wastes

    108
    Apr 2, 2003
    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 !!
     
  8. Guest

    Guest Guest

  9. MatuX

    MatuX Guest

    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"?


    [hr]
    [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]
     
  10. Smackrazor

    Smackrazor Guest

    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]​
    [table border=0 cellspacing=0 cellpadding=0 width=100%][tr][td align=center]
    [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][/td][/tr][/table]​
     
  11. MatuX

    MatuX Guest