You are not logged in.
Pages: 1
Yeah yeah, it's not a true programming question but I figured you guys could help. Basically, I have a html page with two iframes (named "leftframe" and "rightframe" in it). How do I get a link in "leftframe" to open up a page in "rightframe"? If I simply do
<a href="blah.html" target="rightframe">link</a>
it doesn't work, presumably because "rightframe" is defined on the parent page.
Thanks in advance..
I am a gated community.
Offline
did you do something like this for the frame?
<HTML>
<HEAD>
<TITLE>Frames</TITLE></HEAD>
<frameset cols="25%,75%">
<frame name="leftframe" src="leftside_index.html">
<frame name="rightframe" src="rightside_index.html">
</frameset>
</HTML>
your code you provided above should go in the "leftside_index.html" file.
Offline
or something like this might help, tho it's JS:
document.getElementsByName('myrightIframe')[0].src="http://url.org/file.html"
I recognize that while theory and practice are, in theory, the same, they are, in practice, different. -Mark Mitchell
Offline
god i'm such an idiot, nevermind. i had both frames listed as "rightframe". sigh. :oops:
someone delete this heh.. and thanks guys. i can't believe i actually spent 45 minutes trying to figure this out.
I am a gated community.
Offline
heh. i spend almost an hour sifting through some obscure perl program trying to find an issue. found the fix in a spanish web forum (I don't read much spanish..so that was fun too), and the fix eventually amounted to deleting 3 characters.
that is one character per 20 minutes! w00t
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
Pages: 1