Help - Search - Members - Calendar
Full Version: buttons in frame
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
Tony Vella
I am experimenting with frames. I want a three-frame set with 3 horizontal frames.
The top frame (mainlogo) will be an unchangeable LOGO frame: name of site, email contact, etc.
The middle frame (buttons) would contain a series of buttons of different names and sizes.
The bottom frame (narrative) would show the file corresponding with the particular button clicked.
For example:
A button in the middle frame would be called "White Nights".
When I click this "White Nights" button I would like the file white_nights.html to open in the bottom frame.
I have played around a hundred different ways and I can't get it to work.
Any help appreciated in advance.

I have IE, Chrome and Firefox to play with.
Frederiek
See the FAQ entry How do I make a link or form in one frame update another frame?
But also look at the entry Are there any problems with using frames?
Tony Vella
Thanks very much for the link to the FAQs. Not a single mention of buttons. I can easily create a link in one frame to update another frame; what a cannot do is use a button to do it.
Christian J
If you mean form buttons, see http://htmlhelp.com/faq/html/links.html#button-link --then add a TARGET attribute to the form just like with links:

CODE
<form action="white_nights.html" target="narrative">

That still doesn't make frames usable, though. wink.gif
Frederiek
What kind of button would that be? Anyway, even normal links can be made to appear as a button, using CSS.
Tony Vella
Thank you very much one and all.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.