Hmm. That seems like two different questions. Well, the first part (controlling a div in another frame):
Controling iframes is possible using javascript. You would need to reference the frame you want to manipulate in a similar way to how you would reference a div or span tag. Here is an example taken from this tutorial:
Code:
function ShowWebSite(val)
{
document.all.myFrame.src=val;
document.all.myFrame.style.visibility="visible";
}
Read the tutorial for more.
As for linking, put a target in the anchor tag. ie:
Code:
<a href="SomeSite.com" target="MyFrame">Click Me!</a>
By default the target is "_top" if I am not mistaken, which tell the browser to change the whole page. You can also have the link open in a new window with the target, but popup blockers usually don't allow that.
Bookmarks