Can anyone tell me how to do this?
Any help would be greatly appreciated.
If that's all you're want do you could just use the
target="framename" in plain html.
But if you want a function anyway you can use something like this:
<script>
function otherframe(newpage){
top.framename.location.href=newpage;
}
</script>
<a href="javascript:otherframe('new_page.html');">test</a>
where framename is the name of the frame you want to load the new page
into, and new_page.html is .... well :)
Use the following funcion in document where the links are:
<SCRIPT LANGUAGE="JavaScript">
<!--
function update(loc1,loc2) {
parent.frames[3].location = loc1;
parent.frames[1].location = loc2;
}
//-->
</SCRIPT>
Then on the links use the followling:
<A HREF="javascript:update('readmeC.htm','readme.htm');">ReadMe</A>
When "ReadMe" is clicked, document "readmeC.htm" will load in frames[3]
and readem.htm in frames[1].
You will have to work out which frame numbers to use.
--
Books a.k.a. Chris Young
505 E. Arvada Apt. #104 719-447-1333
Colorado Springs, Co. 80906 bo...@rmi.net
http://rainbow.rmi.net/~books/
Martin said "Shall I be King?"
Amos laughed, "I have two thoughts on that, Martin. First, it's always
better to be captain than deckhand, which is why I'm a captain and not a
deckhand. Second, there's some difference between a ship and a kingdom."
_Magician Master_ Raymond E. Feist