search for: modalbox

Displaying 5 results from an estimated 5 matches for "modalbox".

Did you mean: malbox
2010 Jul 01
6
Close Modalpopup with RJS
hi guys: I''m scratching my head on this one: I have a twitter app where I''m trying to open a modalpopup with a twitter sign in, get them to sign in, then close the popup and refresh the main window. My code however refreshes the main window with the popup window result, which I thought was really strange: application.html.erb function OpenModalPopUP() {
2009 May 05
4
modalbox rails var interpolation
Howdy everyone. I am using modalbox which is very nice an easy to use. I have this for an edit for a company listing: <td><%= link_to(''Manage Companies'', {}, :onclick => ''Modalbox.show(\''/ companies/edit/#{company.id}\'', {width: 600}); return false;'') %></td&gt...
2009 Aug 26
5
Noob DRY method question
Hi Gurus, I''m learning the Rails framework, and I have this exact block of html/javascript in two places in an if/else construct in application.html.erb: <body onload="Modalbox.show(''<div class=\''warning\''> <p> <center> <%= flash[ :notice ] %> </center> </p> <p> <center> <input type=\''button\'' value=\''OK\'' onclick=\''Modalbox.hide()\''/> &lt...
2007 May 25
1
form_remote_tag :condition
...m information via an AJAX call. This is what I have: <% form_remote_tag :update=>''nothing'', :url=> {:action => ''create''}, :condition =>''validateMe();'', :html=> {:id=>''signIn''}, :success =>''Modalbox.hide();'' do %> so the HTML that is generated is: <form id="signIn" onsubmit="if (validateMe()) { new Ajax.Updater(''nothing'', ''/fc/create'', {asynchronous:true, evalScripts:true, onSuccess:function(request){Modalbox.hide();}, paramet...
2012 Jun 21
0
Open form in modal box in rails 3
Hi All, I am new in ROR. I want to open form in modalbox of jquery in rails3. So please send me help if any body have a idea asap. Thanks. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-...