473,782 Members | 2,458 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

highlight a menu item in frameset?

I have a page with 3 frames. The left one is the navigation, the top one is
the graphic and title, the lower-right one is the content area.

I'm wondering if it's possible to add a highlight to the menu item that its
content is currently displayed in the right side. Since it's only 1 file
for the navigation, it has to know what was clicked last and use a
highlight graphics for that button after it was clicked or be able to
detect its current content in the righthand side so it would display the
right state if the user click "Back" button.

Any suggestions and examples?
TIA,
cpliu
Jul 20 '05 #1
3 2899
In post <be************ @ID-46967.news.dfnc is.de>
cpliu said...
I have a page with 3 frames.


remove them

http://html-faq.com/htmlframes/?framesareevil
http://homepage.ntlworld.com/l_vajzo...eb/frames.html
http://stone.thecoreworlds.net/www/frames/
--
brucie a. blackford. 08/July/2003 09:03:21 am kilo.
http://loser.brucies.com/
Jul 20 '05 #2
I appreciate your suggestions on the usability isses in using frames. Like
the articles stated, using frames has a few advantages like easier to
maintain the menu and that's the exact reason I chose it. Last time when I
used table, I found it was a lot of hassle to maintain the menu when there
were multiple revisions. I had to copy and paste on each individual file
and change the links with each revision. I tried SSI but I have to ask the
system administrator to activate it on a Linux server and so far it is not
done. I don't think ASP is support on Linux, right?

Technically, I'd like to learn if it's possible to be able to highlight the
menu item that you're currently on. Javascript?

Thanks again for any suggestions!
cpliu
Jul 20 '05 #3
cpliu wrote:
I appreciate your suggestions on the usability isses in using frames. Like
the articles stated, using frames has a few advantages like easier to
maintain the menu and that's the exact reason I chose it.
Other methods to do the same thing... without the side effects:
http://stone.thecoreworlds.net/www/frames/#worm

I tried SSI but I have to ask the
system administrator to activate it on a Linux server and so far it is not
done. I don't think ASP is support on Linux, right?
Wrong. There are several ASP solutions for Linux, some free, some
commercial.

I'd go with a preprocessor.
Technically, I'd like to learn if it's possible to be able to highlight
the menu item that you're currently on. Javascript?


I use a preprocessor for this. It doesn't generate a link for the current
page (just a non-linked menu item). My style sheet highlights the
non-linked item.

--
David Dorward http://david.us-lot.org/
Redesign in progress: http://stone.thecoreworlds.net/
Microsoft announces IE is dead (so upgrade):
http://minutillo.com/steve/weblog/20...ces-ie-is-dead
Jul 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
3412
by: MP Multimedia | last post by:
Hello everyone, I need help. I'm using a hierarchical menu made in javascript. When I used it in a one frame page, it came out fine. But now I need to change my page to 3 frames: a top frame, a left frame and a right frame. The menu is on the top frame and when hovering the categories, the sections appear under the left and right frame. How do I solve that problem? (I use Dreamweaver.) Thanks for all your answers.
13
5030
by: elad | last post by:
Hi The Menu doesn't work properly when I have 2 frame and the Menu popup frame=document target frame, when I choose item in the menu the doc opened and the menu get stuck. Here is the code I'm using: FrameSet ------------------------------------------------------- <html>
10
2035
by: John Ortt | last post by:
Hi Everyone, I have created a Javascript menu for my site which uses frames. The first stage loads fine but I want two drill down menus ("About Me Menu" and "Projects Menu"). The pages load fine, but the images aren't displayed, instead the alt text is shown. The images come up after you "Mouse Over" them but not before......can anybody spot any errors in my code which could be doing this please. For info, I have 4 images for each...
15
2200
by: 50295 | last post by:
Hi everyone, This one is better experienced than explained, so I'm including a code sample below. Please and save (as an html file) and view with NN or Firefox (or maybe even Mozilla), and then view. When loaded: (1.) Place the mouse over "Top Menu" item. (The menu opens) (2.) Move to any of the sub-menu items. (3.) Click on the left or right (but NOT on the text) of the current
0
1076
by: Woody Splawn | last post by:
We have a Winform with Menu items across the top. There are a number of menu items all horizontal across the top. When an item is selected things change in the bottom part of the screen. It would be helpful if when the user selects a top level menu item if that item were highlighted or bolded or otherwise setoff in someway. Is this possible? Is it possible to have a top level menu item highlighted or setoff when it has been selected?
1
1393
by: Joseph Scoccimaro | last post by:
Currently I am able to add my menu to a frameset that just uses rows with this code: if (window == top) { //this obtains the body tag element of the document var theBody = document.getElementsByTagName('body'); //this inserts our menu as the first element in the body theBody.insertBefore(menuDiv, theBody.childNodes);
2
1974
by: camelot | last post by:
Hello, I've got a problem and I hope someone could help me. I have a page that contains frames. Below a piece of code: .... <FRAMESET COLS="120,*"> <FRAME NAME="menu" SRC="menu.html" > <FRAME NAME="main" SRC="main.html"> </FRAMESET> .... The page menu.html contains the following code:
0
1445
by: nomad | last post by:
Hi, I have the menu below. I was wondering if it was possible to highlight the selected child menu item when the user hovers over it? <span id="MainMenuHolder" onmenuitemclick="OnClick" style="width:100%; clear:both;"> <asp:Menu ID="MainMenu" runat="server" Orientation="Horizontal" BackColor="#E3EAEB" DynamicHorizontalOffset="2" Font-
0
10313
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10146
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9944
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7494
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6735
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4044
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3643
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2875
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.