|
-
Nov 28th, 2000, 04:56 PM
#1
Thread Starter
Member
is it possible to open an html document in a seperate frame with javascript??
Everyone is a begginer at some time, but we all get our fame.
-
Nov 28th, 2000, 08:13 PM
#2
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";
[VBF RSS Feed]
There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.
If I have been helpful, Please Rate my Post. Thanks.
This post was powered by : 
-
Nov 29th, 2000, 04:37 AM
#3
Frenzied Member
you can also do
parent.frameName.location="filename.html"
where frameName is the name of the target frame of course
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|