Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 4th, 2012  |  syntax: None  |  size: 0.96 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <div id="logintrigger">Already a developer, Login!</div><!-- usually we need <a href="#">, but is not neccecary due to jquery-->
  2. <div id="loginform"><form action="login.php?submitted=true&amp;lr=l" method="post">     <div id="logg">         <div id="lspace">
  3.         Username: <br><input type="text" name="username" style="padding: 5px; margin-top: 5px; float: left; width: 97%; height: 35px; color: rgb(93, 145, 183); font-size: 27px;" /><br/><br><br>
  4.        
  5.         Password:  <br><input type="password" name="password" style="padding: 5px; margin-top: 5px; float: left; width: 97%; height: 35px; color: rgb(93, 145, 183); font-size: 27px;" /><br/><br><br>
  6.        
  7.         <input type="submit" name="submit" value="Login" class="login"  />              </div>  </div>
  8. </form></div>
  9. <script type="text/javascript">
  10.         $("#logintrigger").click(function(){
  11.                 $('#loginform').filter(':not(:animated)').animate({ height: 'toggle' },500);
  12.                         }, function() {
  13.                 $('#loginform').animate({ height: 'toggle' }, 250);
  14.         });    
  15.         </script>