Results 1 to 8 of 8
  1. #1
    Join Date
    Dec 2006
    Posts
    84
    Plugin Contributions
    0

    help question How to change pop up Dimensions?

    Hi all,
    I searched before asking and could not find anything. Apologies if this has been asked before.

    I am looking for a way to change the dimensions of the Pop up CVV window. I want to make it a little bigger in both width & height.

    Any help would be greatly appreciated.

    thanks,
    belaze

  2. #2
    Join Date
    Dec 2006
    Posts
    84
    Plugin Contributions
    0

    help question Re: How to change pop up Dimensions?

    Anyone?

  3. #3
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: How to change pop up Dimensions?

    Is this part of the stock zencart or is it an add-on, as i am fairly sure the stock zencart doesn't do credit carts since 1.3.9 without using an add-on, or are you using an older version?

  4. #4
    Join Date
    Dec 2006
    Posts
    84
    Plugin Contributions
    0

    help question Re: How to change pop up Dimensions?

    Quote Originally Posted by nigelt74 View Post
    Is this part of the stock zencart or is it an add-on, as i am fairly sure the stock zencart doesn't do credit carts since 1.3.9 without using an add-on, or are you using an older version?

    Hi,
    I am using Zen Cart 1.3.9f with a customized template. What I am trying to do is when you are on the credit card payment page at checkout, if you click on the the What is CVV text link. A window pops up with the CVV information and image.

    I added a customized larger width CVV image and added text and now I want to change the dimension just a bit, about 15-20px in height & width so when the window pops up it does not cover the new larger CVV image.

    any clues on how I can achieve?

    thanks,
    belaze

  5. #5
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: How to change pop up Dimensions?

    Quote Originally Posted by belaze View Post
    Hi,
    I am using Zen Cart 1.3.9f with a customized template. What I am trying to do is when you are on the credit card payment page at checkout, if you click on the the What is CVV text link. A window pops up with the CVV information and image.

    I added a customized larger width CVV image and added text and now I want to change the dimension just a bit, about 15-20px in height & width so when the window pops up it does not cover the new larger CVV image.

    any clues on how I can achieve?

    thanks,
    belaze
    Ok, you probably want to look at this file (ot the equivalent in your template), test before putting live as this is pretty much a guess

    includes/modules/pages/popup_cvv_help/jscript_main.php

    as that seems to set the size

  6. #6
    Join Date
    Dec 2006
    Posts
    84
    Plugin Contributions
    0

    Default Re: How to change pop up Dimensions?

    Quote Originally Posted by nigelt74 View Post
    Ok, you probably want to look at this file (ot the equivalent in your template), test before putting live as this is pretty much a guess

    includes/modules/pages/popup_cvv_help/jscript_main.php

    as that seems to set the size

    Thanks for the suggestion but that does not do the job...

  7. #7
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: How to change pop up Dimensions?

    Quote Originally Posted by belaze View Post
    Thanks for the suggestion but that does not do the job...
    yep probably cause i got the wrong thing, can't type and think at th same time

    includes/modules/pages/checkout_payment/jscript_main.php

    Code:
    function popupWindow(url) {
      window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=450,height=320,screenX=150,screenY=150,top=150,left=150')
    }
    just need to change width and height

  8. #8
    Join Date
    Dec 2006
    Posts
    84
    Plugin Contributions
    0

    Default Re: How to change pop up Dimensions?

    Quote Originally Posted by nigelt74 View Post
    yep probably cause i got the wrong thing, can't type and think at th same time

    includes/modules/pages/checkout_payment/jscript_main.php

    Code:
    function popupWindow(url) {
      window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=450,height=320,screenX=150,screenY=150,top=150,left=150')
    }
    just need to change width and height
    that did it
    thanks very much.

 

 

Similar Threads

  1. v151 How to change image dimensions via PHP
    By sports guy in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 5 Dec 2012, 01:49 AM
  2. Individual item shipping dimensions - how-to?
    By IndianGirl in forum Addon Shipping Modules
    Replies: 1
    Last Post: 22 Sep 2010, 06:55 AM
  3. Change Dimensions of Large and Medium Images
    By websightdesign in forum General Questions
    Replies: 0
    Last Post: 20 Jan 2010, 02:32 PM
  4. change logo dimensions
    By lieven23 in forum General Questions
    Replies: 4
    Last Post: 9 Aug 2009, 03:29 PM
  5. How to change pop up image size
    By laurieudy in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 18 Jan 2008, 10:28 PM

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