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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can't view source localy?

Status
Not open for further replies.

glenmac

Technical User
Jul 3, 2002
947
CA
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.
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>
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top