Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2006
    Posts
    107
    Plugin Contributions
    0

    Default Fixed size pop-up windows?

    What is the best way to force fixed size pop-up windows?

    I'm trying to force the CVV help popup to a specific size on the checkout page. In Firefox at least, it appears too small and forces the user to resize or use the scrollbars.

    I was under the impression the file to edit was this one:
    /includes/modules/pages/checkout_payment/jscript_main.php

    However, changing the dimensions has no effect...

  2. #2
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Fixed size pop-up windows?

    includes/modules/pages/checkout_payment/jscript_main.php should be the correct file.

  3. #3
    Join Date
    Oct 2006
    Posts
    107
    Plugin Contributions
    0

    Default Re: Fixed size pop-up windows?

    To be more specific, I also want to force a size on a Help popup. Both are setup to use the javascriptPopupWindow function.

    index.php?main_page=info_shopping_cart
    index.php?main_page=popup_cvv_help

  4. #4
    Join Date
    Oct 2006
    Posts
    107
    Plugin Contributions
    0

    Default Re: Fixed size pop-up windows?

    Quote Originally Posted by RescoCCC View Post
    includes/modules/pages/checkout_payment/jscript_main.php should be the correct file.
    Thanks.

    I had edited that file already, but apparently there was a a caching problem with Firefox. Now it appears to be displaying OK.

  5. #5
    Join Date
    Oct 2006
    Posts
    107
    Plugin Contributions
    0

    Default Re: Fixed size pop-up windows?

    Since we're already discussing pop-up windows, how could I configure the Terms and Conditions link on the checkout screen to appear as a pop-up, or at least a new tab or new window?

    I don't want customers getting lost from the checkout /index.php?main_page=checkout_payment screen.

    Here's the specific instance I'm talking about:

  6. #6
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Fixed size pop-up windows?

    Adding this to the URL might work:

    target="windowName" onsubmit="window.open('', this.target,'dialog,modal,scrollbars=no,resizable=no,width=xxx,height=xxx,left=0 ,top=0')

  7. #7
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Fixed size pop-up windows?

    Okay, I just tested that. It doesn't work.

 

 

Similar Threads

  1. Pop-up windows background
    By Otha in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 May 2010, 11:30 PM
  2. Printable Pop up windows?
    By hamstertamer in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 25 Feb 2010, 08:16 PM
  3. Pop up windows
    By noahsarcade in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 11 May 2008, 06:16 AM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR