Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: rollover
Parašė zabello· 2009 Rugp. 21 13:08:10
#1
reikia kad uzvedus pele ant img jis pasikeisti i kita zinau kad pilna tokiu js scriptu bet man reikia labai paprasto kaskur maciau tik neatsimenu kur gal galit padet
Parašė Dandžu· 2009 Rugp. 21 14:08:49
#2
<script type="text/javascript">
function mouseOver() {
document.getElementById("rss").src="img1.png"
}
function mouseOut() {
document.getElementById("rss").src="img2.png"
}
</script>
<a href="lunk" onmouseover="mouseOver()" onmouseout="mouseOut()"><img src="img.png" id="rss" border="0" alt="" /></a>
Redagavo Dandžu· 2009 Rugp. 21 14:08:59
Parašė zabello· 2009 Rugp. 21 14:08:25
#3
turiu 6 linkus ir siulai kisti toki koda visiems linkams ? Yra paprastesnis buda tik nerandu jo
Parašė Dandžu· 2009 Rugp. 21 15:08:49
#4
<script type="text/javascript">
function mouseOver() {
document.getElementById("rss").src="img1.png"
document.getElementById("rss2").src="imgs1.png"
document.getElementById("rss3").src="imgss1.png"
document.getElementById("rss4").src="imgsss1.png"
document.getElementById("rss5").src="imgssss1.png"
document.getElementById("rss6").src="imgsssss1.png"
}
function mouseOut() {
document.getElementById("rss").src="img2.png"
document.getElementById("rss2").src="imgs2.png"
document.getElementById("rss3").src="imgss2.png"
document.getElementById("rss4").src="imgsss2.png"
document.getElementById("rss5").src="imgssss2.png"
document.getElementById("rss6").src="imgsssss2.png"
}
</script>
<a href="lunk" onmouseover="mouseOver()" onmouseout="mouseOut()"><img src="img.png" id="rss" border="0" alt="" /></a>
<a href="lunk" onmouseover="mouseOver()" onmouseout="mouseOut()"><img src="imgs1.png" id="rss2" border="0" alt="" /></a>
<a href="lunk" onmouseover="mouseOver()" onmouseout="mouseOut()"><img src="imgss1.png" id="rss3" border="0" alt="" /></a>
<a href="lunk" onmouseover="mouseOver()" onmouseout="mouseOut()"><img src="imgsss1.png" id="rss4" border="0" alt="" /></a>
<a href="lunk" onmouseover="mouseOver()" onmouseout="mouseOut()"><img src="imgssss1.png" id="rss5" border="0" alt="" /></a>
<a href="lunk" onmouseover="mouseOver()" onmouseout="mouseOut()"><img src="imgsssss1.png" id="rss6" border="0" alt="" /></a>
Parašė dizzy· 2009 Rugp. 22 19:08:49
#5
Atnaujinu tema sitas scriptas kai uzeini ant vieno migtuko visi pasikelia!
Redagavo dizzy· 2009 Rugp. 22 19:08:03