Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Apr 2011
    Posts
    2
    Plugin Contributions
    0

    Default Resize Broswer Window

    I tried searching for something like this but no luck. I have created a shopping cart with no sideboxes or headers. The user will link to my zencart from another site to purchase products. I want the zencart to be a popup instead of a browser page just showing the product cart info so I need to figure out how to resize the page to just the cart (no background colors). I looked at the mainwrapper but that just resizes the cart page which is fine.

    I appreciate any help.

    C.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Resize Broswer Window

    The user will link to my zencart from another site to purchase products
    It sounds like you are attempting to use ZenCart as a backend to other pages you have


    This is not how ZenCart is designed to be used
    It is designed to be your main site
    You will only experience issues trying what you seem to be asking
    Mostly in security sessions being maintained

  3. #3
    Join Date
    Feb 2008
    Posts
    1,336
    Plugin Contributions
    1

    Default Re: Resize Broswer Window

    Not sure if I understand but if you are trying to open a link as a popup window, you will have to add rel="popup" to the link which has nothing to do with the page being opened.

    As far as editing the core zen cart structure it's done in template files and css.

  4. #4
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Resize Broswer Window

    In the javascript code on the other site that opens your pop-up, you can specify the exact size (more or less, depending on browser quirks) for the window, as well as many other aspects of it.

    Have you thought about what happens if a user browses with pop-ups blocked?

    Rob

  5. #5
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Resize Broswer Window

    As Rob says, it's the process you use to create the window that controls it's size rather than then the content you put in it, i.e. your Zen Cart.

    I see no fundamental reason not to do what you're suggesting. Creating sites as mashups is increasingly common and it would be good to have some examples where Zen Cart was used this way.

    I'd recommend however, launching it in a modal window rather than a popup, again for the reason that Rob pointed out.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 

Similar Threads

  1. Resize Pop Up window according to image inside?
    By bobobo in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 19 Jan 2011, 04:34 AM
  2. How to prevent reload on browser window resize?
    By tbsmith in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 6 Jan 2010, 08:30 AM
  3. Resize Redirect new Window (Banners)
    By emmdee in forum General Questions
    Replies: 5
    Last Post: 15 Aug 2006, 01:00 AM

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