similar to: link_to popup

Displaying 20 results from an estimated 7000 matches similar to: "link_to popup"

2007 Jul 31
2
link_to
Im trying to use the link_to helper to open a blank window which is basically just a framed window to display user info without all the extra distractions that come along with opening this window. Here is what I got: <%= link_to ''Airline Preferences'', {:action => ''airline_preferences'', :id => @user.id, :method => ''post'' }, :target
2013 Jun 05
1
Link_to image_tag popup
Hello All, How can I add a popup in link_to image_tag? I am trying as :- <%= link_to image_tag(@user.avatar.url(:small)), ''/users/edit'', :popup=>[''original_image'', ''height=700,width=900''] %> It goes to the edit page. But it doesn''t opens popup. Is this the correct way to call a popup? How can I achieve this? Thanks,
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 Nov 20
2
getting form content for print popup
I''m trying to open a new window for printing a form from a link. I want to display the contents of the form for printing. I can get the popup to work, but am wondering how to get the contents of the form from the parent window, using RJS. I can use a submit option to get the form parameters in a link_to_remote, but the popup doesn''t work. <%= link_to_remote
2006 Jun 14
1
Cross Browser Popups
Hi, Does anybody have a little cross-browser piece of code to resize a popup ? Excatly, I don''t know if it is possible ?, I would like to open a popup on the side of an existing window like if it would be a tabpane. So reducing window width by the width of the popup, set the popup on the side of the window. And the best of the best: when the window is resize, resizing the popup also
2003 Aug 13
4
RAqua
Small things, mostly. 1. Buildproblem. Well-known and annoying. Build fails if debugging is on (which is the default) because Debugging.h breaks devQuartz.c compiles. If debugging is switched off on the command line or in the environment, then devQuartz.c builds, but aquaconsole.c does not compile, because it needs Debugging.h. I do not want to edit Apple system files, and not files in the R
2006 Mar 10
0
link_to(... :popup => true) problem
I have a file_column that points to a pdf. I want that pdf to open in a new window, thus wrote the code: <%= link_to(''PDF version'', url_for_file_column(''floor_plan'', ''pdf_file''), :popup => true) %> which generates the code: <a href="/floor_plan/pdf_file/12/first_floor.pdf" onclick="window.open(this.href);return
2013 Mar 12
8
Heroku db id Starting with 1000
Hello All, How do I change the heroku database( already existed ) table id to start from say 1000? I tried with a fresh database on local & it works with this:- *execute "ALTER users orders AUTO_INCREMENT = 1000"* Thanks, Avinash -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from
2006 Jan 03
7
link_to an external url ?
Simple question. Is it possible to generate a link like <a href="http://www.google.com" target="_blank" >google</a> with the link_to function ? Thanks
2013 Jul 09
5
whenever gem
Hello All, I want to schedule a mail every day. I used whenever gem. I added gem ''whenever'' in my gemfile. Then in the terminal I did - "whenever ." which created a schedule.rb. In schedule.rd I added this piece of code:- set :environment, "development" every 2.minutes do runner "UserMailer.some_method" end Does it get invoked
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
2007 May 09
5
layouts + routes = confused
I''m new to RoR and the tutorials I''ve found on the web, while helpful, aren''t as "complete" as I''d like them. I understand the basics when it comes to layouts and routes, but I''m trying to get them to work together. MY first task was to implement a user authentication system (registration/login/logout/change_password). This works fine with
2007 Apr 11
2
Open Browser Window help
When I previously designed my static sites in dreamweaver, I used an Open Browser Window behavior which opened a URL in a new window of fixed size by inserting the following: <a href="javascript:;" onclick="MM_openBrWindow(''example.html'', ... ''width=300,height=300'')</a> Is there a simple way to do the same thing in ruby?
2008 Oct 17
1
link_to + image_tag
i want to integrated link_to with image_tag before i did link_to with image_tag like this <%=link_to image_tag(image.filename
2008 Jan 19
5
Open a (redbox) modal popup from inside a controller?
Hi, I''m trying to open a modal popup window using redbox to display a styled notification/alert to the user. The helpers in the redbox documentation only describe how to open a redbox when the user clicks on a link, e.g., link_to_redbox() or link_to_remote_redbox(). Is there any way to open a redbox, or a different type rails- compatible modal popup, from inside a controller action?
2007 Sep 10
3
link_to file
Hi, This is probably the stupidest question that I''m ever going to ask, but how do I create a link to a file? To be more clear, I simply want to create a link to a file that I am storing in the /public directory, say file.pdf. So, I upload the file to /public/ and then I would like to be able to do something like, link_to( image_tag(''image.jpg''),
2006 Nov 11
2
Setting Ajax.Updater update target to alternate window?
I need to make a call to Ajax.Updater(container, url, options) where container needs to be a DOM element in another window. So assuming my form is in window "X", can I specify a DOM element in window "Y" as the update target for my AJAX call? If I can, what is the correct syntax? Thanks, Wes -- Posted via http://www.ruby-forum.com/.
2009 Jul 15
0
[PATCH server] changed vm details pane vnc uri, removed 'Remote Desktop' virt-viewer-plugin link
virt-viewer-plugin is deprecated and will be replaced w/ ovirt-viewer-plugin, vm details pane uri indicates ovirt-viewer should be used with the specified hostname --- src/app/views/vm/show.rhtml | 18 ++++-------------- 1 files changed, 4 insertions(+), 14 deletions(-) diff --git a/src/app/views/vm/show.rhtml b/src/app/views/vm/show.rhtml index ffe5055..30b17cb 100644 ---
2007 Nov 19
3
link_to and GET parameters
Hi, I am trying to generate a link to external site with GET parameters ( in new window). I tried following code, but it does not produce any parameters. <%=link_to "Open New Page", "https://www.foo.com/page/", {:popup => true}, {:param1 => "value1", :param2 => "value2"}%> and <%=link_to "Open New Page",
2005 Jul 17
0
RE: link_to and CSS
What you want is a.linkCommand:hover, etc -----Original Message----- From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Shelby Westman Sent: Monday, 18 July 2005 2:20 AM To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org Subject: [Rails] link_to and CSS I am a bit confused about how