Welcome to TalkGraphics.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2014
    Posts
    16

    Default Popup opening 2 times

    I have a popup window created through a link (as the trigger). My web designer 10 is creating the pages so that it opens 2 times.

    Is there a way to force this to open only 1 time? This appears to be happening only in Firefox.

    trigger call code.
    Code:
    javascript:popUp('http://www.signstopusa.com/login%20page.htm')
    Placeholder javascript code.
    Code:
    <SCRIPT LANGUAGE="JavaScript">
    
    <!-- Begin
    function popUp(URL) {
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=660,height=550,left = 500,top = 275');");
    }
    // End -->
    </script>
    I need to fix the double window opening. But also, is there a way to make this open as a smaller popup window in Safari (right now it opens as a tab on an ipad)?

    Any help will be appreciated.

  2. #2
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,934

    Default Re: Popup opening 2 times

    Could you post your xar/web file?
    Egg

    Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor
    + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  3. #3
    Join Date
    Feb 2014
    Posts
    16

    Default Re: Popup opening 2 times

    My .web file is too large for the upload (15+ mg).

    It may zip lower, but I am not sure how much.

  4. #4
    Join Date
    Mar 2009
    Location
    Canberra, Australia
    Posts
    121

    Default Re: Popup opening 2 times

    I'm not sure if this is related but in Web Designer 10 Premium I had a problem with links that open a page in a new window (using target="_blank"). It would open two copies every time.

    I have since opened the same project in Designer Pro X10 and re-exported the website without any changes, and now it works correctly.

    So if these issues are similar then it looks like it is a bug with Web Designer 10.

 

 

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
  •