# Login form as a popup

**URL:** <https://www.ruby-forum.com/t/login-form-as-a-popup/118554>\
**Category:** Rails\
**Created:** [October 28, 2007, 8:12pm UTC](https://www.ruby-forum.com/t/login-form-as-a-popup/118554 "2007-10-28T20:12:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dorelal](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/3da27b/32.png) [@dorelal](https://www.ruby-forum.com/u/dorelal)\
**Post date:** [October 28, 2007, 8:12pm UTC](https://www.ruby-forum.com/t/login-form-as-a-popup/118554/1 "2007-10-28T20:12:47Z")

</div>

These days I see login form as a popup everywhere. You can see an  
example  
here

[http://eventful.com](http://eventful.com) (click on ‘sign in’).

I have seen an example at "Prototype window’  
[http://prototype-window.xilinus.com/samples.html](http://prototype-window.xilinus.com/samples.html) .

Is there any other example? How easy/tough it is to integrate into Rails  
application.

I looked at open source rails application to see to see this behavior  
but  
couldn’t find any app which allows login using a popup.

---

<div class="post-metadata">

**Author:** ![dorelal](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/3da27b/32.png) [@dorelal](https://www.ruby-forum.com/u/dorelal)\
**Post date:** [October 28, 2007, 10:18pm UTC](https://www.ruby-forum.com/t/login-form-as-a-popup/118554/2 "2007-10-28T22:18:34Z")

</div>

On 28 Oct 2007, at 19:11, Neeraj K. wrote:

> These days I see login form as a popup everywhere. You can see an  
> example here
> 
> [http://eventful.com](http://eventful.com) (click on ‘sign in’).

It’s just some javascript to show an initially hidden div.

> I have seen an example at "Prototype window’ http://prototype-  
> [window.xilinus.com/samples.html](http://window.xilinus.com/samples.html) .  
> Clever, because there are a bunch of stuff it handles (resizes,  
> moving etc…)

---

<div class="post-metadata">

**Author:** ![dorelal](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/3da27b/32.png) [@dorelal](https://www.ruby-forum.com/u/dorelal)\
**Post date:** [October 28, 2007, 10:26pm UTC](https://www.ruby-forum.com/t/login-form-as-a-popup/118554/3 "2007-10-28T22:26:45Z")

</div>

I have been looking in to doing this for the past couple of weeks. I  
have used many javascript libraries to do this. All have been  
successful, but with varying degrees of complexity. Some merge well with  
rails, others seem to purposely clash ;). Google around for Prototype  
Window Class, Lightbox Gone Wild, and the rails plugin RedBox.

-Bill
