Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Hot Buttons to display a single frame

Status
Not open for further replies.

markeddy

Technical User
Mar 15, 2001
7
GB
I am using Frontpage 2000 and trying to use hot buttons to display a single frame within a frameset but the frame I link to just fills the page.

I believe I can create a small java script to overcome this problem???
 
i don't understand your problem, even tho now i know it's hover buttons
could you precise the problem ?
 
I have a frameset containing 3 frames. 1 frame is a banner, 1 is a menu and the other is the main area that changes.

If i use simple hyperlinks from my menu, i can change the content of the main page without any problem, and still display both banner and menu.

If I use hover buttons with a link to the page i want displayed, it displays the single page on the whole screen and not in the main frame thus overwriting my banner and menu.
 
ok !
go inside the code ... precise the TARGET attribute for all A tags :
<a href=&quot;newPage.html&quot; target=&quot;name_of_the_frame_in_which_you_want_newPage_to_be_displayed&quot;>
if this is not enough, then it's because the page are adressed from the jscript code ... you have to find where, and instead of : ???.location=&quot;newPage.html&quot; you have to write : name_of_the_frame_in_which_you_want_newPage_to_be_displayed.location=&quot;newPage.html&quot;
if this is not enough, then you missed one or two A or location ;]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top