Displaying 5 results from an estimated 5 matches for "highlightendcolor".
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 your actual background.
Thanks.
2005 Oct 31
0
SELECT instead of INPUT in InPlaceEditor ?
...e:
<span class="editable" id="status_<%= payment.id %>"><%=
h(payment.status) %></span>
<%= javascript_tag %Q(new Ajax.InPlaceEditor('status_#{payment.id}',
'#{url_for(:action => :change_status, :id => payment)}',
{highlightendcolor: '#000000', highlightcolor: '#A80000'})) %>
( You guessed it - I'm on Rails 0.13.1 ! )
Thanks !
--
François Beausoleil
http://blog.teksol.info/
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@publi...
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
2006 Aug 02
2
Passing Ajax.InPlaceEditor options
I''ve followed the instructions in the Rails Recipe #1 and have the
in_place_editor_field working but now I want to tweak how it looks and
behaves. I''d like to be able to override the default yellow highlight color,
which is done using the highlightcolor param according to the scriptaculous
documentation (unless I''m missing something).
I''m new to Ruby and Rails
2006 Nov 04
2
in_place_editor_field submitOnBlur & okButton=false options?
I have a few in_place_editor_fields working fine. I can access some of
the script.aculo.us options such as :cols, :save_text, :cancel_text, but
how do I access the okButton = false & submitOnBlur options? Basically,
I want no submit button, a cancel button, and the ability to submit when
I tab out of the field.
Is this doable without writing a helper? (avoiding digging that deep so