I'm curious if anyone can tell me why I can't view the source of this document I got from the MSDN website localy. I've never before seen his behaviour.
When I open this document localy in IE and try view the source nothing happens but when I load it online from my server I can. Anyone know why? Is there something wrong with my puter setup?
Glen
Code:
<html>
<head>
<SCRIPT LANGUAGE="JScript">
var oPopup = window.createPopup();
function window_onload() {
var oPopupBody = oPopup.document.body;
oPopupBody.style.backgroundColor = "lightyellow";
oPopupBody.style.border = "solid black 1px";
oPopupBody.innerHTML = "Display some <B>HTML</B> here.";
oPopup.show(100, 100, 200, 50, document.body);}
</SCRIPT>
</head>
<body onload="window_onload();">
<p>Test</p>
</body>
</html>
Glen