search for: new_window

Displaying 9 results from an estimated 9 matches for "new_window".

Did you mean: ec_window
2006 Nov 20
2
getting form content for print popup
...arameters in a link_to_remote, but the popup doesn''t work. <%= link_to_remote "Print", :url => {:controller => @controller_name, :action => ''print''}, :submit => ''packing_items_form'', :popup => [''new_window'', ''menubar,resizable=true''] %> Any suggestions? Dave --~--~---------~--~----~------------~-------~--~----~ 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 rubyonr...
2006 Jan 04
4
How to open a pdf file in new window
Hi all I made a pdf file in ruby and to display it used the method send_data like # send_data pdf.render, :filename => "Hello.pdf",:type => "application/pdf" # Now I want to open it in another window or as a popup. How can I achieve it? Thanks to all. Sainaba. -- Posted via http://www.ruby-forum.com/.
2011 May 13
2
Popup window
How can I insert (:popup => true) into code below? <%= link_to "Source_#{i}", link.url , :style => "color:#0096FF;font- family:''LucidaGrande'',''Lucida Grande'',''Lucida Sans Unicode'',sans- serif; font-size: 11px; text-decoration: none; margin-right: 10px;" if link.show? %> -- You received this message because you
2006 Jan 06
6
NewbieQ: How do I refresh view after return from popup window
...AJAX Usual Person data... Name, Position, etc Then; <td> <%= link_to(image_tag("new_organisation.png", :alt => ''New'', :border =>1), { :controller => ''organisations'', :action => ''new''}, :popup => [''new_window'', ''height=100,width=100'']) %> <select id="person.organisation_id" name="person[organisation_id]"> <%= options_from_collection_for_select @org, "id", "organisation_name", @person.organisation_id %> </select&g...
2006 May 13
1
need help for my link_to
I have a model Document that shares the same primary id with another model Upload, I would like to put a link on _list.rhtml of my document to edit the upload of the same id. I tried something like <%= link_to ''Edit'', {:controller => upload, :action => ''edit'', :id => document} %> but obviously that''s wrong. Any idea how to make it right?
2008 Feb 19
1
adding an onclick option to link_to method
Hello, I''m trying to use the rail link_to to open a popup window and then print the popup window at the same time. Is there a way to add another "onclick" option to tell the popup to print? I know how to do this in javascript but not sure how to use the rails help to do it. I also am aware that the link_to_function method is used to call a javascript function.
2006 Mar 22
1
HABTM / Dropdown Help Needed
I''m terribly new to Rails, so bear with me. I have an application I am working on which deals with projects and subcontractors. There can be several subs on each project and each sub can work on several projects. I have my join table set up and has_and_belongs_to_many in both models. If I manually put data in the join table, this works in my show view: <% for subcontractor in
2006 Feb 11
7
A quick question on popup windows
How the hell do you close em off after the action is completed? Ta, Eric
2010 Mar 20
0
Problem with videos on heroku
...20: <% if @video.video_file %> 21: <%= link_to image_tag(url_for_file_column("video", "video_file", :name => "thumbnail"))+"<br>", {:controller => url_for_file_column("video", "video_file")}, :popup => [''new_window'', ''height=200,width=200''] %> 22: <% end %> 23: <%= file_column_field ''video'', ''video_file'' %> 24: &nbsp;&nbsp;&nbsp; #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb: 1792:in `method_mis...