Creative Communities of the World Forums

The peer to peer support community for media production professionals.

  • Posted by Pat Hoover on August 13, 2009 at 7:39 pm

    I’m having some issues with a popup window that I’ve been trying to have load when a visitor visits my webpage.

    I want the popup to load after the page loads, be anchored to the bottom right of the page, no menubar, no statusbar, not scalable, etc etc.

    The issues I’m running into are that I can’t seem to figure out how to anchor it to the bottom of the page, and the bars don’t seem to get removed even with coding.

    I’ve done some searching and pieced together some of the code but most of the posts and info are out of date.

    Sample code:
    <html>
    <head>
    <title>Sample popups</title>
    <script language="JavaScript">
    <!--
    function popupvideo(url,name)
    {
    new_window = window.open('https://www.3m3dformula.com/allison2.html','3m3d','width=500,height=500,bottom=0,right=0,status=No,menubar=No,scrollbars=No,toolbar=No')
    }
    // -->
    </script>
    </head>
    <body onLoad="popupvideo()">
    Your new window will open when this document loads
    </body>
    </html>

    Thanks in advance.

    Pat Hoover replied 17 years ago 2 Members · 2 Replies
  • 2 Replies
  • Curtis Thompson

    August 13, 2009 at 8:00 pm

    hello…

    well – a few things…

    1. you’re trying to open a popup window and align it to the lower right of a parent window. this is probably doable but i’m not 100% to be honest – never seen that type of request

    2. by making it a popup that you’re triggering on the page, you are probably going to launch the majority of popup blockers and your visitors will never see the video

    3. popping up a separate window on load (even if it gets past blockers) is really not a very friendly way to welcome people to your page

    you could try to put it in a div on the main page itself as opposed to a separate window popup – here’s a sample of locking a div to the lower part of a page that can be modified to suit your needs…

    https://limpid.nl/lab/css/fixed/footer

    hope that helps!

    sitruc

  • Pat Hoover

    August 13, 2009 at 8:22 pm

    Thanks for the info. I’ve got the video locked in position and will be able to move it to the bottom right accordingly. Just need to work it into the current css.

    Thanks again.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy