Results 1 to 2 of 2

Thread: How does one code a popup window without borders and....?

  1. #1

    Thread Starter
    Addicted Member Daniel_Christie's Avatar
    Join Date
    Jan 2000
    Location
    USA
    Posts
    245
    How does one code a popup window that will load up without any borders so it seemlessly blends with the larger background window.....Or....

    How can I trap a window into another window of a browser so the smaller window will not fall behind the larger window....and.....

    How does one code a window close. I am intending on closing a window automatically after a period of time.

    These code can be either java script or html, any takers?
    I appreciate all of your time and effort,
    Daniel Christie
    VB 5 and 6 Enterprise Editions,
    Html, Java scipt, Vb script,
    & etc...
    http://www.qwcd.com

  2. #2
    Fanatic Member Psyrus's Avatar
    Join Date
    Jul 2000
    Location
    NJ
    Posts
    602
    You could try this to keep the window on top:

    <BODY ONLOAD = "window.focus();" ONBLUR = "window.focus();">

    I use this JavaScript function to open new windows on one of my webapges:

    function wopen( URL )
    {

    var Domain
    Domain = "http://www.yourDomain.com/"
    URL = Domain + URL

    window.open(URL,"winName","height=300px, width=520px, scrollbars=yes, location=no, status=no, menubar=no");
    }

    I call it like this:

    ONCLICK = "wopen( 'myPage.html' )"
    Chris

    VB 6.0 Calendar App Video Gamers Group
    Don't forget to rate people if they helped you.

Posting Permissions

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



Click Here to Expand Forum to Full Width