leuchten .....

Seite 1 von 1 - Forum: Coding Stuff auf overclockers.at

URL: https://www.overclockers.at/coding-stuff/leuchten_40872/page_1 - zur Vollversion wechseln!


BobbyPI schrieb am 12.07.2002 um 12:12

wie kann man das machen .... das bei nem mouseover ... das feld ner tabelle ne andere farbe bekommt ?!

ps : wusste nicht so ganz ob das coding und css etc ist ... drum post ich mal hier ....

thnx schonmal ....

mfg

BobbyPI


Red schrieb am 12.07.2002 um 12:30

Zitat von BobbyPI
wie kann man das machen .... das bei nem mouseover ... das feld ner tabelle ne andere farbe bekommt ?!

ps : wusste nicht so ganz ob das coding und css etc ist ... drum post ich mal hier ....

thnx schonmal ....

mfg

BobbyPI


steht so viel ich weis auf selfhtml


BobbyPI schrieb am 12.07.2002 um 12:48

oki mal suchn .....


BobbyPI schrieb am 12.07.2002 um 12:54

ich find es einfach nicht .... und was soll ich da bitte schaun ?! ....

ich dachte an soetwas ....

javascript:onMouseover(bgcolor="#FFFFFF")

mfg

BobbyPI

sorry kenn mich mit java skript nicht so aus .... das man es so nicht schreiebn kann weiss ich auch ... hoffe ihr habt da ne idee ... ;)


schrieb am 12.07.2002 um 13:09

javascript dafür? wozu denn?
nimmst a css - ":hover" attribut und rennt scho.

schaust auf http://www.meyerweb.com/eric/css/


BobbyPI schrieb am 12.07.2002 um 14:09

hast wer ne ahnung wie ich ein feld einer tabelle mit hover ausstatte ?

sowas ?! ... oder ganz anders ??

<td td:hover { bgcolor:#FFFFFF }>


schrieb am 12.07.2002 um 14:20

plz lies ein css-guide ;)
http://www.w3.org :eek:


BobbyPI schrieb am 12.07.2002 um 14:42

<td onMouseover="this.style.backgroundColor='#E1E1E1'" onMouseout="this.style.backgroundColor='#FFFFFF'"><ilayer width="100%"><layer width="100%" onMouseover="this.bgColor='#E1E1E1'" onMouseout="this.bgColor='#FFFFFF">

hab das ganze so gelöst .... trotzdem thnx ... ;)


noledge schrieb am 12.07.2002 um 14:45

Zitat von BobbyPI
hab das ganze so gelöst ....

:eek: :(

bitte machs mit css - wirst sehn, wenn mans einmal gesehn hat wie es geht, isses weit einfacher.


Binärmensch schrieb am 12.07.2002 um 19:55

Zitat von BobbyPI
<td onMouseover="this.style.backgroundColor='#E1E1E1'" onMouseout="this.style.backgroundColor='#FFFFFF'"><ilayer width="100%"><layer width="100%" onMouseover="this.bgColor='#E1E1E1'" onMouseout="this.bgColor='#FFFFFF">


ahhh hilfe was isn das fürn monstercode..

machs so:
Zitat
<td class="farbig"> tabellenzelleninhalt </td>

und das kommt in den head-teil
Zitat
<style type="text/css">

td.farbig { background-color:#112233; }
td.farbig:hover { background-color:#AABBCC; }

</style>

mit diesem code is der hintergrund normal in #112233, wenn du mit der maus drüberfährst in #AABBCC. wenn die mit der maus wieder rausfährst natürlcih wieder in #112233.


ps: css rult. setz dich damit n bisl auseinander, und du wirst sehn das vieeles einfacher wird :)




overclockers.at v4.thecommunity
© all rights reserved by overclockers.at 2000-2025