View Full Version : text color in a table/frame
03-07-2002, 03:55 PM
While I'm still working on my last menu question, I've got another for all you smart people out there, probably much more simple: I have a sequence of pages which all have the same frame on the left ("Products"). What I want to happen is that when you click on, say, "Chairs" in the left frame, it brings up the "Chairs" page in the right frame but it also makes the word "Chairs" in the left frame be a different color than the other text in that frame, highlighting the fact that you're looking at chairs. And then this would continue--when you clicked on "Tables" in the left frame, the "tables" page would come up in the right frame and the word "tables" in the left frame would be a different color (and the word "chairs" would go back to being the same as the rest), and so on for all of them. I'm sure this is easy, but all I've been able to figure out on my own is to make new pages for each--which seems entirely too redundant.
You seem to have a number of questions here so lets try on bit at a time.
Whether a hyperlink text changes colour depends on whether you use themes or not and therefore what you have to set.
If you don't use themes you can right click on the page and select page settings and then the background tab. You will see this allows you to set a colour for a selected link.
If you use themes the settings are made within the theme.
However, are you using text in your left hand frame page, or are you using hotspots on a picture? I don't think you can change the colour of the hotspot text (at least, not within normal FP functions.) However a selected hot spot will show a border around the text.
I can't tell from your question whether you are having a problem getting the frames function to work properly. If you are please respond back.
03-14-2002, 01:14 AM
I had the same problem and ended up using different pages like you!! But it can be done with asp, I would like to boast that I know how and post the code here - Hee! that would be cheating though becauase I dont. Check out this link, someone here wanted each link to be greyed out when on that particular page. If this is the sort of thing you want, and you dont understand it, then shout and I will make sure Bud or one of the others sees the posting and can step in and assist.
Is the problem that complex? I must have misunderstood what Nessa wanted because initially it looked like a straightforward problem of changing link colours. Will be interesting to hear what Nessa replies. Bit you know me and frames! I am about to start a "Save our Frames" movement. How about a whole section devoted to Frames, cos I know you love 'em really! :D:
03-19-2002, 03:34 PM
I've tried doing the active link thing, and it does sort of work--except that when you click anywhere else on the page (not necessarily on another link) it apparently makes it "inactive" because the link goes back to its original color. MandyJay, I took a look at that other guy's question, but really didn't understand much of it. Here's a link to a page that does what I want (there's a menu going down the left side of the page...click on "tables", for example, and you're taken to the Tables page with the same menu going down the left hand side, only "tables" is now red instead of black--this is the effect I'm looking for).
03-19-2002, 11:51 PM
Looking at athe source code for that link, the person has done their menu using images and mouse overs, not text, and each page has the menu repeated, with just the required image changed. He uses mouse overs becuae he has the link changing colour on hover. If you do not require the hover colour to change then just images will do, no mouse over. But the menu is repeated on each page. Its like the menu on my site, that is done with images, but inserted on each navigation page showing the current link a different colour.
03-20-2002, 06:53 AM
So...does that mean that instead of using frames, I should just have the same vertical menu on each page, but change the image/word each time?
03-20-2002, 07:07 AM
Well unless someone comes up with a different method - yes! There is no reason at all to have frames under those circumstances. Have a left navigation cell and have your navigation/images in that. With my script site, all that left menu is one image, not several images, I made one for each section, making sure the colour was different for the text for each page, I didnt use lots of different images on each page. Although I dont use a mouse over, you would only require two images per page for that. I am sure there must be a way to code what you want, but I don't know what it is, but does it really matter if you can get away with using a couple of images instead - :?:
Powered by vBulletin® Version 4.1.12 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.