Forum'da ara:
Ara


« Önceki başlık :: Sonraki başlık »  
Yazar Mesaj
Mesaj30.08.2008, 15:43 (UTC)    
Mesaj konusu: açılır flash menü

Tr.gg ye uygun kod Deneyin,

Alıntı:
<!--Generated by SearchBliss.com : Free Scripts & Webmaster Resources-->
<link href="./index.css" type="text/css" rel="stylesheet" /><script language=JavaScript>
<!--
content = new Array ();

content [0] = new Array (
false,
new Array('sub_0_1','sub_0_2','sub_0_3')
);
content [1] = new Array (
false,
new Array('sub_1_1','sub_1_2','sub_1_3')
);
content [2] = new Array (
false,
new Array('sub_2_1','sub_2_2','sub_2_3')
);

isOPERA = (navigator.userAgent.indexOf('Opera') >= 0)? true : false;
isIE = (document.all && !isOPERA)? true : false;
isDOM = (document.getElementById && !isIE && !isOPERA)? true : false;

function processTree (id)
{
if (content [id][0])
{
for (i = 0; i < content [id][1].length; i++)
hide (content [id][1][i]);

content [id][0] = false;
}
else
{
for (i = 0; i < content [id][1].length; i++)
show (content [id][1][i], 'table-row');

content [id][0] = true;
}

return false;
}

function show (id, displayValue)
{
if (isDOM)
document.getElementById(id).style.display = (displayValue)? displayValue : "block";
else if (isIE)
document.all[id].style.display = "block";
}

function hide (id)
{
if (isDOM)
document.getElementById(id).style.display = "none";
else if (isIE)
document.all[id].style.display = "none";
}
if (isDOM || isIE)
{
document.writeln('<style type="text/css">');
document.writeln('.SubItemRow \{ display: none; \}');
document.writeln('</style>');
}

// -->
</script><!--Paste code above inbetween your head tags--><!--Paste code below inbetween your body tags-->
<table height="40" cellspacing="1" cellpadding="0" width="150" border="0">
<tbody>
<tr>
<td class="Item" width="1">+</td>
<td class="Item" width="149" bgcolor="#00ff66" height="20"><a class="Item" onClick="processTree (0); return false;" href="./"><font color="#000000">menu 1</font></a></td>
</tr>
<tr class="SubItemRow" id="sub_0_1">
<td width="10"><font color="#000000"> </font></td>
<td class="SubItem" width="149" bgcolor="#00ff00" height="20"><a href="http://www.hazirhtmlkodlar.com/"><font color="#000000">sayfa</font></a></td>
</tr>
<tr class="SubItemRow" id="sub_0_2">
<td width="10"><font color="#000000"> </font></td>
<td class="SubItem" width="149" bgcolor="#00ff00" height="20"><a href="http://www.hazirhtmlkodlar.com/"><font color="#000000">sayfa</font></a></td>
</tr>
<tr class="SubItemRow" id="sub_0_3">
<td width="10"><font color="#000000"> </font></td>
<td class="SubItem" width="149" bgcolor="#00ff00" height="20"><a href="http://www.hazirhtmlkodlar.com/"><font color="#000000">sayfa</font></a></td>
</tr>
<tr>
<td class="Item" width="1"><font color="#000000">+</font></td>
<td class="Item" width="149" bgcolor="#00ff00" height="20"><a class="Item" onClick="processTree (1); return false;" href="./"><font color="#000000">menu 2</font></a></td>
</tr>
<tr class="SubItemRow" id="sub_1_1">
<td width="10"><font color="#000000"> </font></td>
<td class="SubItem" width="149" bgcolor="#00ff00" height="20"><a href="http://www.hazirhtmlkodlar.com/"><font color="#000000">sayfa</font></a></td>
</tr>
<tr class="SubItemRow" id="sub_1_2">
<td width="10"><font color="#000000"> </font></td>
<td class="SubItem" width="149" bgcolor="#00ff00" height="20"><a href="http://www.hazirhtmlkodlar.com/"><font color="#000000">sayfa</font></a></td>
</tr>
<tr class="SubItemRow" id="sub_1_3">
<td width="10"><font color="#000000"> </font></td>
<td class="SubItem" width="149" bgcolor="#00ff00" height="20"><a href="http://www.hazirhtmlkodlar.com/"><font color="#000000">sayfa</font></a></td>
</tr>
<tr>
<td class="Item" width="1"><font color="#000000">+</font></td>
<td class="Item" width="149" bgcolor="#00ff00" height="20"><a class="Item" onClick="processTree (2); return false;" href="./"><font color="#000000">menu</font></a></td>
</tr>
<tr class="SubItemRow" id="sub_2_1">
<td width="10"><font color="#000000"> </font></td>
<td class="SubItem" width="149" bgcolor="#00ff00" height="20"><a href="http://www.hazirhtmlkodlar.com/"><font color="#000000">sayfa</font></a></td>
</tr>
<tr class="SubItemRow" id="sub_2_2">
<td width="10"><font color="#000000"> </font></td>
<td class="SubItem" width="149" bgcolor="#00ff00" height="20"><a href="http://www.hazirhtmlkodlar.com/"><font color="#000000">sayfa</font></a></td>
</tr>
<tr class="SubItemRow" id="sub_2_3">
<td width="10"><font color="#000000"> </font></td>
<td class="SubItem" width="149" bgcolor="#00cc00" height="20"><a href="http://www.hazirhtmlkodlar.com/"><font color="#000000">sayfa</font></a></td>
</tr>
</tbody>
</table>







