similar to: flash[:notice] as coach content...

Displaying 20 results from an estimated 7000 matches similar to: "flash[:notice] as coach content..."

2007 Mar 31
1
Setting a call to be recorded before Xfer?
I need to allow the company operator to decide whether to record a call. (Car dealership that needs to coach salespeople). They don't want to record every sales call, just for the purposes of coaching certain employees on an ad hoc basis. The situation is: a. Call comes in on PSTN PRI b. Call is routed to operator in dialplan c. Operator ascertains that its a sales call for a salesman in
2006 Apr 05
23
how to create RJS visual effects callbacks
I''m trying desperately to get visuall effects callbacks working in rjs templates to no avail What I''m trying to do is fade an image, change the div with the image to a new image, and then fade the new image back in. How would I go about this in RJS Here''s a simple line from my rjs that I can''t get to work. It is not using callbacks so the
2006 Mar 08
2
fade out and then fade in....how to make it work?
I''m trying to have one image fade out and then another slidedown upon completion of the ajax call. I can''t get the timing correct. How do you do it? Here''s what I''m trying (this does not work) <%= link_to_remote(image_tag(url_for_file_column(product, "image_url"), :update => ''right_content'', :url => {
2006 Mar 02
4
Instance variables in Javascript param
How can I make this work ? <a href="#" onclick="new Effect.Fade(@div_id)"></a> @div_id is an instance variable ? TIA -- Posted via http://www.ruby-forum.com/.
2006 Jun 24
6
Ajax fade effect
I have a list of categories, when I delete one of them, I want that item to fade and then get removed. So I do the following: 1. home_controller: def delete @category = Category.find_by_name(params[:name]) @element_id = @category.name Category.delete_all(["name = ?", @category.name]) end 2. delete.rjs: if @element_id page.visual_effect :fade, @element_id
2006 Jan 19
1
rjs problems
Hi, I am having trouble with rjs templates. Basically I want the item_div to fade if its already open and then display the new item that the user selected with the visual effect: appear. The code below causes the browser (firefox on osx) to open the div and then close it again as soon as it is open: page.visual_effect :fade, ''item_div'', :duration => 0.5 page.replace_html
2006 Jan 10
2
Make link_to_remote call redirect current view, not read redirected content
Hello everyone ! I have a link_to_remote which creates a Party from a ContactRequest. The action on the server creates the party, marks the contact request as processed, and then returns a redirect. According to my knowledge of HTTP, that is the correct thing to do. Unfortunately, Prototype is being too clever for me at this time... It follows the redirect, without notifying me. Anybody has
2006 Apr 07
1
Validate_presence_of error in nested object is not displayed
Hi, I have a contact object . This contact has a address object >>Contact class Contact < ActiveRecord::Base has_one :address validates_presence_of :first_name ,:last_name end .>>> Address class Address < ActiveRecord::Base belongs_to :contact validates_presence_of :address end Addres has the following fields ; address, phone, fax, email In the contacts_controller I
2006 Feb 08
5
RJS
I am playing with the new .rjs stuff in edge rails. I am doing stuff like : page.replace_html ''scoops_tot'', @scoops.size 1. I want to add my own javascript functions to the page object. Is it possible and how ? 2. I am trying to update several fields, but i would like a to have a dekay between the updates : @anoclicks.each{|aclick| page.replace_html
2006 Mar 02
7
Timing of effects before and after Ajax call
Hello, I have a problem with the timing of effects. I do have a tag (with id: post1). When the link is clicked, the block "post1" must BlindUp. Then the block is updated with the new content and then the effect BlindDown is executed. Below is the source code of the link_to_remote I am using. <%= link_to_remote("Ajax Edit", :update =>
2007 Mar 08
0
Re: Coaching in asterisk
NVWhisper. Justin ------------------------------ Date: Thu, 08 Mar 2007 16:25:28 -0500 From: Wai Wu <wkwu@calltrol.com> Subject: [asterisk-users] Coaching in asterisk Is there a way to setup a conference where party A can coach another Party B, at the same time, all other parties cannot hear party A? In order words, partis A and B can hear every one, and party A can only be heard by
2007 Mar 05
4
TC400B
Anyone tried the digium TC400B transcoding card? What are your opinions? Thnx
2006 Apr 07
5
RJS support "toggle" effect?
Does RJS inherently support the Element.toggle effect? I haven''t been able to call it the way you call "appear", "fade", etc... Jeff -- Posted via http://www.ruby-forum.com/.
2006 Oct 09
2
page.visual_effect :highlight
I have some code that will do the highlight, fade effect on a block of text. It seems to work just fine until it is fired multiple times very rapidly. The end color matches a grey background and the start color is a yellow. Say its run 4 times a second for 3-5 seconds. When the flashing catches up the text will fade for the last time to the end color, then the background will switch to a
2005 Dec 25
5
RJS not working?
I''ve been attempting to add a simple rjs ''delete'' method to my project. However, no matter what I try, it simply doesn''t work. Even the easy, easy stuff seems broken. (Yes, <%= javascript_include_tag :defaults %> is being included in the template.) For example, from: http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates VIEW: <h1
2007 Mar 25
1
the age old telephone tree... why re-invent the wheel?
I have an interesting task for my son's lacrosse team... it is the time-old telephone tree... I am pretty sure someone has already done this w/*, why re-invent the wheel?... a) coach calls in leaves a msg, others call in retrieve the msg b) coach calls in leaves a msg, kicks of a call to every parent plays msg c) coach calls in leaves a msg, kicks off a call to every parent, checks for
2008 Aug 06
2
software runs in a loop [mathe coach]
I wants to start a win Prog called "Mathe Coach" with wine. And yes I know that there are ohter and better Progs for linux, but it has to be that one....not my decision :-) The occuring problem is that wine hangs in a loop and i can't make neither head nor tail of the debug messages (the file is over 10 MB large, and i abborted wine after a few seconds to avoid larger files) here a
2006 Apr 27
7
RJS & Ajax question...
Hi, I''m trying to convert an older Rails application to use Ajax. I''ve already moved my edit and show actions so that, instead of displaying as separate pages, they appear in a <div> on my list view. However, I have two problems: 1) When the user saves the changes, I want to put all the ajax changes in an RJS template. However, form_remote_tag :url =>{:action =>
2006 Jun 13
1
AJAX based record deletion
Hi, New to RoR and I just wanted to check the correct process flow for this... I presently have a controller action: def destroy_category_association category = CatalogueCategory.find(params[:id]) product = Product.find(params[:product_id]) product.catalogue_categories.delete(category) end I display a list of categories assigned to a product, some of which I may wish to delete
2006 May 30
4
Hide parent element
I have some code that calls a partial to display one or more blocks within a div tag. I want to have a close button (or cancel link) that will fade that block but leave the others. Here is the code: LINK: <%= link_to_remote "Add Miscellaneous Link", :url => { :action => :add_iyc_link } %> add_iyc_link.rjs: page.insert_html :bottom, ''links'', :partial