|
-
Feb 21st, 2001, 12:42 PM
#1
Thread Starter
Addicted Member
Hello!
I'm currently developing a page which has 3 frames.
The thing I'd like to do is:
When one page loads in one frame, it changes page in second frame. How can I do this in JScript?
Hope anyone knows.
Zvonko Bostjancic
Ilirska Bistrica, Slovenia
[email protected]
Using VS6 Professional with SP3
Programming mostly in VB and I've started to learn VC++ & MFC
-
Feb 21st, 2001, 05:58 PM
#2
Hi,
I am not sure what are you trying to do. Are you trying to load two pages in two frames with one click, or do you want to redirect to a page/url when a frame is loaded.
If you want to change/load two pages in two different frames with one click, here is the code.
Assuming that you have 3 frames the are named as 'main', 'right' and 'menu'.
Now from the menu page you can use this script to load two frames with one click.
<a href=javascript:two()> Click Here</a>
------------------------------------------------------
function two() {
parent.main.location.href= 'first.htm';
parent.right.location.href= 'second.htm';
}
------------------------------------------------
Hope this helps
Last edited by Danial; Feb 21st, 2001 at 06:33 PM.
[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 : 
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
|