Click to See Complete Forum and Search --> : loading a page to specific frame


shvonne
August 6th, 1999, 02:07 AM
anyone know how to load a html page to a specific frame when a link is clicked?

Ting Chen
August 6th, 1999, 02:22 AM
<a href="your link" target="your frame">

shvonne
August 6th, 1999, 03:00 AM
hai ting chen..

i tried it but didn't work... it load my page to a new window...

Ting Chen
August 6th, 1999, 03:09 AM
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.

shvonne
August 6th, 1999, 03:39 AM
thanks ting chen.. it works.. i made a mistake where i used id instead of name in the frame tag..

see ya ^o^