javascript to have a new browser window open maximized or aligned top

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Peter

    #1

    javascript to have a new browser window open maximized or aligned top

    Hi, can someone help me with this code below. This code is for a page
    that opens another page with a flash file on it. What code do I have
    to add here to have the page with the flash file (QuickStart.htm ) open
    maximized or aligned to the top of the screen (if that's possible)?

    At the moment, the page opens kind of in the middle or a little to low
    on some screens and you have to manually move the page up to see the
    whole flash movie.
    Thanks,
    Tony
    *************** *************** *************** ***

    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1">
    <script language="JavaS cript">
    function MM_openBrWindow (theURL,winName ,features) { //v2.0
    window.open(the URL,winName,fea tures);}

    //-->
    </script>
    <title>Analyz er Demo</title>
    </head>

    <body>
    <p><font color="#0033FF" size="+2">Analy zer</font></p>
    <a href="javascrip t:MM_openBrWind ow('QuickStart. htm','Interacti ve_Demo','statu s=yes,menubar=n o,scrollbars=no ,resizable=no,w idth=900,height =680')"><em><b>
    Start the demo</b></em></a>

    </body>
    </html>
    *************** *************** *************** ***
  • kaeli

    #2
    Re: javascript to have a new browser window open maximized or aligned top

    In article <7c6871ca.03091 71148.11a82086@ posting.google. com>,
    homicidalterrah awk@yahoo.com enlightened us with...[color=blue]
    > Hi, can someone help me with this code below. This code is for a page
    > that opens another page with a flash file on it. What code do I have
    > to add here to have the page with the flash file (QuickStart.htm ) open
    > maximized or aligned to the top of the screen (if that's possible)?
    >[/color]
    [color=blue]
    > <a href="javascrip t:MM_openBrWind ow('QuickStart. htm','Interacti ve_Demo','statu s=yes,menubar=n o,scrollbars=no ,resizable=no,w idth=900,height =680')"><em><b>
    > Start the demo</b></em></a>
    >[/color]


    <a href="javascrip t:MM_openBrWind ow
    ('QuickStart.ht m','Interactive _Demo','status= yes,menubar=no, scrollbars=n
    o,resizable=no, width=900,heigh t=680',top=0)">

    tested in IE6 fine. didn't check other browsers.


    -------------------------------------------------
    ~kaeli~
    Hey, if you got it flaunt it! If you don't, stare
    at someone who does. Just don't lick the TV screen,
    it leaves streaks.


    -------------------------------------------------

    Comment

    • Peter

      #3
      Re: javascript to have a new browser window open maximized or aligned top

      Thanks for that kaeli:-)


      kaeli <infinite.possi bilities@NOSPAM att.net> wrote in message news:<MPG.19d36 29fcbbe71169898 5a@nntp.lucent. com>...[color=blue]
      > In article <7c6871ca.03091 71148.11a82086@ posting.google. com>,
      > homicidalterrah awk@yahoo.com enlightened us with...[color=green]
      > > Hi, can someone help me with this code below. This code is for a page
      > > that opens another page with a flash file on it. What code do I have
      > > to add here to have the page with the flash file (QuickStart.htm ) open
      > > maximized or aligned to the top of the screen (if that's possible)?
      > >[/color]
      >[color=green]
      > > <a href="javascrip t:MM_openBrWind ow('QuickStart. htm','Interacti ve_Demo','statu s=yes,menubar=n o,scrollbars=no ,resizable=no,w idth=900,height =680')"><em><b>
      > > Start the demo</b></em></a>
      > >[/color]
      >
      >
      > <a href="javascrip t:MM_openBrWind ow
      > ('QuickStart.ht m','Interactive _Demo','status= yes,menubar=no, scrollbars=n
      > o,resizable=no, width=900,heigh t=680',top=0)">
      >
      > tested in IE6 fine. didn't check other browsers.
      >
      >
      > -------------------------------------------------
      > ~kaeli~
      > Hey, if you got it flaunt it! If you don't, stare
      > at someone who does. Just don't lick the TV screen,
      > it leaves streaks.
      > http://www.ipwebdesign.net/wildAtHeart
      > http://www.ipwebdesign.net/kaelisSpace
      > -------------------------------------------------[/color]

      Comment

      Working...