Afficher un message
Vieux 30/06/2008, 23h09   #2
Michael Fesser
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Assigning Colors to Buttons for "Already Visited State"

..oO(treadwell)

>I created a navigation bar in Fireworks with buttons that have an up state,
>over state and down state. How do I get the buttons to change color to indicate
>"already visited?" I have seen this done with text but can it be done with
>buttons?


Sure. It requires some more CSS and the pseudo-class :visited.
Here are two examples for CSS-based rollovers:

CSS Sprites: Image Slicing’s Kiss of Death
http://www.alistapart.com/articles/sprites/

Fast Rollovers Without Preload
http://wellstyled.com/css-nopreload-rollovers.html

The same technique can be extended to also use the :visited link state.

Micha
  Réponse avec citation
 
Page generated in 0,04508 seconds with 9 queries