.thisclass{background-color:#330033}</style><script language="javascript">

function change(color){
var el=event.srcElement
if (el.tagName=="INPUT"&&el.type=="button")
event.srcElement.style.backgroundColor=color
}

function jumpto2(url){
window.location=url
}

</script>
<form onMouseOut="change('#330033')" onMouseOver="change('#FF00FF')">
<input class="thisclass" style="color: #ffff66; font-family: " type="button" onMouseOut="this.style.color='#FFFF66'" onMouseOver="this.style.color='#66FFFF'" onClick="jumpto2('http://www.hazirhtmlkodlar.com')" onMouseDown="this.style.color='#66FFFF'" name="Button" value="anasayfa" /> <input class="thisclass" style="color: #ffff66; font-family: " type="button" onMouseOut="this.style.color='#FFFF66'" onMouseOver="this.style.color='#66FFFF'" onClick="jumpto2('http://www.hazirhtmlkodlar.com')" onMouseDown="this.style.color='#66FFFF'" name="Button" value="Webmaster" /> <input class="thisclass" style="color: #ffff66; font-family: " type="button" onMouseOut="this.style.color='#FFFF66'" onMouseOver="this.style.color='#66FFFF'" onClick="jumpto2('http://www.hazirhtmlkodlar.com')" onMouseDown="this.style.color='#66FFFF'" name="Button" value="astroloji" /> <input class="thisclass" style="color: #ffff66; font-family: " type="button" onMouseOut="this.style.color='#FFFF66'" onMouseOver="this.style.color='#66FFFF'" onClick="jumpto2('http://www.hazirhtmlkodlar.com')" onMouseDown="this.style.color='#66FFFF'" name="Button" value="html" /> <input class="thisclass" style="color: #ffff66; font-family: " type="button" onMouseOut="this.style.color='#FFFF66'" onMouseOver="this.style.color='#66FFFF'" onClick="jumpto2('http://www.hazirhtmlkodlar.com')" onMouseDown="this.style.color='#66FFFF'" name="Button" value="asp ogren" /> <input class="thisclass" style="color: #ffff66; font-family: " type="button" onMouseOut="this.style.color='#FFFF66'" onMouseOver="this.style.color='#66FFFF'" onClick="jumpto2('http://www.hazirhtmlkodlar.com')" onMouseDown="this.style.color='#66FFFF'" name="Button" value="hakk&yacute;m&yacute;zda" />
</form>
[/code]
Mesaj31.08.2008, 10:00 (UTC)    
Mesaj konusu:

Önceki mesajları göster:   


Powered by phpBB © 2001, 2005 phpBB Group
Türkçe Çeviri: phpBB Türkiye & Erdem Çorapçıoğlu