Help

hey

i had a question earlier how to make a popup window

and i got this answer

PHP:--------------------------------------------------------------------------------
window. open(URL,Name,status=yes,resizable=yes,width=500,height=500’);


(change the url and the name)

to resize the window:

PHP:--------------------------------------------------------------------------------
window.moveTo(0,0);
if (document.all) {
top.window.resizeTo(screen.availWidth,screen.availHeight);
}
else if (document.layers||document.getElementById) {
if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}

i faund another html code that i understood how to use

<p><font size=“1” face=“Verdana, Arial, Helvetica, sans-serif”><a href=“index2.htm” target="_top"onclick=“window.open(‘goingflash.htm’, ‘RIC’,‘width=1024,height=768,resizable=yes’);return false;”>enter</a></font> </p>

but how can i get this pop up window to auto fit my screen or anyone elses screen.

when i press “enter” the window pops up, but its kinda annoying that it doesnt fit perfectly. I have to move it so that it fits.

anyone got a tip what to change in my php/html code?

thanx for helping:player:

ops here is the code i talked about