wordpress, joomla, hazır scriptler, temalar, photoshop, javascript, CSS, SEO, hit, SMF, blog, google, alexa, para kazanma, meta,keywords, DMOZ, Pagerank
28 Ara
Tekrardan basit bir javascript kodu vermek için yazıyorum.Bu kod ile menünüzü oluşturdunuz diyelim menü linkinin üzerine geldiğinizde o link ile ilgili veya düğme diyelim yazdığınız açıklama çıkyor alttarafta.Açıklamaya istediğinizi yazabilirsiniz.
Buradan test edebilirsiniz. Kodlar ise aşağıdadır istediğiniz gibi değiştirip kullanabilirsiniz.
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1254"> <title>z-aciklamalı_link-1</title> </head> <body> <p> <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.extradestek.org" onmouseover="changeText(0); window.status='JavaScript';return true;" onMouseout="changeText(7,0); window.status='';return true;" onclick="window.focus()">extradestek.org</a><br> <a href="http://www.extradestek.org" onmouseover="changeText(1); window.status='123Webmaster';return true;" onMouseout="changeText(7,0); window.status='';return true;" onclick="window.focus()">extradestek.org</a><br> <a href="http://www.extradestek.org" onmouseover="changeText(2); window.status='extradestek.org';return true;" onMouseout="changeText(7,0); window.status='';return true;" onclick="window.focus()">extradestek.org</a><br> <a href="http://www.extradestek.org" onmouseover="changeText(3); window.status='Free Clip Images';return true;" onMouseout="changeText(7,0); window.status='';return true;" onclick="window.focus()">extradestek.org</a><br> <a href="http://www.extradestek.org" onmouseover="changeText(4); window.status='1-Click-Clipart';return true;" onMouseout="changeText(7,0)"; window.status='';return true;" onclick="window.focus()">extradestek.org</a><br> <a href="http://www.extradestek.org" onmouseover="changeText(5); window.status='FreeWare Files';return true;" onMouseout="changeText(7,0); window.status='';return true;" onclick="window.focus()">extradestek.org</a><br> <a href="http://www.extradestek.org" onmouseover="changeText(6); window.status='Geri dön';return true;" onmouseout="changeText(7,0); window.status='';return true;" onclick="window.focus()">extradestek.org</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><!-- --> </p> </body> </html>
-Bu yazı toplam 1220 kez okunmuş. -Şu an okuyanlar 1 kişi. -Bu yazı bugün 2 kez okunmuş. -En son 2008-11-19 14:12:49 tarihinde okunmuş. 'Javascript ile açıklamalı menü yapımı' isimli yazı 28 Ara 2007 tarihinde, saat: 20:30 'de ByM tarafından gönderilmiş |
"Javascript ile açıklamalı menü yapımı" yazısı için Yorum var
[...] (more…) [...]
Bu yazı ile ilgili yorumunuzu buraya yazın