search for: restorecolor

Displaying 6 results from an estimated 6 matches for "restorecolor".

2005 Nov 07
2
question about Effect.Highlight and IE 5.5
...39;t quite work right. I''ve figured out a few things, but I''m not sure whether you want to change them or not. Here''s what I know: In Effect.Highlight.setup (line 532 in the rc4 version of effects.js), it does an element.style.backgroundColor to determine the ''restorecolor''. This doesn''t seem to work in IE 5.5, and if you switch it to Element.getStyle(this.element, ''background-color'') (as is done a few lines earlier when determining the ''endcolor''), it works correctly. Should this be changed? That, however, d...
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
2010 May 24
2
Two RJS visual effects will happen at the same time?
...olor":"#ffffff","startcolor":"#ffcccc"}); } catch (e) { alert(''RJS error:\n\n'' + e.toString()); alert(''$(\"vote_score\").update(\"Score 63\");\n$(\"vote_score\").visualEffect(\"highlight\", {\"restorecolor\":\"#ffcccc\",\"endcolor\":\"#ffcccc\",\"startcolor\":\"#ffffff\"});\n$(\"vote_score\").visualEffect(\"highlight\", {\"endcolor\":\"#ffffff\",\"startcolor\":\"#ffcccc\"});'');...
2006 Jun 22
1
fade and appear effects
i have a box of content on my site that i would like to fade out, load new content and then fade back in with the new content. i tried something like this: <%= link_to_remote(image_tag(url_for_file_column(''project'', ''image'')), :update => ''project-info'', :before => "new
2006 Jan 18
0
Behaviour & Effect.Highlight?
...emoveClassName(element,''hover''); } } }; The problem occurs after I run "Effect.Highlight" on a list item - the background color of the "hover" style is then ignored, but the border color is applied. I''ve tried adding "endcolor" and "restorecolor" options to my Highlight, and also specifying my colors in RGB and Hex, but neither work correctly. I''ve also tried different Effects - Pulsate, Shake - that leave my Hover styles intact. Happens in both Firefox 1.5 and IE6 on Windows. I threw together a stripped down test file: htt...
2005 Oct 05
5
InPlaceEditor crash on Safari
Quick question.. I often crash my Safari when using ''Enter'' on InPlaceEditor''s for submitting. Works fine on firefox(win & Mac) - no javascript errors. Anyone else seen this behavior? (Maybe it is just my alterings of InPlaceEditor :-) Best Regards Michael Krog