yes, that worked, thank you

plus it's noninvasive to the library code,
here's what I did for reference...

Ajax.InPlaceEditor.DefaultOptions.highlightEndColor = 'transparent';
Ajax.InPlaceEditor.DefaultOptions.highlightColor = 'transparent';
Ajax.InPlaceCollectionEditor.DefaultOptions.highlightEndColor =
'transparent';
Ajax.InPlaceCollectionEditor.DefaultOptions.highlightColor =
'transparent';

The only time I see any hint of highlight now is when it's external
control working on a textarea - but I can live with it.



On Jan 15, 11:57 am, "Brian Williams" <[EMAIL PROTECTED]> wrote:
> What about using transparent?
>
> http://webdesign.about.com/od/styleproperties/p/blspbgcolor.htm
>
> On Jan 15, 2008 2:49 PM, Andy Koch <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hello,
>
> > I'd like to disable the highlight effect on text that's embedded in
> > the inPlaceEditor.  I've seen other posts on this idea where they've
> > suggested modifiying the control.js code.  To that end I've found this
> > bit in control.js..
> > ************
> >    onLeaveHover: function(ipe) {
> >      ipe._effect = new Effect.Highlight(ipe.element, {
> >        startcolor: ipe.options.highlightColor, endcolor:
> > ipe.options.highlightEndColor,
> >        restorecolor: ipe._originalBackground, keepBackgroundImage:
> > true
> >      });
> > ************
>
> > which seems like I could comment that out.
>
> > Is that still the generally accepted way to accomplish this?
>
> > Or is there a setting, like [highlight = false] - or maybe I could
> > just add one?
>
> > also, the real reason I want this is because on FF2 - if I click text
> > to open the editor - then I click cancel - the text remains
> > highlighted, there is no fade.  So figuring out why it doesn't fade is
> > the real problem - but my needs are met by doing without the
> > highlight.
>
> > Thank You
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to