My left frame has all the urls. When I click on it, I like the right frame to navigate to that site.
I did this before but forgot how to do it off the top of my head. It is something
javascript:window
Anyway, hope someone can help.
Thanks
Printable View
My left frame has all the urls. When I click on it, I like the right frame to navigate to that site.
I did this before but forgot how to do it off the top of my head. It is something
javascript:window
Anyway, hope someone can help.
Thanks
in the frameset, give the right frame a name (name="maincontent")
in the navigation-file use the following in your HREF tag: target=maincontent (frame names are case sensitive)
if you want to you can post this in your HEAD area: <base target=maincontent> so you don't have to use target=maincontent in every link
hope that helps ;)
Thanks for your solution.
Also, instead of using the anchor tag, how would I do it with a button?
Thanks
parent.frames.yourframename.document.location='yourfile'
should do the job ;)
That goes into the Onclick event of the submit button right?
Thanks Quentin! :)
np ;)
right, you can also put it in a function so you just have to say onclick="myFunction('file.html')"
just for code optimizing ;)
I like the method you showed for the anchor tag but I guess that can't be done with a button.
Quentin, thanks for your dedication to this thread. You enlightend the solution for me. Have a nice day. :)