estesflyer
Programmer
I keep getting this message, I really doubt it has anything to do w/ the code, but I thought, waht the heck. btw, someone told me that I needed to clean out my buffer or something like that, but that is all she said.
TIA
- Rusty
<html>
<title></title>
<script language="javascript">
<!--
function openwin()
{
var name=window.prompt("What is your first name?","Fred"
var color=window.prompt("What background color do you want?","orange"
var newin=window.open("","newindow","width=300,height=500,status=yes"
newin.document.write("<html>"
newin.document.write("<head>"
newin.document.write("<title>Hey " + name + ", thanks for dropping in!</title>"
newin.document.write("</head>"
newin.document.write("<body bgcolor=" + color + ">"
newin.document.write("<h1>here is your customized window, " + name + "</h1>"
newin.document.write('<a href="#" onClick="self.close";>Click here to close this window</a>');
}
//-->
</script>
</head>
<body onLoad="openwin()">
hello world!
<script language="javascript">
<!--
//-->
</script>
</body>
</html>
TIA
- Rusty
<html>
<title></title>
<script language="javascript">
<!--
function openwin()
{
var name=window.prompt("What is your first name?","Fred"
var color=window.prompt("What background color do you want?","orange"
var newin=window.open("","newindow","width=300,height=500,status=yes"
newin.document.write("<html>"
newin.document.write("<head>"
newin.document.write("<title>Hey " + name + ", thanks for dropping in!</title>"
newin.document.write("</head>"
newin.document.write("<body bgcolor=" + color + ">"
newin.document.write("<h1>here is your customized window, " + name + "</h1>"
newin.document.write('<a href="#" onClick="self.close";>Click here to close this window</a>');
}
//-->
</script>
</head>
<body onLoad="openwin()">
hello world!
<script language="javascript">
<!--
//-->
</script>
</body>
</html>