Here’s the test page, testframe.html:<html><head><meta http-equiv=”Content-Type” content=”text/html; charset=windows-1252″><title>Test page</title><script language=”JavaScript”><!–function openWindowNew( windowURL, windowName) { var windowFeatures=’width=518,height=500,toolbar=0,location=0,scrollBars’ return window.open( windowURL, windowName, windowFeatures ) ;}//—></script></head><body> <a href=”#” onClick=”newWindow = openWindowNew(‘frameset.html?’+escape(‘http://www.myserver.com’), ‘Mywindowname’); newWindow.focus(); return false”>Here’s the link to myserver</a>></html> Here’s the frame page, frameset.html:<html><head><meta http-equiv=”Content-Type” content=”text/html; charset=windows-1252″><title>frame page</title></head><body><frameset onLoad=”top.content.location=location.search.substring(1)” rows=”100%”><frame name=”content” src=”about:blank”></frameset></body></html> Original post blogged on …
How To: Hide title bar or URL usingJavascript Read More »