PDA

View Full Version : extended info pop up screen


robynne
29-Jul-2003, 09:50 AM
Hi,
can anyone tell me if it is possible to disable the resizing button on the extended info pop-up window.
If so, how (and where).
Thanks in advance
Robynne

Nadeem
29-Jul-2003, 02:15 PM
Hi there

To make it non resizable, all you need to do, is to go to:
C:\Program Files\Actinic Ecommerce v6\Sites\Site1 or what ever your sitename is called.

Find a file called actiniccore.js, which contains the pop up window function. On here looks for
function ShowPopUp(sUrl, nWidth, nHeight)

Simply change:

window.open(sUrl, 'ActPopup', 'width=' + nWidth + ',height=' + nHeight + ',scrollbars, resizable');

to

window.open(sUrl, 'ActPopup', 'width=' + nWidth + ',height=' + nHeight + ',scrollbars, resizable=0');

Save it and exit then update your site

Hope this helps
Kind Regards

robynne
29-Jul-2003, 02:46 PM
Thanks Nadeem.