Click to See Complete Forum and Search --> : how can a menu selection load a url in frame?


bdikkat
03-13-2003, 03:00 PM
this one's really simple to you experts, but i can't find it anywhere: how do i make a menu selection (with a "go!" button) load a url into a different frame? (told you it was simple!) thanks in advance

AdamBrill
03-13-2003, 03:38 PM
Are you talking about a link or a onclick? With a link it would be like this:

<a href="page2.htm" target="framename">Page2</a>

In the onclick, it would be like this:

onclick="top.framename.location='page2.htm';"

That should work for you...

bdikkat
03-13-2003, 04:02 PM
thanks, but it's like:

imagine a "site" made from two frames. One frame has a dropdown menu with a "go!" button. When the user makes a selection from the drop down menu, and clicks the "go!" button, the selection's URL loads in a different frame....

bdikkat
03-13-2003, 04:22 PM
Thanks, but I got it OK