Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jun 2007
    Thanked 0 Times in 0 Posts

    Non-Typical popup window

    I'm using a 3rd party website for a business that has the option to popup a windows after an application submission.. so I do not have the ability to add anything more than a URL to set a location for the popup page. What I need is for the page I created to be sized to width=883,height=400. I've been trying the following script:

    <!-- Begin
    function popUp(URL) {
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=883,height=400,left = 248.5,top = 280');");
    // End -->

    This script works when i can link it from one of my own pages, but I cannot do that going through a 3rd party site for the popup. Can someone suggest a code that would allow the page to size and have a bollian value of o for toolbar, location, statusbar, menubar, resizeable, etc? I have tried a 'replace' value, but it doesn't do what I want it to do. Please help.

  2. #2
    Senior Coder rnd me's Avatar
    Join Date
    Jun 2007
    Thanked 626 Times in 605 Posts
    create a simple wrapper document with an fullscreen iframe.
    host the wrapper on your site, and you can have full access to the popup when you create the window.


Posting Permissions

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