ultrAslan
Mesaj Sayısı : 87 Yaş : 37 Hangi Takimi Tutuyorsun : Galatasaray Kayıt tarihi : 13/06/08
| Konu: Buton Menü Paz Ağus. 03, 2008 6:54 pm | |
| Buton Menü Renglerini kendinize göre ayarliyabilirsiniz - Kod:
-
<style type="text/css">
<!-- a:link, a:visited, a:active, a:hover{text-decoration:none} //--></style><script language="Javascript"> if (!document.layers){
Width=100; Font='Verdana'; FontSize=12; AFontColor='#DAAA0C'; BFontColor='#DAAA0C'; CFontColor='#DAAA0C'; FontWeight='bold'; //normal veya bold! BackGround='#FF0000'; BorderDepth=1; BorderLight='#FF0000'; BorderShad='#DAAA0C';
function On(id){ with(id.style){ color=BFontColor; borderTopColor=BorderLight; borderLeftColor=BorderLight; borderRightColor=BorderShad; borderBottomColor=BorderShad; } } function Off(id){ with(id.style){ color=AFontColor; borderTopColor=BackGround; borderLeftColor=BackGround; borderRightColor=BackGround; borderBottomColor=BackGround; } } function Down(id){ with(id.style){ color=CFontColor; borderTopColor=BorderShad; borderLeftColor=BorderShad; borderRightColor=BorderLight; borderBottomColor=BorderLight; } } function Link(Url,Txt){ document.write("<a href='"+Url+"'>" +"<div style='position:relative;" +"width:"+Width+"px;height:"+FontSize+"px;" +"border-width:"+BorderDepth+"px;" +"border-color:"+BackGround+";" +"border-style:solid;" +"padding:"+FontSize/3+"px;" +"background:"+BackGround+";" +"font-family:"+Font+";" +"font-size:"+FontSize+"px;" +"line-height:"+FontSize*1.2+"px;" +"font-weight:"+FontWeight+";" +"text-align:left;" +"color:"+AFontColor+";" +"margin-top:2px;" +"cursor:hand'" +"onMouseOver='javascript:On(this)'" +"onMouseOut='javascript:Off(this)'" +"onMouseDown='javascript:Down(this)'>" +Txt+"</div></a>"); } } function Temp(){ alert("TEST"); }
</script><script language="Javascript">
if (!document.layers){
if (document.getElementById&&!document.all){ document.write("<div style='position:relative'>" +"<table border='0' cellpadding='0' cellspacing='0'>" +"<tr><td valign='top'>"); }
Link('http://www.yahoo linki buraya','Yahoo'); Link('http://www.google linki buraya','Google'); Link('http://www.altavista linki buraya.','Alta Vista'); Link('http://www.lycosl linki buraya ','Lycos'); Link('http://www.ua1905ua linki buraya','ua1905ua');
if (document.getElementById&&!document.all){ document.write("</td></tr></table></div>"); } } //--> </script> | |
|