PHP Code:
<!doctype html public "-//W3C//DTD HTML 4.01 TRANSITIONAL//EN">
<html>
<head>
<title>generator</title>
<script type="text/javascript" language="javascript">
function windowMaker()
{
newWindow=window.open("", "", "height=50, width=300, toolbar=no, menubar=no");
newWindow.document.write("<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 TRANSITIONAL//EN'>" +
"<html><head><title>generatorChild<\/title><\/head>" +
"<body bgcolor=red>Baby window<br /><br /><form action='#'>" +
"<input type=button value='Close' onclick='self.close();'\/>" +
"<\/form><\/body><\/html>");
newWindow.document.close();
self.name="childWindow";
}
</script>
</head>
<body bgcolor="white">
<form action="#">
<input type="button" value="Test" onclick="windowMaker();"/>
</form>
</body>
</html>
Loads faster, had to try.
Bookmarks