Hi
This is the code I’m currently using to have a popup at 800×600 in the center of the screen:
[code]
<script language=”JavaScript”><!–
var w = 480, h = 340;
if (document.all || document.layers) {
w = screen.availWidth;
h = screen.availHeight;
}
var popW = 800, popH = 600;
var leftPos = (w-popW)/2, topPos = (h-popH)/2;
window.open(‘index800600.html’,’popup’,’width=’ + popW + ‘,height=’ + popH + ‘,top=’ + topPos + ‘,left=’ + leftPos);
//–></script>
And everything works fine, but i want to allow scrollbars, i tried adding ‘scrollbars=yes’ but it just messed everything up.
Does anyone know where i should put the code,etc.?
thanks