Discussion Locked

Updating frames

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am developing a web site in which more than two or more frames need to be updated at the same time from one link. How can I accomplish this?

Gene

1 reply

by mark

You can do this using a small piece of Javascript Code:

Click Me

Then in th e section of the same page add:

Now, when the link is clicked, the first frame will load 'page1.html', and the second frame will load 'page2.html'.
However, if you've named you FRAMES within your FRAMESET, then you could use:

parent.frames['framename'].location="page1.html";

Hope This Helps!

Kind Regards,
Mark Harrington,
The WebWizard - A 'Fully-Featured' HTML Editor for your WebBrowser!
Check us out at: http://www.the-webwizard.co.uk/

This discussion is closed to new replies.