[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using onLoad



<BODY onLoad="the_onload_routine();" unLoad="the_unload_routine();">

<!-- or however you wish to implement the onLoad unLoad -->

<SCRIPT LANGUAGE="livescript">
<!--
function the_onload_routine() {
     
parent.frames[the_target_frame_index].location="the_desired_onload_FULL_URL";
}

// you can load as many pages as you have frames

function the_unload_routine() {
     
parent.frames[the_target_frame_index].location="desired_unload_FULL_URL";}
<!-- -->
</SCRIPT>

Lee wrote:
> Looks ok, but I really need the onLoad and unLoad event handlers to
> load two different pages in the seperate frame.
> --Lee