|
Anyone able to help me with this: I am loading an html page that contains a tree menu into the left hand frame of set. I need this event to trigger the loading of another html page into the right hand frame.
Thanks
|
|
|
Paul, there are of course several strategies that would work, but here is one. If you want something to happen in the right frame after the left frame loads, then in the left frame source, include some javascript like this.
<script language=javascript>
LoadTrigger() {
top.RightFrameName.location = "MyPage.html";
}
window.onload = LoadTrigger;
</script> |
|
You could always fire this in the body tag of the left frame like this:
<body onload="top.RightFrameName.location = 'MyPage.html'"> |
|
I prefer the first because it gives you a function where you can easily add several things if you want.
|
|
|
|
|
|
|
|
|
|