[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Popup without application

Sridhar Golyandla

12/19/2007 7:23:00 AM

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 <body> 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....
--
Posted via http://www.ruby-....

1 Answer

Sridhar Golyandla

12/19/2007 1:14:00 PM

0

instead of layout => false, write layout nil...
This will work fine for me....! :-)
--
Posted via http://www.ruby-....