hello need a hand loading a page into a differant iframe using onLoad:
I have two Iframes on a page and some links, the first iframe is called 'Main' the other called 'arrow', what i am trying to do is when i click a link which loads up content in the main iframe once that page is loaded it loads up content into the other iframe i.e.'arrow'
ive been tying it with this:
<script language="JavaScript">
<!--
function MM_goToURL() { //v3.0
var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
//-->
</script>
onLoad="MM_goToURL('parent','file: blank.htm');return document.MM_returnValue">
OR - could is it possiable to load two seperate pages into two seperate iFrames using one link ?!?
but of coase this just loads it into the current iframe.
Yes its macromedia, (god help me).
I have two Iframes on a page and some links, the first iframe is called 'Main' the other called 'arrow', what i am trying to do is when i click a link which loads up content in the main iframe once that page is loaded it loads up content into the other iframe i.e.'arrow'
ive been tying it with this:
<script language="JavaScript">
<!--
function MM_goToURL() { //v3.0
var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
//-->
</script>
onLoad="MM_goToURL('parent','file: blank.htm');return document.MM_returnValue">
OR - could is it possiable to load two seperate pages into two seperate iFrames using one link ?!?
but of coase this just loads it into the current iframe.
Yes its macromedia, (god help me).
Comment