Targeting Windows in Javascript Frames


When using Javascript to create a remote control window, remember that the Javascript window does not recognize the standard what the parent (_parent in Frames) window is for targeting.

Rather, when setting up the target page, remember to give it a name. Use the following code as an example on the target page:

	<script language="javascript">
		window.name= "MainPage";
	</script>
This gives the window the name MainPage and now the remote control can access this page using the following format:
	<a href="programming-examples.html" target=MainPage>Programming Examples</a>
Back to the Help Building HTML page.