Finns det nåt sätt att använda stylesheets i stället för att skriva
onMouseOver="this.style.backgroundColor='#EEEEEE';"
T.ex
onMouseOver="this.style='class1';" onMouseOut="this.style='class2';">
Eller båt sånt?
class istället för backgroundcolor
3 svar · 175 visningar · startad av oyster
<html>
<head><title></title>
<style type="text/css">
.red {color: red;}
.blue {color: blue;}
</style></head>
<body>
<span class="blue"
onmouseover="this.className='red'"
onmouseout="this.className='blue'"
>texten här!</span>
Fungerar className i NS oxå?
...orkar inte installera Netscape nu ;)
------------------
Vem släckte lyset?
I NS6...