navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

CSS link Over?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets >> CSS link Over?
Page: [1]
 
damaster

 

Posts: 25
Joined: 12/21/2003
Status: offline

 
CSS link Over? - 12/28/2003 1:13:14   
hi ppl,

well I saw 1 site which had links with mouse over the links fades in & out. It was really impressive. I was wondering if any of u has the code for that? :)

Thanx.
c1sissy

 

Posts: 5084
Joined: 7/20/2002
From: NJ
Status: offline

 
RE: CSS link Over? - 12/28/2003 9:46:21   
quote:

ORIGINAL: damaster

hi ppl,

well I saw 1 site which had links with mouse over the links fades in & out. It was really impressive. I was wondering if any of u has the code for that? :)

Thanx.


Hi damaster,

Is something like this what you were looking for?

_____________________________

Deb-aka-c4Ksissy
high panjandurum and alpha female of the silverback tribe
As decreed by Jesper 5-24-2003.
The only stupid question is... the one that is never asked!!
http://directory.css-styling.com
http://fmsforum.com
http://positioniseverything.net/
http://www.tanfa.co.uk/

(in reply to damaster)
puiwaihin

 

Posts: 1378
From: Taiwan
Status: offline

 
RE: CSS link Over? - 1/1/2004 19:00:05   
Specify a:link as some dark color, text-decoration: none
Specify a:hover as some lighter shade of the same color, text-decoration:none

And to make sure it remains the same after being visited, specify a:visted with just a font, but no mention of color or decoration.

_____________________________

" Things are always darkest, just before it goes totally black."
-Hannibal Smith

(in reply to c1sissy)
skip

 

Posts: 177
Joined: 12/9/2001
From: Missouri USA
Status: offline

 
RE: CSS link Over? - 1/2/2004 17:24:43   
i would like to add to this question

if i have a photo gallery with image numbers for navigation, 1 2 3 4 5
and you can select any number and go to that image,

?can i have the color change to show which image you are viewing?

like this
1 2 3 4 5

i would like to use this here

_____________________________

skip

(in reply to c1sissy)
c1sissy

 

Posts: 5084
Joined: 7/20/2002
From: NJ
Status: offline

 
RE: CSS link Over? - 1/2/2004 17:40:55   
quote:

ORIGINAL: skip

i would like to add to this question

if i have a photo gallery with image numbers for navigation, 1 2 3 4 5
and you can select any number and go to that image,

?can i have the color change to show which image you are viewing?

like this
1 2 3 4 5

i would like to use this here


Why don't you try a class and see what it does?

_____________________________

Deb-aka-c4Ksissy
high panjandurum and alpha female of the silverback tribe
As decreed by Jesper 5-24-2003.
The only stupid question is... the one that is never asked!!
http://directory.css-styling.com
http://fmsforum.com
http://positioniseverything.net/
http://www.tanfa.co.uk/

(in reply to skip)
skip

 

Posts: 177
Joined: 12/9/2001
From: Missouri USA
Status: offline

 
RE: CSS link Over? - 1/2/2004 18:11:38   
you are a very creative thinker

a.current
{
color:red;
}
a.current:visited
{
color:red;
}

this works perfectly when added to my existing <a> in my css
on each page i include <a class="current" href="image2204-1.htm"

thanks:)

ps. i only have 25 image pages to edit with this new class
i guess it could be a problem if i had 2500 pages to edit

pss. all done, took about 5-minutes, works perfect

< Message edited by skip -- 1/2/2004 17:35:48 >


_____________________________

skip

(in reply to c1sissy)
c1sissy

 

Posts: 5084
Joined: 7/20/2002
From: NJ
Status: offline

 
RE: CSS link Over? - 1/2/2004 18:38:46   
quote:

you are a very creative thinker

:) Thank you.

I'm happy that this worked out for you, plus that it didn't take long for you to accomplish it. BTW are you using embeded or linked styles?

_____________________________

Deb-aka-c4Ksissy
high panjandurum and alpha female of the silverback tribe
As decreed by Jesper 5-24-2003.
The only stupid question is... the one that is never asked!!
http://directory.css-styling.com
http://fmsforum.com
http://positioniseverything.net/
http://www.tanfa.co.uk/

(in reply to skip)
skip

 

Posts: 177
Joined: 12/9/2001
From: Missouri USA
Status: offline

 
RE: CSS link Over? - 1/2/2004 18:48:33   
i am using two different linked style sheets
one for the main site pages and
one for the picture gallery

< Message edited by skip -- 1/2/2004 17:50:23 >


_____________________________

skip

(in reply to c1sissy)
c1sissy

 

Posts: 5084
Joined: 7/20/2002
From: NJ
Status: offline

 
RE: CSS link Over? - 1/2/2004 19:17:51   
quote:

ORIGINAL: skip

i am using two different linked style sheets
one for the main site pages and
one for the picture gallery


Cool, linked is good. This way if you did have hundreds of pages, all you would have to do is update the one for the site. Ahhh, the beauty of it all:)

_____________________________

Deb-aka-c4Ksissy
high panjandurum and alpha female of the silverback tribe
As decreed by Jesper 5-24-2003.
The only stupid question is... the one that is never asked!!
http://directory.css-styling.com
http://fmsforum.com
http://positioniseverything.net/
http://www.tanfa.co.uk/

(in reply to skip)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> CSS link Over?
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts