similar to: link_to_remote with onmouseover event

Displaying 20 results from an estimated 900 matches similar to: "link_to_remote with onmouseover event"

2007 Mar 09
0
different mouse event when using link_to_remote
Anybody a have better method for having an onmouseover (or any event). This is the method used but its not as pretty and has to be done for every mouse event. def link_to_remote_mover(name, options = {}, html_options = {}) link_to_function_mover(name, remote_function(options), html_options) end def link_to_function_mover(name, *args, &block) html_options =
2006 Dec 17
0
unterminated string literal
Hello, I am not able to solve this problem on my own. I have a nested Div tag like this: <div id="training" > <div id="daytraining" >Training </div> </div> Some other elements should insert content here by: <%= content_tag("div" ,"Training",:id => "#{training.date.day}" , :onmouseover =>
2006 Jun 16
5
Menu using Scriptaculous Effects = OnMouseOver bug
I am trying to achieve a Flash-like menu with OnMouseOver effects on 3 divs below. Unfortunately, the javascript resets when the mouse is rolled over the text and if you go mouse crazy on the divs, the script seems to remember where it cut off, and doesn''t roll down completely afterwards. Is it a good place to ask for help? I couldn''t find any Scriptaculous forum (only
2005 Mar 24
5
Using html_options with link_to_remote??
Why doesn''t this output class="delete" into my html? <%= link_to_remote image_tag("delete"), :update => "relationship_" + @relationship.id.to_s, :url => { :controller => "relationships", :action => "destroy", :id => @relationship.id }, :html_options => {:class => "delete"} %> Regards, Ben
2006 Jul 14
4
Help with link_to_remote or javascript generator
Hi all, I''m a relative noob to rails so I apologize in advance for asking such a basic question. I am trying to do multiple AJAX calls using the link_to_remote helper or the JavaScript generator update_page. I have googled and read the docs for both, but can''t seem to figure out exactly what i need to do. Say I have the following html: <div
2008 May 24
1
link_to_remote, image_tag, mouseover is this possible?
Hi guys, I was wondering if you are able to have a link_to_remote, having an image_tag and the link_to_remote has a mouseover event that updates a div. Does the image_tag need the mouseover event? I currently have: <%= link_to_remote(image_tag(@p_image.public_filename(:thumb)), :update => "big_pic", :onmouseover => {:action => :color_change, :id => @p_image.id})%>
2006 Jan 08
0
link_to_remote(image_url url_for_file_column(product, "image
I apologise for bad formatting. I don''t know how to make it nice in an email How do you nest image_url tags into link_to_remote tags. The following creates the error:wrong number of arguments (3 for 2) <%= link_to_remote(image_tag url_for_file_column(product, "image_url"), { "class" => "small_product",
2006 May 23
0
html "class" attribute for "link_to_remote"
Hi, now this should be easy, but for some reason I was not able to generate a link with a "class" attribute using "link_to_remote". I tried several different ways, including the one that worked for "link_to", but so far no luck. I have to admit that I am not 100% sure how to read the rDoc documentation. If it says: link_to_remote(name, options = {},
2006 Mar 03
1
rjs isn''t update_page problems
i have a list of, for example, meal_names. Basically, I can submit a name and the name I add shows up in the list.I had this working wehn i created an actual add.rjs template for it. So feeling good about my self, I attempted to move it all to the controller and use some update_page goodness. Now it the ajax middle doesn''t happen. I don''t get any errors but the list
2006 Mar 03
0
re: rjs update_page problems
my apologies for my previous butchery of the english language... i have a list of, for example, meal_names. Basically, I can submit a name and the name I add shows up in the list.I had this working when i created an actual add.rjs template for it. So, feeling good about my self, I attempted to move it all to the controller and use some update_page goodness. Now the ajaxy magic doesn''t
2008 Feb 12
0
button_to problem http://localhost:3000/art/151470;edi
hi all, now i am facing problem with button_to , it shows the path like http://localhost:3000/art/151470;edit instead of http://localhost:3000/art/edit/151470 the path is not displaying problem, so i got the error , no route found. in application_helper : def button_to(name, options = {}, html_options = nil) html_options = html_options.stringify_keys
2009 Jul 20
0
No subject
at least once a week I receive such an attack coming from a different ip. I will read the articles. Thanks again to everyone. Regards, Rodrigo Lang. 2010/6/29 Kenny Watson <kwatson at geniusgroupltd.com> > Hi, you can use fail2ban >
2006 Jan 11
0
RE: Event.observer - unordered list problems
Hi Marco (I forwarded this also to the mailing list and removed the picture as it wasn''t necessary to include to the mailing list so everyone can hear the general techniques), I recently had a very similar problem with my project. The problem arises because whenever you move the mouse to ANY element, the previous element that the mouse was over gets a mouseout event, even if it
2006 Feb 27
0
Example code for select_from_db (a.k.a. combo box)
I''m not asking for help this time! :) :) In almost every Rails project I create, I find that I want a select() popup menu that is pre-populated by data from the database. Also, I want an "Other..." option that presents a text_field_tag to input another (not presented) option (basically a combo-box). In an attempt to be as DRY as possible, I''ve come up with
2006 Jan 11
0
RE: RE: Event.observer - unordered list problems
I just realized I made a mistake... in the first numbered solution, the != should be == ________________________________ From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Ryan Gahl Sent: Wednesday, January 11, 2006 2:28 PM To:
2005 Nov 29
0
undefined method `link_to'
Hi, all I''m trying call link_to from another helper but got this error: undefined method `link_to'' for module `UserHelper'' how can I get access to helper from another helper? this is my users_helper.rb: module UsersHelper alias ink_to_original link_to alias link_to link_to_permission def link_to_permission(name, options = {}, html_options = nil,
2006 Jun 27
4
RJS Form Values
Hi, I have the following code : <%=link_to_function("? | China", update_page{|page| page[''tags_en''].value = "China" page[''tags_ch''].value = "?" }) %> This updates two text fields with the China and ?. However I want to append the values, not replace them. So I need something like this :
2006 Jun 01
3
html_options and select()
I am trying to add html_options to select(): <%=select(:user, :id,[[''me'',1],[''myself'',2],[''and I'',3]], :select => {},:html_options => {"size" => 5, "multiple" => true})%> This does not work... How do I get the html_options to work? ActionView::Helpers::FormOptionsHelper -- Posted via
2005 Oct 11
2
Pushing Javascript Helper to external file.
I have a table and when I mouseover a row I want a pop-up with some additional information for that specific row (called remotely). I can do this easily with something along the lines of... onmouseover="<%= remote_function(:updated => "notediv", :loading => " Element.show(''note'');", :url => {:action => ''get_note'', :id
2006 Jul 08
10
A rant about parameters
Guys, I''ve been chasing a problem with country_select for the past few hours now. My intention was pretty simple...use the following line in a form: <p><label for="country_region">Country</label> <%= f.country_select :country_region, "United States" %></p> However, for the life of me, I couldn''t get it to work. I kept getting