
Untitled
By: a guest on
May 4th, 2012 | syntax:
None | size: 0.96 KB | hits: 12 | expires: Never
<div id="logintrigger">Already a developer, Login!</div><!-- usually we need <a href="#">, but is not neccecary due to jquery-->
<div id="loginform"><form action="login.php?submitted=true&lr=l" method="post"> <div id="logg"> <div id="lspace">
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>
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>
<input type="submit" name="submit" value="Login" class="login" /> </div> </div>
</form></div>
<script type="text/javascript">
$("#logintrigger").click(function(){
$('#loginform').filter(':not(:animated)').animate({ height: 'toggle' },500);
}, function() {
$('#loginform').animate({ height: 'toggle' }, 250);
});
</script>