• 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

  • New Window (Pop-Up Window)
  • Air jordan 11 low
  • New Balance 996
  • Ray ban vintage sunglasses
  • JavaScript new widows are an effective way to display your information. Pop-Up windows allow for more control over a new window than a page opened by a target=_blank while allowing your main page to remain underneath, so people using your site will not have to toggle back and forth with the browsers back button. The following example will open a new window on top of the current browser session with the homepage for Yahoo.com. All of the window attributes in this example have been suppressed. Read the comments on how to apply the attributes you want in your new window.
    View the Output
    Text View
    Print View
    Mail this Link
    Download the Code

    <html>
    <title>CodeAve.com(JavaScript: New Wndow)</title>
    <body bgcolor="#FFFFFF">
    <script language="JavaScript">
    <!-- 
    function open_new_window(url)

    new_window = window.open(url,'window_name','toolbar=0,menubar=0,resizable=0,dependent=0,status=0,width=400,height=300,left=25,top=25')
    }
    // New window attributes
    // url - the variable for the url of the page in the new window
    // that is passed by placing it single-quoted in either the link or form
    // window_name - the name of the new window being opened
    // width - width of the new window in pixels
    // height - height of the new window in pixels
    // top - the new widow top will appear xx number of pixels from the top of the screen
    // left - the new widow left margin will appear xx number of pixels from the left of the screen

    // The following attributes will suppress the respective window elements
    // when the value is set to zero or if omitted. When listed or equal to one
    // the window attribute will appear
    // toolbar,menubar,resizable,dependent,status
    // -->
    </script>


    <a href="javascript:open_new_window('http://www.yahoo.com');">Hyperlink</a>

    <form>
    <input type="submit" 
    value="Submit" 
    onClick="open_new_window('http://www.yahoo.com');">
    </form>




    </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