search for: touppercase

Displaying 19 results from an estimated 19 matches for "touppercase".

2006 Mar 03
6
[PATCH] Effect.Accordion (not from the wiki)
Hello boys and girls In the ever-loving spirit of OSS, here''s another feature for s.a.u. In particular it''s called Effect.Accordion, and is a scriptaculified version of openrico''s Accordion. Work in progress, I''ll submit further modifications as the come in, but this is 90% of what needs to be done. I anticipate some bugs when I start using it more. Tested
2009 Apr 17
2
how to call javascript function in text_field_tag
Dear all Sorry for dummy question. How can I convert a text input in form to upper case letter in view? Can I call the javascript function toUpperCase() in text_field_tag?? <%= text_field_tag(:sometext, nil, :size => 14) %> I know I can achieve this using params[:sometext].upcase in controller, but I want to do this in view. Any ideas? Many thanks Valentino -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~-----------...
2005 Jun 28
1
Thomas script.aculo.us (important bug and add ons)
...ngth>1){ this.r=arguments[0]; this.g=arguments[1]; this.b=arguments[2]; }else{ this.r=parseInt(color.substr(0,2),16); this.g=parseInt(color.substr(2,2),16); this.b=parseInt(color.substr(4,2),16); } } Color.prototype.toString=function(){ var s=""; s+=this.r.toColorPart().toUpperCase(); s+=this.g.toColorPart().toUpperCase(); s+=this.b.toColorPart().toUpperCase(); return s; } Effect2.Glow=Class.create(); Effect2.Glow.prototype=(new Effect2.Base()).extend({ initialize:function(){ this.element=$(arguments[0]); options={ from:0.0, to:1.0, fromColor:new Color(&quot...
2006 Jun 22
8
Ajax in IE 5.5 / Win 98
Are Ajax requests available in IE 5.5 / Win 98? Sam _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...raggable._dragging[this.element]) && Draggable._dragging[this.element]) return; - if(Event.isLeftClick(event)) { + if(Event.isLeftClick(event)) { // abort on form elements, fixes a Firefox issue var src = Event.element(event); if((tag_name = src.tagName.toUpperCase()) && ( @@ -309,34 +309,34 @@ var Draggable = Class.create({ tag_name=='OPTION' || tag_name=='BUTTON' || tag_name=='TEXTAREA')) return; - + var pointer = [Event.pointerX(event), Event.pointerY(event)]; var pos = Po...
2006 Jul 23
6
how do you give focus to a form field?
When you put up a page with a form on it and the top item is a text field it would be nice to have that field already focused instead of forcing the user to click in it before they start typing. Is there a rails (i.e. probably Prototype) way of giving focus to a field? I did some searching and found nothing. thanks, jp P.S. I''m on a Mac. Perhaps a winoze and/or unix automatically
2019 Aug 07
0
samba-tool PTR with /16 network
...I hope it isn't, because if it is, his DC is internet resolvable. Rowland -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- function jsUcfirst(string) { string = string.toLowerCase(); return string.charAt(0).toUpperCase() + string.slice(1); } function change(id,type) { var idorg = id*10; if (idorg == 20) { document.getElementById(id ).innerHTML = (document.getElementById(idorg ).value).toUpperCase(); } else if (idorg == 10) { document.getElementById(id ).innerHTML = jsUcfirst(document.getElementById(idorg ).value)...
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply to this email, as some of the replaced lines are too long, so git won't let me send the email. However, there is nothing wrong with that patch, and it should be applied in the sequence listed below. Note also that I assume this will be tested on a clean f11 install, rather than an upgrade of an existing ovirt server
2006 Feb 27
11
Disabling anchor clicking in a draggable
Hey guys I have an interesting problem - I have some draggable elements (sortable actually), with links (<A>) inside them. I want the user to be able to click on the link, however if the user drags the element I don''t want the link to get fired. Can anyone think of a way to do this? It only needs to work in Firefox. Cheers -Rob
2006 Sep 29
1
Error on drag n drop list after refreshing list using AJAX
...sults, listItemString=''&nbsp;'', listItemColor; if (ajaxReq.readyState == 4) { if (ajaxReq.status == 200) { results = ajaxReq.responseText.split("="); for(var h=0; h<results.length; h+=2){ listItemColor = "Green"; lessonType = lessonType.toUpperCase(); switch(lessonType){ case ''LEC'': listItemColor = ''Red''; break; case ''TUT'': listItemColor = ''Blue''; break; case ''LAB'': listItemColor = ''Brown''; break; } //end-switch-case...
2007 Aug 24
0
7 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_string.c test/trace
...*object, guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret) { - const char *string = swfdec_as_object_to_string (cx, object); + const char *string = swfdec_as_string_object_to_string (cx, object); char *s; s = g_utf8_strdown (string, -1); @@ -513,7 +526,7 @@ void swfdec_as_string_toUpperCase (SwfdecAsContext *cx, SwfdecAsObject *object, guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret) { - const char *string = swfdec_as_object_to_string (cx, object); + const char *string = swfdec_as_string_object_to_string (cx, object); char *s; s = g_utf8_strup (string, -1); diff-tr...
2006 Jun 19
13
PNG and Alpha-Transparency
Is there a prototype / extension which will assist in cross-browser support of PNG images? http://www.alistapart.com/articles/pngopacity/ It seems to me that a class could be developed which would zip through the DOM and make changes where needed for IE 5.5 / IE 6.0 to handle PNG images. I don''t want to write one if it''s been done before. Sam
2010 May 10
6
feedback on a few ActiveSupport::Multibyte patches
Hi all, In response to Rodrigo Rosas''s message about mb_chars.upcase not giving the expected result on 1.9, I''ve done some work in a fork to make String#mb_chars always return an instance of a proxy class, both with Ruby 1.8 and Ruby 1.9. The end result of the patch is (hopefully) to make Rails'' multibyte functionality behave the same way in 1.8.7 and 1.9.x.
2019 Aug 07
8
samba-tool PTR with /16 network
Yes, offcourse, the 172.19 is a "bad" example. I suggest we use the official RFC 1918 zones. 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 And for example 192.168.0.0/24 as extra, or people get confused. ;-) Greetz, Louis > -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Rowland penny via samba > Verzonden: woensdag 7
2005 Nov 07
2
question about Effect.Highlight and IE 5.5
...nt.style.backgroundImage = this.oldBgImage; }, updateElementColor: function(color) { this.element.style.backgroundColor = color; // some browsers don''t recognize changing the background color on TR elements if (this.element.tagName && this.element.tagName.toUpperCase() == ''TR'') { for (var i=0; i<this.element.childNodes.length; i++) { this.element.childNodes[i].style.backgroundColor = color; } } } There was another browser that had the same issue as IE 5.5, I can''t remember if it was Opera 8 or Saf...
2007 Jun 01
0
Branch 'as' - 2 commits - libswfdec/Makefile.am libswfdec/swfdec_as_strings.c libswfdec/swfdec_as_types.c libswfdec/swfdec_interval.c libswfdec/swfdec_interval.h libswfdec/swfdec_player_as.c libswfdec/swfdec_player.c
...al.h \ swfdec_loadertarget.h \ diff --git a/libswfdec/swfdec_as_strings.c b/libswfdec/swfdec_as_strings.c index a68b8e0..e59c69c 100644 --- a/libswfdec/swfdec_as_strings.c +++ b/libswfdec/swfdec_as_strings.c @@ -199,6 +199,8 @@ const char swfdec_as_strings[] = SWFDEC_AS_CONSTANT_STRING ("toUpperCase") SWFDEC_AS_CONSTANT_STRING ("isFinite") SWFDEC_AS_CONSTANT_STRING ("isNaN") + SWFDEC_AS_CONSTANT_STRING ("setInterval") + SWFDEC_AS_CONSTANT_STRING ("clearInterval") /* add more here */ ; diff --git a/libswfdec/swfdec_interval.c b/libswfde...
2007 May 31
0
Branch 'as' - 8 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_string.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_as_types.c test/trace
...index 5b3c2f2..a68b8e0 100644 --- a/libswfdec/swfdec_as_strings.c +++ b/libswfdec/swfdec_as_strings.c @@ -197,6 +197,8 @@ const char swfdec_as_strings[] = SWFDEC_AS_CONSTANT_STRING ("substring") SWFDEC_AS_CONSTANT_STRING ("toLowerCase") SWFDEC_AS_CONSTANT_STRING ("toUpperCase") + SWFDEC_AS_CONSTANT_STRING ("isFinite") + SWFDEC_AS_CONSTANT_STRING ("isNaN") /* add more here */ ; diff-tree 9455718a161adcddb76a64ad8e56574bf33a085f (from 3f57d29295a312faa09d60fbaf9081c662fc4662) Author: Benjamin Otte <otte at gnome.org> Date: Thu May...
2008 Dec 05
0
Wine release 1.1.10
...Add a test case. mshtml: Implement IDispatch for IHTMLCommentElement. msxml3: Implement IXMLDOMAttribute get/put value. mshtml: Implement IHTMLStyle get/put overflow. Andrew Nguyen (9): jscript: Implement the String.toLowerCase() method. jscript: Implement the String.toUpperCase() method. jscript: Implement the String.big() method. jscript: Implement the String.blink() method. jscript: Implement the String.bold() method. jscript: Implement the String.fixed() method. jscript: Implement the String.italics() method. jscript: Implement the S...
2007 Nov 27
0
12 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader_internal.h libswfdec/swfdec_load_object_as.c libswfdec/swfdec_load_object.c libswfdec/swfdec_load_object.h
...+ constructor (hp) = _global.Function + toLowerCase (hp) = function + __proto__ (hp) = _global.Function.prototype + constructor (hp) = _global.Function + toString (hp) = function + __proto__ (hp) = _global.Function.prototype + constructor (hp) = _global.Function + toUpperCase (hp) = function + __proto__ (hp) = _global.Function.prototype + constructor (hp) = _global.Function + valueOf (hp) = function + __proto__ (hp) = _global.Function.prototype + constructor (hp) = _global.Function +local.a = object + __constructor__ (h) = _global.String + __pro...