Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> onMouseover
rybosom
post
Post #1





Grupa: Zarejestrowani
Postów: 82
Pomógł: 0
Dołączył: 6.09.2004

Ostrzeżenie: (20%)
X----


(IMG:http://forum.php.pl/style_emoticons/default/offtopic.gif)

Ten post edytował rybosom 12.07.2006, 11:52:55
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 5)
kubatron
post
Post #2





Grupa: Zarejestrowani
Postów: 581
Pomógł: 0
Dołączył: 21.07.2003
Skąd: Jasło

Ostrzeżenie: (0%)
-----


A co to ma wspolnego z php??
A bez CSS chyba się nie obędzię, chodź można JS ale jest to zbyt dużo kombinowania.
Go to the top of the page
+Quote Post
kszychu
post
Post #3





Grupa: Przyjaciele php.pl
Postów: 2 712
Pomógł: 23
Dołączył: 27.10.2003
Skąd: z kontowni

Ostrzeżenie: (0%)
-----


Przenoszę.
Go to the top of the page
+Quote Post
dr_bonzo
post
Post #4





Grupa: Przyjaciele php.pl
Postów: 5 724
Pomógł: 259
Dołączył: 13.04.2004
Skąd: N/A

Ostrzeżenie: (0%)
-----


Duzo kombinowania?
  1. <head>
  2. <script type="text/javascript">
  3. function boldMe( X )
  4. {
  5. X.style.fontWeight = "bold";
  6. }
  7.  
  8. function normalMe( X )
  9. {
  10. X.style.fontWeight = "normal";
  11. }
  12. </script>
  13. </head>
  14. <body>
  15. <div>
  16. There are many variations of passages of <span onmouseover="boldMe( this )" onmouseout="normalMe( this )">Lorem Ipsum</span> available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable.
  17. </div>
  18. </body>
  19. </html>
Go to the top of the page
+Quote Post
pitbull82
post
Post #5





Grupa: Zarejestrowani
Postów: 167
Pomógł: 0
Dołączył: 30.04.2004
Skąd: Częstochowa

Ostrzeżenie: (0%)
-----


Chciałem polecić CSS:

  1. span.changeMe
  2. {
  3. font-weight: normal;
  4.  
  5. }
  6. span.changeMe:hover
  7. {
  8. font-weight: bold;
  9.  
  10. }
  11.  
  12. </head>
  13. <div>
  14. There are many variations of passages of <span class="changeMe">Lorem Ipsum</span> available,
  15.  
  16. but the majority have suffered alteration in some form, by injected humour, or randomised words
  17.  
  18. which don't look even slightly believable.
  19. </div>
  20. </body>
  21. </html>


ale widzę, że w badzIEwnej przeglądarce i Operze 6.05 to nie działa :/
Go to the top of the page
+Quote Post
dr_bonzo
post
Post #6





Grupa: Przyjaciele php.pl
Postów: 5 724
Pomógł: 259
Dołączył: 13.04.2004
Skąd: N/A

Ostrzeżenie: (0%)
-----


Za to dziala pod FFajna przegladarka 1.0 i Opera 7.5 i 8.0, ale jemu niestety nie chodzilo o edycje cssow, mimo to rozwiazanie ciekawe.
Go to the top of the page
+Quote Post

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

 



RSS Aktualny czas: 23.08.2025 - 12:11