[Javascript] encode a new window

Kelly jkcravy at cox-internet.com
Mon Aug 6 11:14:25 CDT 2001


How do you encode a new window with
Western European (windows) or (ISO) ?

I have the parent pages but
how to encode popups has got me.

Please help.Thanks, Kelly

(This want work on the new window ? )

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<SCRIPT LANGUAGE="JavaScript1.2" TYPE="text/javascript">
<!-- Hide from None Javascript Browsers
var NewWin=null
function openNewWin() {
         if(NewWin && !NewWin.closed) NewWin.close()
         NewWin=window.open("", "NewWin", 
"menubar=yes,resizable=yes,height=350,width=580,top=100,left=0");
         NewWin.document.write('<html><head><meta http-equiv="Content-Type" 
content="text/html; charset=windows-1252">')
         NewWin.document.write("</head><body>")
         NewWin.document.write("HELP !!!")
         NewWin.document.write("</body></html>")
}
// Finish Hiding -->
</script>

</head>

<body onload="openNewWin();">

</body>
</html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010806/ee1c06b7/attachment.htm>


More information about the Javascript mailing list