Results 1 to 4 of 4

Thread: Dhtml Window

  1. #1
    Join Date
    Mar 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Dhtml Window

    http://www.dynamicdrive.com/dynamici...htmlwindow.htm

    for this script, is it possible for me to use multiple windows?
    if so how?

  2. #2
    Join Date
    Mar 2006
    Location
    Somewhere....
    Posts
    88
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Arrow Maybe?

    Maybe Just Repeat the code. Making it pop up 2 windows or how ever many times you specify the code.

    Example:

    <script>
    if (ns6)
    window.onload=new Function('loadwindow("http://www.firstsite.com",600,400)')
    else
    loadwindow("http://www.firstsite.com",600,400)
    </script>


    Then just repeat underneath....

    <script>
    if (ns6)
    window.onload=new Function('loadwindow("http://www.secondsite.com",600,400)')
    else
    loadwindow("http://www.secondsite.com",600,400)
    </script>


    This should open 2 new windows...

  3. #3
    Join Date
    Mar 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    no that does not work

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Until this script is extensively modified, it is one DHTML window per page. You can however have multiple links on the page, each opening a different page in the one DHTML window when clicked. As it is now, onload, you are limited to one.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

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