yakan531 Moderatör
Mesaj Sayısı : 207 Kayıt tarihi : 16/11/09 Yaş : 28
| Konu: Mouseu linklerin üzerine getirince yanda açıklamaları beliriyor. Çarş. Şub. 10, 2010 3:52 pm | |
| - Kod:
-
<style>
DIV{font-family:arial,helvetica; font-size:10pt}
</style>
<script>
/*
Created by A1 Javascripts - http://www.a1javascripts.com/
This may be used freely as long as this msg is intact!
*/
//You have to set some variables here:
//Set the font for the msg
msgFont='Arial,helvetiva'
//Set the fontSize in px
msgFontSize="12"
//Set the fontColor
msgFontColor="black"
/*
Here's the array that holds the text to change the divmessage to
when you mouseover. Change the text here
*/
messages=new Array(6)
messages[0]="<b>Javascript</b><br>A heap of <i><u><font color=ff0000>free</font></u></i> javascripts to enhance your site!"
messages[1]="<b>JavaOnline</b><br>The largest directory of <i><u><font color=ff0000>free</font></u></i> webmaster resources on the planet!"
messages[2]="<b>Başlık2</b><br>25 megs of <i><u><font color=ff0000>free</font></u></i> webspace;<br> httpcity.com/you!"
messages[3]="<b>Başlık3</b><br>A monstrous collection of <i><u><font color=ff0000>free</font></u></i> graphics!"
messages[4]="<b>Başlık4</b><br>The HOTTEST <i><u><font color=ff0000>free</font></u></i> clipart and resource sites ranked by popularity!"
messages[5]="<b>Başlık5</b><br>Download tons of <i><u><font color=ff0000>free</font></u></i> Software!"
messages[6]="<b>Geri dön</b><br>Geri dönmek için<i><u><font color=ff0000>free</font></u></i> hemen tıkla!"
messages[7]=""
//nothing needs to be changed below here
ie=document.all?1:0
n=document.layers?1:0
//Constructing the ChangeText object
function makeChangeTextObj(obj){
this.writeref=(n) ? eval('document.'+obj+'.document'):eval(obj);
this.writeIt=b_writeIt;
}
function b_writeIt(text){
if(n){
this.writeref.write(text)
this.writeref.close()
}
if(ie)this.writeref.innerHTML=text
}
function changeText(num){
if(ie || n) oMessage.writeIt('<span style="font-size:' +msgFontSize+'px; font-family:'+msgFont+'; color:'+msgFontColor+'">'+messages[num]+'</span>')
}
function changeTextInit(){
if(ie || n) oMessage=new makeChangeTextObj('divMessage')
}
//Calls the init function on pageload
onload=changeTextInit
</script>
<div id="divlinks" style="position:absolute; left:10; top:150">
<a href="http://www.samsunspor.kulubu.com" onmouseover="changeText(0); window.status='Javascript';return true;" onMouseout="changeText(7,0); window.status='';return true;" onclick="window.focus()">Javascript</a><br>
<a href="http://www.samsunspor.kulubu.com" onmouseover="changeText(1); window.status='123Webmaster';return true;" onMouseout="changeText(7,0); window.status='';return true;" onclick="window.focus()">JavaOnline</a><br>
<a href="http://www.samsunspor.kulubu.com" onmouseover="changeText(2); window.status='Http City';return true;" onMouseout="changeText(7,0); window.status='';return true;" onclick="window.focus()">Http City</a><br>
<a href="http://www.samsunspor.kulubu.com" onmouseover="changeText(3); window.status='Free Clip Images';return true;" onMouseout="changeText(7,0); window.status='';return true;" onclick="window.focus()">Free Clip Images</a><br>
<a href="http://www.samsunspor.kulubu.com" onmouseover="changeText(4); window.status='1-Click-Clipart';return true;" onMouseout="changeText(7,0)"; window.status='';return true;" onclick="window.focus()">1-Click-Clipart</a><br>
<a href="http://www.samsunspor.kulubu.com" onmouseover="changeText(5); window.status='FreeWare Files';return true;" onMouseout="changeText(7,0); window.status='';return true;" onclick="window.focus()">FreeWare Files</a><br>
<a href="http://www.samsunspor.kulubu.com" onmouseover="changeText(6); window.status='Geri dön';return true;" onmouseout="changeText(7,0); window.status='';return true;" onclick="window.focus()">Geri dön</a>
</div><!-- -->
<!-- --><table Border=0 cellpadding=0 cellspacing=0 width="400" hight="200">
<td align=center width="100%" height="100%"><div id="divMessage" style="position:absolute; left:200; top:300">
This is the default text that will show in<br> 3.x browsers. You have to place this with tables or <br>something instead of layers for backwards compatibility.</td></table>
</div><!-- --> | |
|