www.webdeveloper.com
Results 1 to 4 of 4

Thread: Opening a new window

Hybrid View

  1. #1
    Join Date
    Nov 2002
    Posts
    13

    Opening a new window

    I know how to link to a new web page. what I want to do is provide additional information to the subject on the page the user is on. I would like to open a window without any of the extras, espessially the browser bar with the address window in it. i do not want them to be able to go to another web site from this page. I would like the window to open smaller than the page they are on so they can see both pages if they want to.

    Can this be done in html or do i have to use java or something else?

    Thank you
    thanks, r1012

  2. #2
    Join Date
    Nov 2002
    Location
    Baltimore, Maryland
    Posts
    12,270
    <a href="http://www.w3.org/" onclick="window.open(this.href, 'child', 'height=300,width=200'); return false">W3C</a>
    “The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
    —Tim Berners-Lee, W3C Director and inventor of the World Wide Web

  3. #3
    Join Date
    Nov 2002
    Posts
    13
    Thanks Charles that worked great. I did realize one of the windows I need was not big enough horizontally for the information, even if I increased the size of the window i need a horizontal scroll bar and have not been able to find out how to add it.

    I have a couple of books on html 4.0 published in 97 or 98 but they do not have this type of info. One of the books touched brifly on addding "window" to "HERF" but not the weay you did it and nothing about a "child" or scroll bars. what would be a good book to read that teaches advance html like this?

    Thanks
    thanks, r1012

  4. #4
    Join Date
    Nov 2002
    Location
    Baltimore, Maryland
    Posts
    12,270
    1 - HTML 4.0 was superseded by HTML 4.01 on 24 December 1999. See http://www.w3.org/TR/html401/ for details. And you ought to read the simple little tutorial at http://diveintoaccessibility.org/.

    2 - That's not HTML, it's JavaScript. JavaScript doesn't work at all one in ten times (http://www.thecounter.com/stats/2002/November/javas.php) so it's important to make sure that you have a working page before you start adding scripts. The best book I've come across, though, is JavaScript : The Definitive Guide by David Flanagan (http://search.barnesandnoble.com/boo...96000480&itm=1).
    “The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
    —Tim Berners-Lee, W3C Director and inventor of the World Wide Web

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles