• Nike free run 2 pink
  • Nike free 5.0 kids
  • Oakley sunglasses discount
  • CodeAve.com CodeAve.com - JavaScript - Navigation
    ASP
    JavaScript
    ·Document Info
    ·Forms
    ·Images
    ·Miscellaneous
    ·Navigation
    ·Script Writers
    ·Contents
    ·What's New?
    CSS
    HTML
    Maps
    Links
    Mail List
    Search
    Sitemap


     

  • Retro 3 jordans
  • Jordan 13 retro
  • Nike free 5.0

  • Move, Resize and Open a Window on Click.
  • Air jordan 11 low
  • New Balance 996
  • Ray ban vintage sunglasses
  • This is a script you’ve seen thousands of times and maybe clicked on a couple at best. Typically when you see a pop-under advertisement you kill the browser window. On the rare occasion that you click on the advertisement, probably mostly by mistake, you may have noticed that the browser window moves, opens to a larger window and opens a new page within the browser. This is all accomplished with a few within a JavaScript Function on the initial page (typically the advertisement, not the link it leads to). The following example is a link to a function that will move the browser to the top left of the desktop and open http://www.yahoo.com to the fullest available size of the client screen settings.
    View the Output
    Text View
    Print View
    Mail this Link
    Download the Code

    <html>
    <title>CodeAve.com(Move, Resize and Open Window)</title>
    <body bgcolor="#FFFFFF">
    <script language="JavaScript">
    <!--
    // This function will move the window when clicked
    // to a location zero pixels to the left and zero pixels from the top,
    // maximize the browser to the full window settings and redirect
    // the browser to open to another page (Yahoo!)
    function movesizeandopen()
    {
    self.moveTo(0,0)
    self.resizeTo(screen.width,screen.height)
    window.location.href = "http://yahoo.com";
    }
    -->
    </script>
    <br>
    Click <a href="javascript:movesizeandopen();">here</a> to move
    the window to zero pixels from the left and zero pixels from the top
    <br>and set a browser window width and height to their maximum size
    and open a new page after re-sizing.
     
    </body>
    </html>

     

     

     



    ASP: What's New? | Articles | Script Writers | Database Display | Read/Write
    Server Variables | Response Objects | Random Events | Miscellaneous
    HTML: Forms | Hyperlinks | Headers | Tables | Hyperlinks | Headers | Text Display
    JavaScript: Document Info | Forms | Images | Navigation | Script Writers
    CSS: Basics | Page Display | Text Display | Script Writers | Miscellaneous
  • 2014 michael kors
  • air max women 2013
  • 2014 michael kors
  • air max 2014
  • oakley glasses
  • oakley glasses

  • Maps: Map Script Writers | Bing Maps | Google Maps
  • bottes fr
  • ugg boot
  • Privacy Statement

    CodeAve.com is hosted by MyHosting.com
    Donate Food Online with a Mouse Click at TheHungerSite.com
    Donate Land Online with a Mouse Click at TheRainForestSite.com
    © 1999 - 2017 CodeAve.com
    All Rights Reserved

    jordan 11 gamma Nike KD VI lebron 11 low