با سلام
این هم پنج منو متحرک کاربردی در کنار سایت که از سایت های مختلف جمع آوری شده.
توجه:هیچ یک از این کد ها توسط بنده طراحی نشده اگر مشکلی در ویرایش منو های داشتید در این تاپیک درخواست بدید.
کد 1:
<script type="text/javascript" src="http://biger.rozup.ir/css/demo10/jquery_1.4.2.min.js"></script> <script type="text/javascript" src="http://biger.rozup.ir/css/demo10/jquery.easing.js"></script>
<script type="text/javascript" src="http://biger.rozup.ir/css/demo10/sweet.js"></script>
<script type="text/javascript" src="http://biger.rozup.ir/css/demo10/2pak.js"></script>
<link href="http://biger.rozup.ir/css/demo10/roz.css" rel="stylesheet" type="text/css" />
<ul id="exampleMenu">
<li><a href="#">خانه</a></li>
<li><a href="#">انجمن</a></li>
<li><a href="#">پروفایل</a></li>
<li><a href="#">درباره ی ما </a></li>
<li><a href="#">تماس با ما </a></li>
</ul>
کد 2:
<style type="text/css">#followTab{
list-style:none;
position:fixed;
z-index:5;
right:0;
top:250px;
width:28px;
padding:8px 5px;
border:3px solid #fff;
border-right:none;
-moz-border-radius:10px 0 0 10px;
-webkit-border-radius:10px 0 0 10px;
border-radius:10px 0 0 10px;
-moz-box-shadow:0 0 7px rgba(0,0,0,.6);
-webkit-box-shadow:0 0 7px rgba(0,0,0,.6);
box-shadow:0 0 7px rgba(0,0,0,.6);
background: #DCDCDC;
}
#followTab li{
margin:9px 0 0 0;
line-height:0
}
#followTab li:first-child{
margin-top:0
}
#followTab a{
display:block;
width:24px;
}
#followTab a span{
position:absolute;
top:-999em
}
</style>
<ul id="followTab">
<li><a href="http://www.takdokhtar.ir/" title="خانه" target=_blank><img src="http://www.takdokhtar.ir/menu_img/home.png" onmouseover="this.src='http://www.takdokhtar.ir/menu_img/home.png'" onmouseout="this.src='http://www.takdokhtar.ir/menu_img/home.png'" /></a></li>
<li><a href="http://www.forum.takdokhtar.ir/" title="انجمن" target=_blank><img src="http://www.takdokhtar.ir/menu_img/forum.png" onmouseover="this.src='http://www.takdokhtar.ir/menu_img/forum.png'" onmouseout="this.src='http://www.takdokhtar.ir/menu_img/forum.png'" /></a></li>
<li><a href="http://www.jok-sms.takdokhtar.ir/" title="جوک و اس ام اس" target=_blank><img src="http://www.takdokhtar.ir/menu_img/sms.png" onmouseover="this.src='http://www.takdokhtar.ir/menu_img/sms.png'" onmouseout="this.src='http://www.takdokhtar.ir/menu_img/sms.png'" /></a></li>
<li><a href="http://www.takdokhtar.ir/uploadcenter/" title="آپلود سنتر"><img src="http://www.takdokhtar.ir/menu_img/up.png" onmouseover="this.src='http://www.takdokhtar.ir/menu_img/up.png'" onmouseout="this.src='http://www.takdokhtar.ir/menu_img/up.png'" /></a></li>
<li><a href="http://www.takdokhtar.ir/linking/" title="تبادل لینک با ما"><img src="http://www.takdokhtar.ir/menu_img/link.png" onmouseover="this.src='http://www.takdokhtar.ir/menu_img/link.png'" onmouseout="this.src='http://www.takdokhtar.ir/menu_img/link.png'" /></a></li>
<li><a href="http://www.takdokhtar.ir/lovometr/" title="عشق سنج"><img src="http://www.takdokhtar.ir/menu_img/love.png" onmouseover="this.src='http://www.takdokhtar.ir/menu_img/love.png'" onmouseout="this.src='http://www.takdokhtar.ir/menu_img/love.png'" /></a></li>
<li><a href="http://www.takdokhtar.ir/contact/" title="تماس با ما"><img src="http://www.takdokhtar.ir/menu_img/contact.png" onmouseover="this.src='http://www.takdokhtar.ir/menu_img/contact.png'" onmouseout="this.src='http://www.takdokhtar.ir/menu_img/contact.png'" /></a></li>
</ul>
کد 3:
<SCRIPT language="javascript">
NS6 = (document.getElementById&&!document.all)
IE = (document.all)
NS = (navigator.appName=="Netscape" && navigator.appVersion.charAt(0)=="4")
tempBar='';barBuilt=0;ssmItems=new Array();
moving=setTimeout('null',1)
function moveOut() {
if ((NS6||NS)&&parseInt(ssm.left)<0 || IE && ssm.pixelLeft<0) {
clearTimeout(moving);moving = setTimeout('moveOut()', slideSpeed);slideMenu(10)}
else {clearTimeout(moving);moving=setTimeout('null',1)}};
function moveBack() {clearTimeout(moving);moving = setTimeout('moveBack1()', waitTime)}
function moveBack1() {
if ((NS6||NS) && parseInt(ssm.left)>(-menuWidth) || IE && ssm.pixelLeft>(-menuWidth)) {
clearTimeout(moving);moving = setTimeout('moveBack1()', slideSpeed);slideMenu(-10)}
else {clearTimeout(moving);moving=setTimeout('null',1)}}
function slideMenu(num){
if (IE) {ssm.pixelLeft += num;}if (NS||NS6) {ssm.left = parseInt(ssm.left)+num;}
if (NS) {bssm.clip.right+=num;bssm2.clip.right+=num;}}
function makeStatic() {
if (NS||NS6) {winY = window.pageYOffset;}
if (IE) {winY = document.body.scrollTop;}
if (NS6||IE||NS) {
if (winY!=lastY&&winY>YOffset-staticYOffset) {
smooth = .2 * (winY - lastY - YOffset + staticYOffset);}
else if (YOffset-staticYOffset+lastY>YOffset-staticYOffset) {
smooth = .2 * (winY - lastY - (YOffset-(YOffset-winY)));}
else {smooth=0}
if(smooth > 0) smooth = Math.ceil(smooth);
else smooth = Math.floor(smooth);
if (IE) bssm.pixelTop+=smooth;
if (NS6||NS) bssm.top=parseInt(bssm.top)+smooth
lastY = lastY+smooth;
setTimeout('makeStatic()', 1)}}
function buildBar() {
if(barText.indexOf('<IMG')>-1) {tempBar=barText}
else{for (b=0;b<barText.length;b++) {tempBar+=barText.charAt(b)+"<BR>"}}
document.write('<td align="center" rowspan="100" width="'+barWidth+'" bgcolor="'+barBGColor+'" valign="'+barVAlign+'"><p align="center"><font face="'+barFontFamily+'" Size="'+barFontSize+'" COLOR="'+barFontColor+'"><B>'+tempBar+'</B></font></p></TD>')}
function initSlide() {
if (NS6){ssm=document.getElementById("thessm").style;bssm=document.getElementById("basessm").style;
bssm.clip="rect(0 "+document.getElementById("thessm").offsetWidth+" "+document.getElementById("thessm").offsetHeight+" 0)";ssm.visibility="visible";}
else if (IE) {ssm=document.all("thessm").style;bssm=document.all("basessm").style
bssm.clip="rect(0 "+thessm.offsetWidth+" "+thessm.offsetHeight+" 0)";bssm.visibility = "visible";}
else if (NS) {bssm=document.layers["basessm1"];
bssm2=bssm.document.layers["basessm2"];ssm=bssm2.document.layers["thessm"];
bssm2.clip.left=0;ssm.visibility = "show";}
if (menuIsStatic=="yes") makeStatic();}
function buildMenu() {
if (IE||NS6) {document.write('<DIV ID="basessm" style="visibility:hidden;Position : Absolute ;Left : '+XOffset+' ;Top : '+YOffset+' ;Z-Index : 20;width:'+(menuWidth+barWidth+10)+'"><DIV ID="thessm" style="Position : Absolute ;Left : '+(-menuWidth)+' ;Top : 0 ;Z-Index : 20;" onmouseover="moveOut()" onmouseout="moveBack()">')}
if (NS) {document.write('<LAYER name="basessm1" top="'+YOffset+'" LEFT='+XOffset+' visibility="show"><ILAYER name="basessm2"><LAYER visibility="hide" name="thessm" bgcolor="'+menuBGColor+'" left="'+(-menuWidth)+'" onmouseover="moveOut()" onmouseout="moveBack()">')}
if (NS6){document.write('<table border="0" cellpadding="0" cellspacing="0" width="'+(menuWidth+barWidth+0)+'" bgcolor="'+menuBGColor+'"><TR><TD>')}
document.write('<table border="0" cellpadding="0" cellspacing="0" width="'+(menuWidth+barWidth+0)+'" bgcolor="'+menuBGColor+'">');
for(i=0;i<ssmItems.length;i++) {
if(!ssmItems[3]){ssmItems[3]=menuCols;ssmItems[5]=menuWidth-1}
else if(ssmItems[3]!=menuCols)ssmItems[5]=Math.round(menuWidth*(ssmItems[3]/menuCols)-1);
if(ssmItems[i-1]&&ssmItems[i-1][4]!="no"){document.write('<TR>')}
if(!ssmItems[1]){
document.write('<td bgcolor="'+hdrBGColor+'" HEIGHT="'+hdrHeight+'" ALIGN="'+hdrAlign+'" VALIGN="'+hdrVAlign+'" WIDTH="'+ssmItems[5]+'" COLSPAN="'+ssmItems[3]+'"> <font face="'+hdrFontFamily+'" Size="'+hdrFontSize+'" COLOR="'+hdrFontColor+'"><b>'+ssmItems[0]+'</b></font></td>')}
else {if(!ssmItems[2])ssmItems[2]=linkTarget;
document.write('<TD BGCOLOR="'+linkBGColor+'" onmouseover="bgColor=\''+linkOverBGColor+'\'" onmouseout="bgColor=\''+linkBGColor+'\'" WIDTH="'+ssmItems[5]+'" COLSPAN="'+ssmItems[3]+'"><ILAYER><LAYER onmouseover="bgColor=\''+linkOverBGColor+'\'" onmouseout="bgColor=\''+linkBGColor+'\'" WIDTH="100%" ALIGN="'+linkAlign+'"><DIV ALIGN="'+linkAlign+'"><FONT face="'+linkFontFamily+'" Size="'+linkFontSize+'"> <A HREF="'+ssmItems[1]+'" target="'+ssmItems[2]+'" CLASS="new">'+ssmItems[0]+'</DIV></LAYER></ILAYER></TD>')}
if(ssmItems[4]!="no"&&barBuilt==0){buildBar();barBuilt=1}
if(ssmItems[4]!="no"){document.write('</TR>')}}
document.write('</table>')
if (NS6){document.write('</TD></TR></TABLE>')}
if (IE||NS6) {document.write('</DIV></DIV>')}
if (NS) {document.write('</LAYER></ILAYER></LAYER>')}
theleft=-menuWidth;lastY=0;setTimeout('initSlide();', 1)}
YOffset=1;
XOffset=0;
staticYOffset=0;
slideSpeed=15
waitTime=100;
menuBGColor="#333333";
menuIsStatic="yes";
menuWidth=130;
menuCols=2;
hdrFontFamily="tahoma";
hdrFontSize="2";
hdrFontColor="666666";
hdrBGColor="666666";
hdrAlign="left";
hdrVAlign="center";
hdrHeight="10";
linkFontFamily="Tahoma";
linkFontSize="3";
linkBGColor="#eeeeee";
linkOverBGColor="#cccccc";
linkTarget="_top";
linkAlign="left";
barBGColor="333333";
barFontFamily="Times new roman";
barFontSize="4";
barFontColor="ffffff";
barVAlign="center";
barWidth=20;
barText="MENU"
ssmItems[0]=["لینک", "/","_self"]
ssmItems[1]=["لینک", "/"]
ssmItems[2]=["لینک", "/","_self"]
ssmItems[3]=["لینک", "/","_self"]
ssmItems[4]=["لینک ", "/","_self"]
ssmItems[5]=["لینک", "/","_self"]
ssmItems[6]=["لینک", "/", "_self"]
ssmItems[7]=["لینک ", "/","_self"]
ssmItems[8]=["لینک", "/", "_self"]
ssmItems[9]=["لینک", "/"]
ssmItems[10]=["لینک", "/","_self"]
ssmItems[11]=["لینک", "/","_blank"]
buildMenu();
</SCRIPT>
کد4:
<link rel="stylesheet" type="text/css" href="http://script2ni.ir/Rasul/html/other/style.css"><script type="text/javascript">
$(document).ready(function(){
$("takip").mouseover(function(){
$(this).filter(':not(:animated)').animate({width:135},{duration:500});
});
$("takip").mouseout(function(){
$(this).animate({width:42});
});
});
</script>
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
</head>
<body>
<!--Serverdl | Designed by KaMRaN (kamran hajivand) -->
<div id="takip">
<a href="http://www.serverdl.com/portal">
<div class="portal12"></div>
</a>
<a href="mailto:ehsan_afshar@ymail.com">
<div class="email"></div>
</a>
<a href="ymsgr:addfriend?ehsan_afshar@ymail.com">
<div class="yahoo"></div>
</a>
<a href="ymsgr:addfriend?ehsan_afshar@ymail.com">
<div class="twitter"></div>
</a>
کد5:
<style>.tdicons {text-align : center;border-radius:0 8px 8px 0;position :fixed;left : 0;top :40px;float : left;width : 60px;height:280px;text-align:left;padding:7px;;border:1px #fff solid;
background: #e0e0e0;
background: -moz-linear-gradient(top, #e0e0e0 0%, #f7f7f7 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e0e0e0), color-stop(100%,#f7f7f7));
background: -webkit-linear-gradient(top, #e0e0e0 0%,#f7f7f7 100%);
background: -o-linear-gradient(top, #e0e0e0 0%,#f7f7f7 100%);
background: -ms-linear-gradient(top, #e0e0e0 0%,#f7f7f7 100%);
background: linear-gradient(to bottom, #e0e0e0 0%,#f7f7f7 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e0e0e0', endColorstr='#f7f7f7',GradientType=0 );
}
.tdicons a{-webkit-transition : all 0.5s ease-in-out;-moz-transition : all 0.5s ease-in-out;-o-transition : all 0.5s ease-in-out;display : block;float : left;margin : 2px;padding : 5px;font-weight : bold;color : #fff;border-radius : 8px 0 8px 0;}
.tdicons img{-webkit-transition : all 0.2s ease-in-out;-moz-transition : all 0.2s ease-in-out;-o-transition : all 0.2s ease-in-out;padding:0px;}
.tdicons img:hover{padding : 0px 0px 0px 10px;}
</style>
<div class="tdicons">
<a href="/" target="_blank" title="Home Page">
<img src="http://up.vbiran.ir/uploads/137295102843383_0home.png" title="HomePage" alt="HomePage" width="40" height="40"></a>
<a href="/" target="_blank" title="FaceBook"><img src="http://up.vbiran.ir/uploads/137295102831326_1facebook.png" title="FaceBook" alt="FaceBook" width="32" height="32"></a>
<a href="/" target="_blank" title="shoping"><img src="http://up.vbiran.ir/uploads/137295102818204_2shop.png" title="Shoping" alt="Shoping" width="32" height="32"></a>
<a href="mailto:info@espinasforum.ir" target="_blank" title="Contact"><img src="http://up.vbiran.ir/uploads/137295102824519_4Phone.png" title="Contact" alt="Contact" width="32" height="32"></a>
<a href="/" target="_blank" title="Twitter"><img src="http://up.vbiran.ir/uploads/137295102824135_3twitter.png" title="Twitter" alt="Twitter" width="32" height="32"></a>
<a href="#Top" id="top-link"><img src="http://up.vbiran.ir/uploads/137295102810151_5gotop.png" title="برو بالا" alt="برو بالا" width="32" height="32"></a>
</div>
هر کدوم از منو ها که مورد پسندوتون واقع شد میتونید در سایتتون قرار بدید.
یا حق

