search for: raldred

Displaying 4 results from an estimated 4 matches for "raldred".

Did you mean: aldred
2007 Oct 09
1
returning from function within Array.each
function do_a_loop() { var fields = new Array(1,2,3,4); fields.each(function(item)) { if(item == 2){ return; } } } Im trying to do the following with prototype, but I need to exit the do_a_loop() function not just the function within each(). any ideas? I was originally using a (for in) loop until we moved to using prototype, now that we cannot use for in we have lost some
2010 Mar 30
0
using haml in internationalisation with haml views
I''m trying to use haml in my locale files but cant get it to parse. en.yml --------- page: content: " %p some paragraph %p another paragraph " view.html.haml ------------------- (works) =Haml::Engine.new(t(''page.content)).render -------------------(does not) =t(''page.content) is the first example the only way to do this? or am I going about
2011 Jun 15
0
rail_upgrade gem fails to recognise environment.rb
The rails 3 upgrade gem is refusing to generate a new application rb for a project i am trying to get onto rails 3. Running: rake rails:upgrade:configuration --trace Results in the following error: There doesn''t seem to be a real environment.rb in your app. Are you sure config/environment.rb has the right contents?
2007 Jul 23
3
Scriptaculous blind animation jerky when DIV contains a lot of content
Hi I have set up the following example to illustrates the problem I am having with scriptaculous. http://www.webmaint.com/scriptaculous_demo.html You will notice the animation is very jerky and looks awful in Firefox, and it just about passable in Internet Explorer I presume this is because of the way the browser renders the data in the select boxes. Is there any work around that could create a