# Popup without application

**URL:** <https://www.ruby-forum.com/t/popup-without-application/123617>\
**Category:** Ruby\
**Created:** [December 19, 2007, 8:23am UTC](https://www.ruby-forum.com/t/popup-without-application/123617 "2007-12-19T08:23:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sridhar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9fc29f/32.png) [@sridhar](https://www.ruby-forum.com/u/sridhar)\
**Post date:** [December 19, 2007, 8:23am UTC](https://www.ruby-forum.com/t/popup-without-application/123617/1 "2007-12-19T08:23:09Z")

</div>

Plz help me out…  
In my web application, i have to populate the popups to display the  
“welcome” msg, it is a static page… i have written the code in  
javascript and called when the main page is loaded using onload()  
function, in tag…but when the popup is populated, shows the  
welcome msg along with “Header” and “Fotter” in the popup window…  
The header and footer code are written in saved as “application.rhtml”  
in app/view/layouts/  
due to dis the popup page shows the header and footer…  
in the popup cntrl i have disabled the layout like :Layouts =\> false

Plz any body knw how to rectify this prob… urgent

Thanx for all in advance…

---

<div class="post-metadata">

**Author:** ![sridhar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9fc29f/32.png) [@sridhar](https://www.ruby-forum.com/u/sridhar)\
**Post date:** [December 19, 2007, 2:14pm UTC](https://www.ruby-forum.com/t/popup-without-application/123617/2 "2007-12-19T14:14:12Z")

</div>

instead of layout =\> false, write layout nil…  
This will work fine for me…! 🙂
