buttons in frame |
buttons in frame |
Tony Vella |
Apr 7 2014, 08:54 AM
Post
#1
|
Group: Members Posts: 3 Joined: 7-April 14 Member No.: 20,694 |
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. This post has been edited by Tony Vella: Apr 7 2014, 08:56 AM |
Frederiek |
Apr 7 2014, 09:45 AM
Post
#2
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
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 |
Apr 7 2014, 10:01 AM
Post
#3
|
Group: Members Posts: 3 Joined: 7-April 14 Member No.: 20,694 |
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 |
Apr 7 2014, 10:01 AM
Post
#4
|
. Group: WDG Moderators Posts: 9,653 Joined: 10-August 06 Member No.: 7 |
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. |
Frederiek |
Apr 7 2014, 10:03 AM
Post
#5
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
What kind of button would that be? Anyway, even normal links can be made to appear as a button, using CSS.
|
Tony Vella |
Apr 7 2014, 10:20 AM
Post
#6
|
Group: Members Posts: 3 Joined: 7-April 14 Member No.: 20,694 |
Thank you very much one and all.
|
Lo-Fi Version | Time is now: 18th April 2024 - 10:28 PM |