| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Re-sizing pop-up windows | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() I need to display my category pop-up windows in full screen because of sub-categories. I've looked over the forum and looks like no one has ran into this situation.
When adding 'Featured Products' the pop-up isn't large enough to display the sub-categories and this makes it difficult to search for products. Same thing for adding 'Coupons'. Does anyone know what template I can modify so that when a 'category list pop-up' comes up, I can make it show in full view? This is a pain because in some main categories we go to 4 sub-categories deep. Example: Business & Industry B2B/Food Service & Retail/Vending & Tabletop Concessions/Beverage & Snack Vending/Snack, Food Machines When trying to select the bottom sub-category, the window can't be re-sized and you can't see it to select a product. Don Barrett X-Cart 3.5.6 Pro (Modified to the max) New York State Shopping Mall Unix/Apache Web Server |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() Hi Don,
Take a look at: skin1/main/popup_help_link.tpl You will see the controls for the popup window in here. for example it will have the standard settings like this: 'width=600,height=460,toolbar=no,status=no,scrollb ars=yes,resizable=no,menubar=no,location=no,direct ion=no' which you can of course change to meet your needs. Each popup in your site will have its own template, for eg this particular one is used for the help info on CVV.
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#3
|
|||||||||
|
|||||||||
![]() Thanks Paul....This did the trick!
Don Quote:
__________________
New York State Shopping Mall version X-Cart Pro 3.5.6 Custom Modified Status: Re-Launching 01/01/06 |
|||||||||
#4
|
|||||||
|
|||||||
![]() For current x-cart using jquery see /skin/common_files/js/popup_open.js!
function popupOpen(src, title, params) { // Close existing dialog $('.popup-dialog').dialog('destroy').remove(); var popup = $(document.createElement('div')) .attr('class', 'popup-dialog') .css('display', 'none') .appendTo('body'); var dialogOpts = { modal: true, bgiframe: true, autoOpen: true, draggable: true, resizable: true, width: ($.browser.msie && parseFloat($.browser.version) < 7) ? '400' : 'auto', height: ($.browser.msie && parseFloat($.browser.version) < 7) ? '350' : 'auto', position: 'center', maxHeight: 800, maxWidth: 1400, zIndex: 5000, closeOnEscape: false,
__________________
xcart 4.7.12 |
|||||||
#5
|
|||||||||
|
|||||||||
![]() Any tips on how to use popup_open.js ? I need to display a popup window with specific content taken from some smarty variable and then, on closing it, to lead the visitor to a specific url.
thanks
__________________
Vasilis Vrontisis X-Cart Development, Maintenance & Customization https://[URL="http://www.craftforweb.com"]craftforweb.com[/url] vasilis@craftforweb.com |
|||||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|