search for: rajgarhia

Displaying 10 results from an estimated 10 matches for "rajgarhia".

2006 Jul 18
5
Right-click popup menu?
...(as text). Now, I would like to be able to right-click on each user''s name, and get a menu containing links such as "View Profile", "Send Message", etc. These links could open in a new window. Is this possible? Any help would be greatly appreciated. Thanks, Aditya Rajgarhia -- Posted via http://www.ruby-forum.com/.
2006 Aug 10
7
Radio Button events
Hi, I have observers for a group of radio buttons, an observe_field for each radio button (I think its not possible to have one observe_field for a group of radio buttons). Now, the problem is that when I click on one radio button, all the observers get trigerred, so the method which the observe_field calls gets the wrong result. I just want that method to get the radio button that is
2006 Jun 02
3
Chat Room development
Hi, I was wondering if it is possible to create a chat room using Ruby/Rails (similar to the Java ones used by Talkcity, Yahoo, etc). Not many people will be using it since it''s just for an educational experiment. If possible, will it be able to insert the text immediately? I mean, I don''t know of any techniques besides Java applets that can do that, which is why I ask
2006 Aug 04
2
observe_field for radio_button
Hi, I need to observe a set of radio buttons but am having great trouble. My observe_field looks like this: <%= observe_field :user_select, :frequency => 0, :url => { :action => :admin_control } %> Now it works fine if I use a text_field like this: <%= text_field :user, :select, "size" => 20, "maxlength" => 16 %> But I want a radio button, and
2006 Aug 11
1
Store Javascript variable''s value into Rails variable
Hi, I have a javascript function that returns a value. Is it possible to store this value into a rails variable? If you really want to know the reason why I need to do such a thing, look at http://www.ruby-forum.com/topic/76733. If it''s possible to store the javascript value into the rails variablem then the problem is solved. Thanks! -- Posted via http://www.ruby-forum.com/.
2006 Jul 25
2
Page doesn''t have scroll bar :/
I have a page with a form that is longer than the page view. Yet there is no scroll bar. How can I get one? Thanks, Aditya -- Posted via http://www.ruby-forum.com/.
2006 Aug 18
4
Button on view
Hi, I have a page containing 3 views (2 are partials). One of the partials needs to have a button that will clear a table called "messages" in the database. I can put a button like this "<%= button_to "Clear Messages", :action => ''clear_messages'' %>" and have the controller do "Message.delete_all". But the problem is that the
2006 Jul 20
3
ActiveRecord/ActionController in javascript code
Hi, I have a javascript file for generating a menu when the user hovers over a link. These links are basically a list of logged in users. Now, in the menu I would like to have a link to "Display Profile" so that a user can view the profiles of other users. Also nice would be a picture in the menu. The problem is obviously that the javascript expects static links. But I want to
2006 Jul 21
3
Unobtrusive Javascript plugin
Hi, I downloaded the unobtrusive_javascript pluing from this link (http://www.lukeredpath.co.uk/index.php/2006/06/06/introducing-unobtrusive-javascript-for-rails/) since I needed to have dynamic content in javascript (for a pop-up menu). Unfortunately I have been unable to make the plugin work. I followed the instructions on the website, but for some reason the javascript doesn?t work (for
2006 Jul 22
0
Pop-up menu
Hi, After spending a few days thinking about this problem (and trying out several ways), I can say that I have absolutely no clue on how to do the following: There is a page generated by rails that has shows a list of logged-in users. I would like to click/hover on a user''s name and get a pop-up box which contains a few links, such as "View Profile". Such menus have been