thevbuser
Nov 28th, 2000, 03:56 PM
is it possible to open an html document in a seperate frame with javascript??
Danial
Nov 28th, 2000, 07:13 PM
Yes,
There is many ways of doing it, you can simply use the "Target" property to do it or you can use the JavaScript.
HTML
-------------
<frameset cols="20%,*">
<frame src="one.htm" name="one">
<frame src="two.htm" name="two">
</frameset>
<a href="new.htm" target="two">Click here</a>
JavaScript
-------------
parent.frames[1].document.location.href="http://www.vb-world.net";
Mark Sreeves
Nov 29th, 2000, 03:37 AM
you can also do
parent.frameName.location="filename.html"
where frameName is the name of the target frame of course