haberturk'teki gibi bir script bakıyorum. 7 tane text link var. her linkin üzerine gelince resim o linke göre değişecek. nasıl arayacağımı ne isimle arıyacağımı bilmediğim için bulamadım. yardımcı olursanız sevinirim.
<script>
function changeimage(towhat,url){
if (document.images){
document.images.targetimage.src=towhat.src
gotolink=url
}
}
function warp(){
window.location=gotolink
}
</script>
<script language="JavaScript1.1">
var myimages=new Array()
var gotolink="#"
function preloadimages(){
for (i=0;i<preloadimages.arguments.length;i++){
myimages[i]=new Image()
myimages[i].src=preloadimages.arguments[i]
}
}
preloadimages("plane1.gif","plane2.gif","plane3.gif","plane4.gif","plane5.gif")
</script>
<a href="javascript:warp()"><img src="plane0.gif" name="targetimage" border=0></a>
<a href="b2.htm" onMouseover="changeimage(myimages[0],this.href)">Plane 1</a>
<a href="f15.htm" onMouseover="changeimage(myimages[1],this.href)">Plane 2</a>
<a href="su27.htm" onMouseover="changeimage(myimages[2],this.href)">Plane 3</a>
<a href="jet.htm" onMouseover="changeimage(myimages[3],this.href)">Plane 4</a>
<a href="boeing.htm" onMouseover="changeimage(myimages[4],this.href)">Plane 5</a>
<a href="javascript:warp()"><img src="plane0.gif" name="targetimage" border=0></a>
<a href="b2.htm" onMouseover="changeimage(myimages[0],this.href)">Plane 1</a>
<a href="f15.htm" onMouseover="changeimage(myimages[1],this.href)">Plane 2</a>
<a href="su27.htm" onMouseover="changeimage(myimages[2],this.href)">Plane 3</a>
<a href="jet.htm" onMouseover="changeimage(myimages[3],this.href)">Plane 4</a>
<a href="boeing.htm" onMouseover="changeimage(myimages[4],this.href)">Plane 5</a>
<a href="javascript:warp()"><img src="plane0.gif" name="targetimage" border=0></a>
<a href="b2_.htm" onMouseover="changeimage(myimages[5],this.href)">Plane 6</a>
<a href="f15_.htm" onMouseover="changeimage(myimages[6],this.href)">Plane 7</a>
<a href="su27_.htm" onMouseover="changeimage(myimages[7],this.href)">Plane 8</a>
<a href="jet_.htm" onMouseover="changeimage(myimages[8],this.href)">Plane 9</a>
<a href="boeing_.htm" onMouseover="changeimage(myimages[9],this.href)">Plane 10</a>
<img src="haber.gif" name="haber" width="300" height="200">
<a href="haber-<?=$haberid;?>.html" onmouseover="haber.src='<?=$haberresim;?>';" onmouseout="haber.src='haber.gif';"><?=$haberbaslik;?></a>