heydarifard
|
پاسخAnswer 20 : این اسکریپت را به php تبدیل کنید این چه مشکلی داره ؟ کد: <script> $(function() { var state = true; $( ".openandclose" ).click(function() { if ( state ) { $( ".fixright" ).animate({ right: -148.2px }, 1000 ); $( ".openandclose" ).animate({ backgroundPosition: 20px 0px }, 1000 ); $( "#headlogo" ).animate({ marginRight: 160px }, 1000 ); } else { $( ".fixright" ).animate({ right: 0px }, 1000 ); $( ".openandclose" ).animate({ backgroundPosition: 40px 0px }, 1000 ); $( "#headlogo" ).animate({ marginRight: 0px }, 1000 ); } state = !state; }); }); </script> |
||||||||
| سه شنبه 08 اردیبهشت 1394 - 13:47 |
|