CSS Image Rollover |
° ↓ Introduction: ↓ ° |
---|
![]() Hier sind zwei einfache CSS Tutorials, wie das auf Myspace zu realisieren ist: |
![]() Below are two simple CSS tutorials to how it is realized on myspace: |
° ↓ Example: ↓ ° |
|
---|---|
- Fahre mit der Maus über das Bild um den Effekt zu sehen.
- Hover your mouse over the image to see the effect.
|
|
° ↓ Notice: ↓ ° |
||
---|---|---|
![]() ![]() | ||
° ↓ Like: ↓ °
| ||
° ↓ Code I: ↓ ° |
---|
<style type="text/css"> .KhAk {Image Rollover} .KhAkROL1 {display:block; width: 100px; height: 120px; background-image:url( URL Of Image I );} .KhAkROL1 a:hover {background-image:url( URL Of Image II );} </style> <div class="KhAkROL1"> <a class="KhAkROL1" href="Your Page URL"></a> </div> |
° ↓ Code II: ↓ ° |
---|
<style type="text/css"> .KhAk {Image Rollover} a.KhAkROL2 {display:block; width: 100px; height: 120px; background-image:url( URL Of Image II );} a.KhAkROL2:hover img {visibility:hidden;} </style> <a href="Your Page URL" class="KhAkROL2"> <img src=" URL Of Image I "
border="0px"> </a> |
° ↓ Note: ↓ ° |
---|
![]() ☼- Ersetze die "Image URLs" (I/II) durch deine eigene URLs. ☼- das Bild wird Klickbar sein, also ersetzte auch "Your Page URL" mit der URL deiner Wahl (Home Page etc.). ☼- Ändere die Zahl "1" ODER "2" in 3, 4, und 5 etc., wenn du vorhast multiple Bilder auf deinem profil einzufügen. |
![]() ☼- Replace the "Image URLs" (I/II) with your own URLs. ☼- The image will be clickable, and you can replace "Your Page URL" with your own (Home Page etc.). ☼- If you want to add "different" Images at the multiple places on your profile: Add the entire code BUT change: the class numbers "1" OR "2" to 3, 4, and 5 etc. |