piano1234
11-08-2003, 03:25 AM
I have:
<a href="#" onClick="MyWindow=window.open('01.html', 'MyWindow', 'toolbar=0, location=0, directories=0, status=0, menubar=0, scrollbars=0, resizable=0, width=750 , height=500 ' ); return false;">
AND
<a href="#" onClick="MyWindow=window.open('02.html', 'MyWindow', 'toolbar=0, location=0, directories=0, status=0, menubar=0, scrollbars=0, resizable=0, width=500 , height=300' ); return false;">
_______________
When I pressed first button, new window is opened, and dimensions was 750x500. I did not close first window,
then I pressed second button but dimensions was the same.
I want when second button is pressed to chance dim of window to its regular. Is it possible?
<a href="#" onClick="MyWindow=window.open('01.html', 'MyWindow', 'toolbar=0, location=0, directories=0, status=0, menubar=0, scrollbars=0, resizable=0, width=750 , height=500 ' ); return false;">
AND
<a href="#" onClick="MyWindow=window.open('02.html', 'MyWindow', 'toolbar=0, location=0, directories=0, status=0, menubar=0, scrollbars=0, resizable=0, width=500 , height=300' ); return false;">
_______________
When I pressed first button, new window is opened, and dimensions was 750x500. I did not close first window,
then I pressed second button but dimensions was the same.
I want when second button is pressed to chance dim of window to its regular. Is it possible?