|
> From: John Ross > > So are you saying this is not automatic if you add another tab? Nope. Each page is different. > You have to > go back to each page and add the tag and change your common tab row to > include the new tab also? If that is the case I was hoping for a bit more > magic. There is no "magic" in programming. > I use server side includes for my menu (tabs) so if I change it, it > gets changed on all the pages, just by making one change. Which works great if the code is the same on every page. You want the code to be different on every page (that is, a different tab is white). This means the HTML is different. Unless your SSI can handle a parameter to determine which page is selected (and thus include the white tab) then you have to actually write code. This is what I was referring to when I said "a little elbow grease". You have a choice: same menu on every page (which I despise), hardcoded menu on each page (I chose this) or a programmatic menu on each page. You could achieve the latter with a little JavaScript. There's no magic for it. Joe
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.