mahan12
|
پاسخAnswer 3 : درخواست کد جی کوئری این منو کد: <!DOCTYPE html><head> <title></title> <script type="text/javascript" src="jquery-1.7.2.min.js"></script> <style> * { margin:0; padding:0; border:0;}body { direction:rtl; font-family:Tahoma; font-size:11px; }a { text-decoration:none; color:#444; display:block; height:20px; width:70px; transition:all 0.3s;} .menu { width:800px; border-radius:5px; height:35px; background:#f6f6f6; border:1px solid #eee; margin:30px 30px; padding:0 30px;} .menu ul li { color:#444; list-style:none; display:inline-block; width:70px; transition:all 0.3s; height:27px; padding-top:8px; text-align:center; margin:0 3px; } .menu ul li:hover { text-shadow:0px 0px 3px #111; background:#ddd; box-shadow:2px -2px 3px 0px #ccc inset; } .menu ul li ul { position:absolute; background:#f6f6f6; border-radius:0 0 5px 5px; width:80px; height:auto; margin-top:5px; } .menu ul li ul li { width:80px; margin:0; display:block; text-shadow:none; transition:all 0.3s; } .menu ul li ul li:hover { width:75px; margin:0; display:block; text-align:center; text-shadow:none; } </style> <script src="http://code.jquery.com/jquery-2.1.0.min.js"></script><script>$(document).ready(function(e) { $(".menu").click(function(e) { $(".down-menu").slideToggle(500); });});بفرمایید با Slide toggle (.) (.)
---------- |
||||||||
| شنبه 01 شهریور 1393 - 11:49 |
|
حمایت شده:
|
سپاس هاThanks (1) :
|