Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [HTML][PHP]napis na obrazku bez możliwości zazn.
user767
post 11.10.2010, 21:16:48
Post #1





Grupa: Zarejestrowani
Postów: 178
Pomógł: 5
Dołączył: 13.09.2010

Ostrzeżenie: (40%)
XX---


W jaki sposób to wykonać ?

  1. function boxOffHover(box) {
  2. box.style.background='#ffffff';
  3. }
  4.  
  5. function boxOnHover(box) {
  6. box.style.background='#f0f0ff';
  7. }


  1. div.photo{
  2. position: relative;
  3. background-repeat: repeat-y;
  4. min-weihgt:100%;
  5. background-color:#000000;
  6. }
  7.  
  8. div.li{
  9. position: relative;
  10. left:20px;
  11. top:20px;
  12. outline: none;
  13. cursor: default;
  14. width:100px;
  15. height:50px
  16. background: url(znak.png);
  17. }
  18.  

  1. <div onmouseover="boxOnHover(this);" onmouseout="boxOffHover(this);">
  2. jakis tekst
  3. </div>
  4.  
  5. <br />
  6.  
  7. <div class="photo" onmouseover="boxOnHover(this);" onmouseout="boxOffHover(this);">
  8. <div class="li"></div>
  9. <img src="baner_2.png" border="0" alt="tekst" />
  10. </div>


W inny sposób, a mianowicie chciałbym zwykły napis, ew. obrazek na obrazku.
Nie chciałbym spamować, ale mapa odsyłaczy mi nie działa.
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 14.08.2025 - 04:48