piano1234
11-09-2003, 07:33 AM
And, how to back that window to the top?
Q:
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:
in the second window buttons on click event,before the return false statement add the following so that it woill look like this
Q:
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:
in the second window buttons on click event,before the return false statement add the following so that it woill look like this