Help - Search - Members - Calendar
Full Version: Faq Html
MonsterSmallBusiness Forums > MonsterWebDesign > Designing Your Storefront
edc
I'm trying to create FAQs where all the "tag links" don't display as used once you open the Html page. I know I've seen sites that do this, but damn if I can find one to "view source" (and go to school) now that I want to set one up.

Being a newbie, the only idea I've been able to come up with is to have each FAQ subject open in a new window. This should work, but I'd much rather keep it on the same window and page, but still keep all the links from changing color until they are actually clicked.

Does anyone know how to do this, know where I can find a tutorial on it or even just a link to a site that does this where I can view the source?

Thanks in advance.
Ed
newageweb
I never gave it much thought, but it's very rare for my links to change color to show that they have been visited. This is very easy to do, you just need to use CSS (Cascading Style Sheets) which monstersmile.gif uses a few of.

It gets a little more complicated with monstersmile.gif since they have a lot of defined styles, but once you know which style is used where, it's really not hard at all.

If your FAQ links are going to be in the sidebar with your category links etc, then that style is class="navbar" and on one of my sites I have them set to:

.navbar:link {color: navy;

text-decoration: none;
font-family: verdana, arial;
font-size: 9pt;
}
.navbar:visited {color: navy;
text-decoration: none;
font-family: verdana, arial;
font-size: 9pt;
}
.navbar:active {color: navy;
text-decoration: none;
font-family: verdana, arial;
font-size: 9pt;
}
.navbar:hover {color: green;
text-decoration: none;
font-family: verdana, arial;
font-size: 9pt;
}

This will change the color when you mouseover, but since the "visited" is the same as "link" and "active" it will not change color once the link has been visited or if it's the page you are on. BTW: You can see this style sheet in use at the book site in my sig.

Download the current "style.css" from your site and edit away. (You might want to back it up before you start.) Make changes and/or define new styles as you see fit. Keep in mind that unless you code your own HTML section from scratch that you will not be able to define and use your own styles... also that some styles used by monstersmile.gif are used in more than one section, so be aware that a change in color or size might not look good on other parts of the page.

Note on the left sidebar you can add the URL and name for a link, but you can not define a different CSS class since you can not edit that part. See the left and right links and how they have different classes though? You can only do different things if you can edit all the HTML, which you can do in one section on each side. The XRamp Seal on the left is also a custom HTML section, though not using CSS.

Oh, a good teaching tool (if you have FireFox) is to get the "Web Developer Toolbar" which allows you to really check out a page by viewing: Style Sheets, ID's and Classes as used on the page and SO much more.

Get FireFox

Get Mozilla / FireFox Extensions - Web Developer is a top 5 usually

More info about Web Developer Extension
TNTGram
On an FAQ page wouldn't you just want the Questions to just "jump" to the answer rather than worry about the link colors? Just a dumb question-what do I know!

Also could someone give a brief explanation of the difference between Mozilla and Mozilla Firefox. I just got the browser and thought they were one and the same! I know just enough to be dangerous... unsure.gif
Jean
newageweb
QUOTE
Also could someone give a brief explanation of the difference between Mozilla and Mozilla Firefox. I just got the browser and thought they were one and the same!
They are similar, but not quite the same. If you just want a web browser, then I would use FireFox, even though it is still in beta.

Mozilla has lots of other features such as email and newsgroups and more that I never use. FireFox is just a web browser. It's a lean, mean surfing machine - though you can and in my case really enjoy adding tiny snippets of code called 'extensions" to add more features to it. (Many work with Mozilla too, but a lot more in FireFox as I understand it) but the point is that YOU can control what it does, not the programmers who cram a ton of "features" into the program that you will never use or just bloat and slow down the program.

You can even run FireFox from a thumbdrive so you can take it and your bookmarks etc. with you. This also means you don't have to even install it, though these are features for advanced users. rolleyes.gif
edc
John,

Thanks! clapping.gif I knew it must be fairly easy to do for those with a clue.

BTW, regarding browsers...there's no zealot like a convert, is there. LOL I like Mozilla a lot, but haven't tried Foxfore. Now that I'm developing a site I'm trying to stick with MSIE. I figure since 99% of my customers will be using MSIE, I want to see the world (especially my site) the same way they do.

Thanks again. thumbsup.gif
Ed
edc
QUOTE (TNTGram @ Jul 24 2004, 09:31 AM)
On an FAQ page wouldn't you just want the Questions to just "jump" to the answer rather than worry about the link colors?  Just a dumb question-what do I know!
Jean,
I agree the "jump" working is the first desired feature of a FAQ...and I have that working fine. However, since I have more than a few subjects in some FAQs, I would prefer to also color-code the links as "viewed" or "not viewed" so that it is easier for users to find their place when "jumping" back and forth within the FAQ.

Anyway that's my objective.
Ed
newageweb
Years ago I wanted Netscape to win, I loved the underdog, but of course in the end they could not compete with MSIE. Now, they sort of have done just that. Mozilla and now FireFox are competing. No, they may never have the percentage of use that MSIE has (despite everyone warning not to use MSIE right now) but for the most part, sites do look the same. I have seen a few minor differences of course, but nothing major.

I design web sites for a living and do still use MSIE, but only to test out sites I make. Just as before I tested in Netscape etc. to make sure there was no major flaws, I do that with MSIE now.

For everything else, day to day use... I am proud to say I use FireFox and really can't think of any reason to ever go back. Besides not being able to save a link to the desktop, I can't think of any feature I miss. And FireFox, despite being a beta has actually froze and crashed less than MSIE, loads a lot faster and has a TON of extra features.

Added: I just browsed the extensions and installed more goodies. Oh, I can now save links to my desktop again. Now MSIE has nothing on FireFox! whistling.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.