Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

auto closing window - why this error?

Status
Not open for further replies.

RufusCobb

Programmer
Sep 23, 2002
11
US
The window auto closes fine, but DW finds an error in this tag: <body onload=&quot;closeMe()&quot;>. Here is complete script:

<script>


var howLong=10000;
t = null;
function closeMe(){
t = setTimeout(&quot;self.close()&quot;,howLong);
}
</script>

</head>


<body onload=&quot;closeMe()&quot;>

blah blah blah


</body>
 
[tt]
If the script is working fine, let it be. Dreamweaver many time finds error in scripts IT does not produce.

<%=Tony%>
banana.gif
rockband.gif
banana.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top