(X)HTML, JavaScript, DHTML, XML, CSS Client scripting tehnologije, Dynamic HTML, Cascading Stylesheets, XML i standardi |
|
Alati teme | Način prikaza |
25. 09. 2010. | #1 |
old school
Expert
Datum učlanjenja: 09.04.2009
Poruke: 465
Hvala: 80
72 "Hvala" u 46 poruka
|
function mouseOver()
Kako da resim da na jednoj slici, na razlicitim mestima
imam navedeni efekat npr da na karti evrope (jedan slika tj. file) koja je recimo crno bela, imam efekat, kada neko predje misom preko srbije, tada bude u boji itd Slab sam programer nasao sam ovo na w3school Kôd:
<html> <head> <script type="text/javascript"> function mouseOver() { document.getElementById("b1").src ="b_blue.gif"; } function mouseOut() { document.getElementById("b1").src ="b_pink.gif"; } </script> </head> <body> <a href="http://www.w3schools.com" target="_blank"> <img border="0" alt="Visit W3Schools!" src="b_pink.gif" id="b1" width="26" height="26" onmouseover="mouseOver()" onmouseout="mouseOut()" /></a> </body> </html> a mene interesuje kako resiti za delove objekta tj slike |
25. 09. 2010. | #2 |
Ivan Dilber
Sir Write-a-Lot
|
googluj za image map primere, treba da definises image map, i onda definises areas, pa svakom dodelis jedan onmouseover event
__________________
Leadership is the art of getting people to want to do what you know must be done. |
"Hvala" ivanhoe za poruku: |
25. 09. 2010. | #3 |
xippster
Master
Datum učlanjenja: 16.06.2005
Lokacija: Beograd
Poruke: 681
Hvala: 102
138 "Hvala" u 84 poruka
|
|
"Hvala" xippi za poruku: |
|
|
Slične teme | ||||
Tema | Početna poruka teme | Forum | Odgovori | Poslednja poruka |
PHP YouTube Embed Function | webarto | Code snippets | 0 | 26. 09. 2010. 03:29 |
Wordpress thema function.php POMOC!!!!! | imenik | Web aplikacije, web servisi i software | 9 | 01. 04. 2010. 15:19 |
IE function keys preventDefault | dee | (X)HTML, JavaScript, DHTML, XML, CSS | 3 | 16. 07. 2009. 13:16 |
mouseover gubi fokus preko <object> | bluesman | (X)HTML, JavaScript, DHTML, XML, CSS | 15 | 06. 10. 2005. 13:41 |