1
mcmikemc
How to make the current section highlighted in the main menu?
  • 2004/8/16 16:53

  • mcmikemc

  • Just popping in

  • Posts: 19

  • Since: 2004/7/28


Hello,

I am so close to having my new XOOPS page the way I want it I can taste it. There is only one thing left that I want to do. THat is to get a main menu entry to be distinquishable form the others depending on what page your on.

For example,

Say you click on the "Downloads" link in the main menu. On the Downloads page I would like the "Downloads" link to be a different color than the default so that the user knows what page they are on just by looking at the main menu. The same thing should happen depending on what page your on.

So my question is this, to do what I want to do, do I need to hax Xoops, each module that has an entry in the main menu , the theme I am using ( 7dana-jane ) or any combination of those?

2
tjnemez
Re: How to make the current section highlighted in the main menu?
  • 2004/8/16 17:07

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


i wonder if something like this may work? try adding it to your style.css

#mainmenu a:active {
color: #0000FF;
}

a:active MUST come after a:hover in the CSS definition in order to be effective!!


3
mcmikemc
Re: How to make the current section highlighted in the main menu?
  • 2004/8/16 19:18

  • mcmikemc

  • Just popping in

  • Posts: 19

  • Since: 2004/7/28


Well I found three style.css files in my htdocs directory. I added that code your gave me to the very end of each of them and still no luck

I knew I would get almost everything done that I wanted to do and I would get stuck on the very last thing on my list.

I will continue to try to edit the CSS for XOOPS and see if I can get this to work.

But if somebody knows how to do this please speak up and make me a very happy man.

4
Stewdio
Re: How to make the current section highlighted in the main menu?
  • 2004/8/16 19:24

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


It should work, I guess it just has to be placed correctly.

http://www.echoecho.com/csslinks.htm might give you more information.

5
mcmikemc
Re: How to make the current section highlighted in the main menu?
  • 2004/8/16 20:37

  • mcmikemc

  • Just popping in

  • Posts: 19

  • Since: 2004/7/28


Here is a link to the style.css file I just put on a FTP. Maybe you guys can look at it and tell me what I am doing wrong.

ftp://anonymous@207.195.39.227/pub/CSI2/style.css

Thanks again for the help. You guys kick arse.

6
tjnemez
Re: How to make the current section highlighted in the main menu?
  • 2004/8/16 21:02

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


i am not having much luck with ftp link.

7
mcmikemc
Re: How to make the current section highlighted in the main menu?
  • 2004/8/16 21:06

  • mcmikemc

  • Just popping in

  • Posts: 19

  • Since: 2004/7/28


Hmmm?

Well I will put it on the web server and see what happens. One sec.

8
mcmikemc
Re: How to make the current section highlighted in the main menu?
  • 2004/8/16 21:10

  • mcmikemc

  • Just popping in

  • Posts: 19

  • Since: 2004/7/28


Here is a link to the file I just put on my works web server ( hope they don't mind )

http://www.correlatedsolutions.com/style.css

9
tjnemez
Re: How to make the current section highlighted in the main menu?
  • 2004/8/16 22:45

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


well i have been testing and yah its not working. i am working on this issue.

10
mcmikemc
Re: How to make the current section highlighted in the main menu?
  • 2004/8/16 23:09

  • mcmikemc

  • Just popping in

  • Posts: 19

  • Since: 2004/7/28


Quote:

tjnemez wrote:
well i have been testing and yah its not working. i am working on this issue.

WOW!!!

Thank you so very much. I have been playing around with it and I am still not getting it to work. I can't tell you how much I appreciate you helping me man.

Login

Who's Online

206 user(s) are online (131 user(s) are browsing Support Forums)


Members: 0


Guests: 206


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits