jQuery Twitter Style Login Window

By Sam Deering


I will show you how to add a really cool twitter style login window to your website. It’s pretty simple just follow these 3 steps:

  1. Enter the jQuery code below into your JavaScript include
  2. Enter the HTML code below to create the form and login button
  3. Edit your CSS file to get the look and feel you want for your website

See Live Demo

jQuery(document).ready(function($) {
    $(".signin").click(function(e) {          
	$("fieldset#signin_menu").mouseup(function() {
		return false
	$(document).mouseup(function(e) {
		if($("a.signin").length==0) {

Enter this code into your html:


Forgot your password?

This is an example of the CSS: FRONT.CSS

Any questions about this feel free to contact me!



Because We Like You
Free Ebooks!

Grab SitePoint's top 10 web dev and design ebooks, completely free!

Get the latest in JavaScript, once a week, for free.