Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How to change pop up Dimensions?

How to change pop up Dimensions?

Locked

Views: 1,004

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
23 Aug 2010, 1:36 AM
#1
belaze avatar

belaze

New Zenner

Join Date:
Dec 2006
Posts:
84
Plugin Contributions:
0

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

24 Aug 2010, 5:56 AM
#2
belaze avatar

belaze

New Zenner

Join Date:
Dec 2006
Posts:
84
Plugin Contributions:
0

Re: How to change pop up Dimensions?

Anyone? :unsure:

24 Aug 2010, 6:17 AM
#3
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

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?

Webzings Design
Semi retired from Web Design

24 Aug 2010, 6:35 AM
#4
belaze avatar

belaze

New Zenner

Join Date:
Dec 2006
Posts:
84
Plugin Contributions:
0

Re: How to change pop up Dimensions?

nigelt74:

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

24 Aug 2010, 9:45 PM
#5
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: How to change pop up Dimensions?

belaze:

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

Webzings Design
Semi retired from Web Design

24 Aug 2010, 10:13 PM
#6
belaze avatar

belaze

New Zenner

Join Date:
Dec 2006
Posts:
84
Plugin Contributions:
0

Re: How to change pop up Dimensions?

nigelt74:

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...

24 Aug 2010, 11:30 PM
#7
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: How to change pop up Dimensions?

belaze:

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

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

Webzings Design
Semi retired from Web Design

25 Aug 2010, 12:30 AM
#8
belaze avatar

belaze

New Zenner

Join Date:
Dec 2006
Posts:
84
Plugin Contributions:
0

Re: How to change pop up Dimensions?

nigelt74:

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

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')
}


that did it :clap:
thanks very much.