X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Need a window to open with specific size... (https://forum.x-cart.com/showthread.php?t=15515)

marian 07-28-2005 10:19 AM

Need a window to open with specific size...
 
I have a size chart that is a gif image 500 x 497

I have a link in the apparel categories that opens sizechart.htm and would like to have the sizechart.htm be the same size as the image sizechart.gif and maybe even position it centered on the users screen.

The problem I have been having is that the document or page that has the link is passing size and popup window options to the page to be opened. There is JS code that has to be put in the Head part of the initiating page and I can't do that in the "description" field of the category.

I have looked around and any resize code is always in JS. Is there a way to have a regular link (for example: Click here for Size Chart) open a window that is a specified size?

balinor 07-28-2005 10:23 AM

Yep, just use this:


Change the width and height and settings for toolbars, scrollbars, etc as required.

marian 07-28-2005 10:30 AM

Well, Bless You, Bless You
 
Thanks Balinor!!

This works in Firefox and IE6. I was trying not to bother anybody here with something I should already know. But I spent over an hour scouring the HTML "help" places I found in google, but none of them had your solution.

Thank you so much! This is exactly the solution I needed! :D

taltos1 07-20-2006 09:25 PM

Excellent post, I was looking for this code everywhere!

TToshi 05-29-2009 08:49 AM

Re: Need a window to open with specific size...
 
How can I read this code?
I can't open that link.

dyno-guy 05-31-2009 08:09 PM

Re: Need a window to open with specific size...
 
Hello,

I would like to access this code aswell. Can you please update the post so we can see it?

Cheers


All times are GMT -8. The time now is 05:31 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.