Displaying 11 results from an estimated 11 matches for "highlightcolor".
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 so I''m hoping that I''m just missing something.
My view code looks like this:
<%= in_place_editor_field :platform, :name %>
I''ve tried v...
2006 Mar 03
3
Ajax.InPlaceEditor - disabling the yellow highlight?
Is there a way to disable Ajax.InPlaceEditor''s yellow rollover highlight?
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 actu...
2005 Dec 07
5
InPlaceEditor update of page contents ?
Hi all !
InPlaceEditor refreshes only the element that was updated. Is there
any way to make it update tons of other stuff ?
I have a table where changing a value in it causes changes in most
other cells (weight to percentage to money).
Thanks for any help !
--
François Beausoleil
http://blog.teksol.info/
_______________________________________________
Rails-spinoffs mailing list
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
2008 Jun 16
1
changing the style of in_place_editor_field
Hi...
I''m using in_place_editor_field. I want to change the default style of
in_place_editor_field. I need to apply another style for the label, the
yellow and white highlighting color.
I tried
<%= in_place_editor_field :ci_class, :name, {:id => @ci_class.id},
{:highlightcolor => "#FF0000"} %>
But this is not working. Please help me to change its style.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"...
2007 Apr 09
0
Unobtrusive IPE -- comments, please
...ot;utf-8">
var rightClick = function(e){
Event.stop(e);
var editListing = new Ajax.InPlaceEditor("listing_body",
"ajax_update.php",
{rows:20,cols:50,
onComplete: function(transport, element) {
new Effect.Highlight(element,
{startcolor: this.options.highlightcolor});
editListing.dispose();
},
loadTextURL: "get_raw.php?id=<?= $id ?>&field=description",
ajaxOptions: {method: "post"},
callback: function(form, value) {
return "id=<?= $id ?>&field=description&myparam=" +
encodeURIComponent...
2005 Oct 31
0
SELECT instead of INPUT in InPlaceEditor ?
...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@public.gmane.org
http://lists.rubyonrail...
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
2006 Sep 25
3
In place editing an empty field
I am trying to use the Scriptaculous InPlaceEditor and in some cases the
field will be empty. That is, the field currently has no value but the
user wants to enter a value.
The InPlaceEditor appears to not work in this case. Other identical
fields (except wit different ids and some value) do work.
I have tried using a nonbreaking space ( ), and this does cause the
editor to appear,
2006 Feb 21
6
Help with Script.aculo inPlaceEditor
Well, I start recently with Scriptacolus and inPlaceEditor. I have two doubts about use it.
1) When I specify URL for save changes or not it doesn''t work. See example below:
<script type="text/javascript">
new Ajax.InPlaceEditor(''aNombre'', ''productos.php?a=actualizar&f=aNombre'');
</script>
In productos.php file I have