search for: link_to_remote_mover

Displaying 2 results from an estimated 2 matches for "link_to_remote_mover".

2007 Mar 09
0
link_to_remote with onmouseover event
...ouseover event (or any other mouse event) instead of onclick when using link_to_remote: This is what I did, but I''d i have to create one for every mouse event, can''t figure out how to call a mouse event via an argument . anyone else run into this problem. Thanks 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 = args.last.is_a?(Hash) ? args.pop : {} function = args[0] || '''&...
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 = args.last.is_a?(Hash) ? args.pop : {} function = args[0] || ''''...