similar to: how do I change color to an highlight effect ?

Displaying 20 results from an estimated 500 matches similar to: "how do I change color to an highlight effect ?"

2006 Aug 17
4
Unit Tests and lib/
Hi *, I have a few modules in lib/ and I use them mostly in my models. I''d like to add a few unit tests and run them with rake with all other tests of my app: where do I have to write them ? TIA, ngw -- Nicholas Wieland nicholas_wieland@yahoo.it -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Jul 31
5
ActionWebService API
Hi *, I need to pass a hash to a webservice, so I defined my API with: api_method :search, :expects => [{ :tags => :string, :assignment => :string, :resource => :string, :lesson_plan => :string, :subject => :string, :all_types => :string }], :returns => [[Resource]] when I try to test the webservice with scaffold the
2006 Jul 21
3
ActionMailer doesn''t send any mail
I''ve configured actionmailer following the documentation, adding to environment.rb everything for using my mail account on yahoo using deliver_* methods to send a mail. I can see the mail in development.log and everything seems fine, but no mails so far. Is there a place where can I see what the server answered, or something to look at to solve the problem ? I have no clue,
2006 Apr 13
1
Model is not a class
I''m trying to specify a model in a controller, but rails gives me "Account is not a class", where Account is my model name ... This is my model: class Account < ActiveRecord::Base validates_presence_of :email, :email_confirmation, :username, :password, :password_confirmation validates_format_of :email, :with =>
2006 Feb 14
1
authentication and session variables
Hi *, I''m looking at typo authentication, and was asking myself if it''s correct to put in a session variable a user object which has_many posts ... Just because I''m rolling my own authentication system and want to know what''s the best way to handle this issue (other than using a generator or a plugin, which I''d prefer not to use). -- Nicholas
2006 Mar 08
3
ActiveRecord and Images
Not really a Rails question, but a "best practices" one. If I want to associate an image to every account in my application, is it better to insert the image file directly inside the db or to upload the image in public/images/ ? Also, if I want to associate a cover to a movie, what''s the best approach ? TIA, ngw -- Nicholas Wieland nicholas_wieland@yahoo.it
2006 Aug 15
1
Interval datatype in migrations
How can I use an interval datatype inside migrations ? execute ? TIA, ngw -- Nicholas Wieland nicholas_wieland@yahoo.it -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060815/1c262694/attachment.html
2010 May 24
2
Two RJS visual effects will happen at the same time?
I was going to change the background of a div from white to red and then from red back to white, so this is used in an RJS file: page[:vote_score].visual_effect :highlight, :startcolor => ''#ffffff'', :endcolor => ''#ffcccc'' page[:vote_score].visual_effect :highlight, :startcolor => ''#ffcccc'', :endcolor =>
2006 Jul 31
4
RJS to find an element
I''m trying to implement a remove from cart method based on the examples in the second edition Agile book. I have everything working except for the RJS that removes items from the cart. Ideally what I''d like to do is highlight an element that I am deleting only if there is more than one of that particular item in the cart. If the item deleted is the only of
2006 Apr 28
1
startcolor and endcolor not working
In my RJS template this works: page.visual_effect :highlight, "test#{@test.id}", {:duration => 5} but not this: page.visual_effect :highlight, "test#{@test.id}", {:duration => 5, :startcolor => "#FFFFFF"} Am I misunderstanding how to pass in additional parameters? _______________________________________________ Rails-spinoffs mailing list
2008 Jan 23
11
Rails 2.0.2 + RJS
Hi I had ajax commenting on my app, which worked perfectly on Rails v1.2.6, but does not work the same in Rails 2.02. Basically the comment gets added, but the visual effects do not work (ie lines 2 + 3 of create.rjs) create.js page.insert_html :bottom, ''comments'', :partial => ''comment'' page.visual_effect :appear, "comment_#{@comment.id}"
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
2006 May 09
4
changing the color of :highlight
Is there an easy way to change to color of the :highlight effect? :complete => visual_effect(:highlight, "targetid", :duration => 1) thanks -- Posted via http://www.ruby-forum.com/.
2006 Jun 13
1
Routes question
Hi *, I have something like map.connect ''people/:username'', :controller => ''account'', :action => ''index'' in my routes.rb and obviously if the user isn''t logged it defaults to the login screen. I''d like to be able to fetch the :username and display it in the opposite input field inside my login page, but I
2006 Apr 04
3
Keeping javascript in the <head>
Given that Rails has built in ways to do almost everything else :) , is there a way to keep view specific javascripts inside the head tag of a layout without having to include that javascript on every page? -- Marlon -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060404/65e9bb6d/attachment.html
2008 Sep 03
2
Highlighint rjs problem on a new product
Hi, Problem Summary: I have been trying to add the highlight effect to my table but everytime a new record is added the highlighting gives an rjs error. However when i click the add to cart button on a product that already exists inside the table, the highlight effect works. Is this because the partial must only have only one <tr></tr> in it and the <table> must be on the other
2005 Mar 02
1
using subdomains as account keys
I finally managed to use subdomains as account keys, just as in tadalist. Now I have an "account" variable in all my controllers, and was thinking about what implications I''m going to have on security, because the accounts table contains all account crypted passwords (of course). Is it secure or not ? David ? :) -- checking for life_signs in -lKenny... no Oh my god, make (1)
2007 Jun 04
2
Re: Ajax.Request question with JSON return
Do I need something like this: eval(''('' + this.header(''X-JSON'') + '')'') (taken from Cody Swann, http://ajaxian.com/archives/prototype-extension-dynamic-script-pattern-support ). I''m guessing my problem is simpler, and I''m leaving something small out related to the header though. Thanks for any help -Mark 1. evalJSON:
2006 Mar 07
1
Minor fix for Ajax.InPlaceEditor
controls.js line 471: Where it says: new Effect.Highlight(element, {startcolor: this.options.highlightcolor}); can we change it to: new Effect.Highlight(element, {startcolor: this.options.highlightcolor, endcolor: this.options.highlightendcolor}); . Otherwise, it''ll use the default #FFFFFF to finish the highlight which doesn''t look right when #FFFFFF doesn''t match
2005 Jul 12
2
highlighte
hi, i''ve just started using script.aculo.us visual effects, lots of fun. i was wondering what the best and most efficient way would be of achieving something along the lines of fade anything technique (FAT, http://www.axentric.com/aside/fat/) whereby an element''s background fades away from one color to the element''s native background-color. (for example, you get