anyone know how to load a html page to a specific frame when a link is clicked?
Printable View
anyone know how to load a html page to a specific frame when a link is clicked?
<a href="your link" target="your frame">
hai ting chen..
i tried it but didn't work... it load my page to a new window...
Hello,
it should work, anyway it works bei me, you can see it work at http://www.geocities.com/TimesSquare/Portal/3214.
Well, how do you do it?
You define a frameset like this:
<frameset>
<frame ... name="my frame1">
...
</frameset>
And now your link:
<a href="my link" target="my frame1">
Is this ok?
If a new window is open, then you used target="_blank". The names _blank, _parent and _top are predefined and you should not use them.
Hope that helps.
Greetings
Ting.
thanks ting chen.. it works.. i made a mistake where i used id instead of name in the frame tag..
see ya ^o^