View Single Post
  #4  
Old 12-10-2011, 04:22 PM
 
georgewf georgewf is offline
 

Advanced Member
  
Join Date: Feb 2004
Posts: 79
 

Default Re: Re-sizing pop-up windows

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
Reply With Quote