By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,767 Members | 1,198 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,767 IT Pros & Developers. It's quick & easy.

I want to mark the links to the current page

P: n/a
Please review
http://www.members.iinet.net.au/~abe.../TempMain.html and
http://www.members.iinet.net.au/~abe.../TempActy.html They both
use city.css in the same directory, and are both templates.

Both have menus on the left, and both show the hover effect by
reversing the colour and background colour and the border colours. I
have been able to show that the home page link is the current page in
TempMain.html by greying out the text and by preventing the colour and
border changes. I'd like to produce the same effects in
TempActy.html, but because the submenu is already a class I can't work
out how to do so. Can any one help? Thanks in advance.
Regards, Alex

Jul 20 '05 #1
Share this Question
Share on Google+
9 Replies


P: n/a
Alex Bell wrote:
Please review
http://www.members.iinet.net.au/~abe.../TempMain.html and
http://www.members.iinet.net.au/~abe.../TempActy.html


I've replied in CSS-D

--
Little Dave
http://www.daveholloway.co.uk
Everyone feel free to add me to your instant messengers:
MSN: da**********@spamcop.net, YAHOO: da**********@yahoo.com, ICQ: 104452444
Jul 20 '05 #2

P: n/a
On Sun, 07 Mar 2004 11:38:24 +0000, Little Dave <da**@seess.co.uk>
wrote:
Alex Bell wrote:
Please review
http://www.members.iinet.net.au/~abe.../TempMain.html and
http://www.members.iinet.net.au/~abe.../TempActy.html


I've replied in CSS-D


What's CSS-D? Why not reply here so we can all read it?

--
steg
Jul 20 '05 #3

P: n/a
steg wrote:
What's CSS-D? Why not reply here so we can all read it?

By jove! That is a good idea!

"Give <body> an ID on each page e.g. <body id="badminton">

Give all the links in your submenu an ID - they are unique after all..

<a href="badminton.htm" class="submenu" id="lnkBadminton">Badminton</a>
In your CSS... target the active link on each page like this:

#badminton #lnkBadminton {whatever rules here}

I hope that made sence.

http://www.doch.co.uk/web2/biology.php?id=bio uses this method."

CSS-d - http://www.css-discuss.org. (s'very good).

--
Little Dave
http://www.daveholloway.co.uk
Everyone feel free to add me to your instant messengers:
MSN: da**********@spamcop.net, YAHOO: da**********@yahoo.com, ICQ: 104452444
Jul 20 '05 #4

P: n/a
steg wrote:
What's CSS-D?
A mailing list
Why not reply here so we can all read it?


Or better yet - don't multipost in the first place.

--
David Dorward <http://dorward.me.uk/>
Jul 20 '05 #5

P: n/a
On Sun, 07 Mar 2004 15:49:12 +0000, David Dorward <do*****@yahoo.com>
wrote:
steg wrote:
What's CSS-D?


A mailing list
Why not reply here so we can all read it?


Or better yet - don't multipost in the first place.


Meta question: is posting a question to an email list and to a newsgroup
really multiposting?

Frankly I had no idea what CSS-D was. Discussion here would be most
welcome as well.
Jul 20 '05 #6

P: n/a
On Sun, 07 Mar 2004 22:22:13 +1100, Alex Bell <ab****@tassie.net.au> wrote:
Please review
http://www.members.iinet.net.au/~abe.../TempMain.html and
http://www.members.iinet.net.au/~abe.../TempActy.html They both
use city.css in the same directory, and are both templates.

Both have menus on the left, and both show the hover effect by
reversing the colour and background colour and the border colours. I
have been able to show that the home page link is the current page in
TempMain.html by greying out the text and by preventing the colour and
border changes. I'd like to produce the same effects in
TempActy.html, but because the submenu is already a class I can't work
out how to do so. Can any one help? Thanks in advance.
Regards, Alex


<a href="donchew.htm" class="submenu current">Do 'N Chew</a>

May want to try having .submenu precede or follow .current, depends on the
CSS which I didn't examine.
Jul 20 '05 #7

P: n/a
On Sun, 07 Mar 2004 15:49:12 +0000, David Dorward <do*****@yahoo.com>
wrote:
steg wrote:
What's CSS-D?


A mailing list
Why not reply here so we can all read it?


Or better yet - don't multipost in the first place.


No, I'm sorry I don't agree - I'm the author of the original post.
Your comment would make sense if
a) requests from newbies were invariably addressed and solved in
either source of information
b) all the members of this group were members of CSS-D and vice versa.
Since neither of those statements are true it makes sense, when one is
desperate, to try both sources of help.

Regards, Alex
Jul 20 '05 #8

P: n/a
On Sun, 07 Mar 2004 12:59:24 -0500, Neal <ne*****@spamrcn.com> wrote:
On Sun, 07 Mar 2004 22:22:13 +1100, Alex Bell <ab****@tassie.net.au> wrote:
Please review
http://www.members.iinet.net.au/~abe.../TempMain.html and
http://www.members.iinet.net.au/~abe.../TempActy.html They both
use city.css in the same directory, and are both templates.

Both have menus on the left, and both show the hover effect by
reversing the colour and background colour and the border colours. I
have been able to show that the home page link is the current page in
TempMain.html by greying out the text and by preventing the colour and
border changes. I'd like to produce the same effects in
TempActy.html, but because the submenu is already a class I can't work
out how to do so. Can any one help? Thanks in advance.
Regards, Alex


<a href="donchew.htm" class="submenu current">Do 'N Chew</a>

May want to try having .submenu precede or follow .current, depends on the
CSS which I didn't examine.


Thanks, Neal, for both your posts.

Regards, Alex
Jul 20 '05 #9

P: n/a
On Mon, 8 Mar 2004, Alex Bell wrote:
Your comment would make sense if
a) requests from newbies were invariably addressed and solved in
either source of information
b) all the members of this group were members of CSS-D and vice versa.
It's fair comment that Usenet and mailing lists can't really be
discussed on an equal footing in the way that multiposting to several
usenet groups is rightly frowned upon.
Since neither of those statements are true it makes sense, when one is
desperate, to try both sources of help.


If the original poster repays the courtesy by contributing a good
summary of the results to both arenas, then I've no further questions.

all the best
Jul 20 '05 #10

This discussion thread is closed

Replies have been disabled for this discussion.