bin kein großer coder :)
Hm. Das wird schwierig...
2 Lösungsansätze:
a) Ein jQuery-Plugin verwenden (jQuery-Seite durch suchen).
b) per Css probieren (ist die einfachere Lösung:
Code
[COLOR=Gray]<!--
Html-Beispiel:
-->[/COLOR]
<div class="[COLOR=Red]dein_artikel_container[/COLOR]">
<span class="[COLOR=SeaGreen]dein_text_container[/COLOR]">
[I]Hier kommt Dein Txt rein.[/I]
</span>
<span class="[COLOR=RoyalBlue]dein_bild_container[/COLOR]">
<img src .... />
</span>
</div>
Alles anzeigen
Code
[COLOR=Gray]/*
Beispielcode.
Bitte auf selfhtml oder css4you dann weiter suchen.
*/[/COLOR]
[COLOR=Red]div.dein_artikel_container {
display: block;
float: left;
clear: none;
margin:0 10px 10px 0;
padding: 10px 0 0 10px;
width: 100px;
height: 100px;
}
div.dein_artikel_container span.dein_text_containter,
div.dein_artikel_container span.dein_bild_container {
display: block;
width: 80px;
height: 80px;
}[/COLOR]
[COLOR=RoyalBlue]span.dein_bild_container {
display: visible;
}
span.dein_bild_container:hover {
display: none;
}[/COLOR]
[COLOR=SeaGreen]span.dein_text_container {
display: none;
}
span.dein_text_container:hover {
display: visible;
}[/COLOR]
Alles anzeigen