Zmiana tla warstwy za pomoca parametru visited
webmaster_wroclaw@onet.eu - 20-07-2010 00:59
Zmiana tla warstwy za pomoca parametru visited
Witam
mam ustawione tlo warstwy w css:
background:url(../images/m1.jpg);
moge na to tlo wplywac np poleceniem hover :
#przycisk_menu_nieaktywnyx_1:hover {
background:url(../images/m1_act.jpg);
}
a dlaczego nie dziala visited ?
#przycisk_menu_nieaktywny_1:visited {
background:url(../images/m1_act.jpg);
}
Chodzi o to zeby po kliknieciu div zmianialo sie jego tlo
Oczyiwscie moge to zrobic w java script ukrywaniem warstw ale to juz bedzie
mniej proste.
Dziekuje za podpowiedzi
--
Wys³ano z serwisu OnetNiusy: http://niusy.onet.pl
vcore - 20-07-2010 00:59
W dniu 2010-07-16 13:30, webmaster_wroclaw@onet.eu pisze:
> Chodzi o to zeby po kliknieciu div zmianialo sie jego tlo
:active a nie :visited