PDA

View Full Version : đoạn mã hay đây



Lord_of_monsters
22-07-2003, 11:46
đẻ kích thước trang web luôn là 800 600 bạn cop đoạn mã này vô trang web

<script>
<!--

top.window.moveTo( (screen.Height-600)*2/3 , (screen.Width-800)*2/5);
if (document.all) {
top.window.resizeTo(800,600);
}
else if (document.layers||document.getElementById) {
if (top.window.outerHeight<600||top.window.outerWidth<800){
top.window.outerHeight =600;
top.window.outerWidth = 800;
}
}
//-->
</script>