Displaying 20 results from an estimated 600 matches similar to: "InPlaceEditor"
2005 Oct 31
2
Inplaceeditor and a tooltip on mouserollover?
on mouseover when using inplaceeditor it highlights in yellow. Great.
However, I want to also show a tooltip inside this div on mouseover.
Specifically, when a user is over editable text, besides the yellow
background, I want to display next to it a "delete" link. One of the things
I''ve tried is this:
<script language="JavaScript">
new
2005 Nov 23
2
Changing loadTextURL
I have an InPlaceEditor, when it is clicked on it loads the unformatted
textile text from the server. When i click on menu items, I change the
content to the formatted text and i want to change the file the
InPlaceEditor will load.
I thought a simple
loadTextURL: "getPage.php?page=" + currentPage;
would do. But currentPage is always empty... It''s baffling :p
Is there a way
2007 May 18
1
How do I use loadTextURL?
Hi,
How exactly do I use loadTextURL? I can''t find any instructions. I was
under the impression I just set loadTextURL to a script that will
return the data I want, but no matter what I do, it just continues to
say loading.
For example:
new Ajax.InPlaceEditor(''edit_author'', ''inc/blogedit.phpr'',
{loadTextURL:''inc/server.php''});
Works
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
2007 Aug 27
3
Problem with ListCtrl#get_item
Hello,
I have a problem with getting items from ListCtrl.
Although my ListCtrl is in LC_REPORT mode, it has columns set up,
every cell is set with set_item and everything displays fine, this
code:
x = myList.get_item(row,col).get_text()
always returns an empty string.
For example:
myList.set_item(0,0,"Hello")
x = myList.get_item(0,0).get_text()
now x equals "" !
I
2005 Oct 01
8
Ajax.InPlaceEditor on Safari & Firefox
Hi,
I''ve downloaded the latest svn trunk and was glad to see that
Ajax.InPlaceEditor forms can now be correctly submitted on Safari as
well, with the server response being correctly displayed as well.
The problem is, however, that clicking again on the same element
(after sumbitting it first) will duplicate the submit form. The next
attempt will triplicate it etc, etc...
Could
2006 Mar 02
0
[PATCH] small correction to allow editing of html with Ajax.InPlaceEditor
Ajax.InPlaceEditor will not let you edit HTML as it strips all tags
coming from the loadTextURL Ajax callback. Bug or feature? I say bug.
The patch below fixes this.
-Rob
--- js/controls.js.old 2006-03-02 13:46:26.000000000 +0000
+++ js/controls.js 2006-03-02 13:46:29.000000000 +0000
@@ -628,7 +628,7 @@
onLoadedExternalText: function(transport) {
Element.removeClassName(this.form,
2005 Sep 12
1
Edit In Place: text with line breaks
All,
I need to apply EditInPlace to a block of text that has line breaks.
I''d like to have the editable text load instantly by grabbing the text
from the page instead of using the "loadTextURL" option. However, this
will pull in the html formatting ( <br> and <p>).
Wanted to see what ideas the list had as far as making this possible -
the best idea I''ve
2007 Jan 11
2
In-place editor for a whole form?
I want to implement in-place editing for a hierarchical structure where
the nodes are not simple text fields, but need to be represented by at
least two input elements.
The Rails helpers only support in-place editing for a text field,
scriptaculous''s controls.js beyond that implements support for an
in-place editor containing a select element. I need an editor where I
essentially
2006 Mar 07
6
[PATCH] Allow Ajax.InPlaceCollectionEditor to load collection externally
Attached is a patch to allow Ajax.InPlaceCollectionEditor to load the
collection using AJAX.
It adds a new option, loadOptionsURL, which is the URL used to load the
values over the interweb. It expects the server to return
<option></option> values. If one of them has a selected="selected"
attribute, it will probably be pre-selected. Not tested that though.
Also only tested
2006 Feb 05
2
in_place_editor is missing load_text_url option
Ajax.InPlaceEditor supports a loadTextURL option. If you look at the
InPlaceEditor page
(http://wiki.script.aculo.us/scriptaculous/show/Ajax.InPlaceEditor)
you''ll see an excellent example in Rails of how you might use that
option textilize in place edited stuff.
Unfortunately, the example doesn''t use the nifty Rails in_place_editor
method because
2006 Apr 21
1
how-to pass other values to InPlaceCollectionEditor?
Hi,
I am trying to pass others paramenter to the function
InPlaceCollectionEditor, but I think that is not possible
I have modified some rows controls.js to line 782 from:
#######################
this.editField = this.cached_selectTag;
if(this.options.loadTextURL) this.loadExternalText();
this.form.appendChild(this.editField);
this.options.callback = function(form, value) {
2005 Nov 20
1
Deleting InPlaceEditor
Howdy,
I have created several InPlaceEditor''s for each of my menu items. This way i
can easily rename them, however when i rename a menu item, it renames
several id''s in the document.
I then need to adjust an InPlaceEditor to point to the new id. It seems an
inplaceeditor cannot be changed, so i have been tryiny to delete it, then
create a new one.
How do i delete an
2005 Nov 11
2
InPlaceEditor trouble
Hi all
this is my first post to this list. Im am trying to use the InPlaceEditor,
but I only manage to make it work in very simple case as in teh demo on the
wiki. In my case I have a list of records ("books") with different fields
and each field has an InPlaceEditor. My problem is how to pass teh id of the
record to the update action at the controller, I tried to define the
2006 Jan 13
2
Ajax.InPlaceEditor
Ajax.InPlaceEditor
Could someone explain to me the necessary steps in getting this to work.
--
Thank You In Advance,
Frank D''Elia
2006 Feb 08
9
InPlaceEditor - IMG for OK / Cancel?
Hi all,
Is it possible to use images instead of plain text for the "OK" and "Cancel"
controls?
Thanks,
Best Regards,
EJC
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2007 Sep 28
1
Ajax.InplaceEditor (script.aculo.us / Prototype)
I am new to script.aculo.us and prototype and I am having problem
using it. It only has problem in IE. There is no problem in Firefox
and it works fine. I am using script.aculo.us InPlaceEditor and it
always returns object expected as an exception. What I could debug so
far is I could see element and url which are the parameters. I could
see object in Ajax.InPlaceEditor after creating class but
2006 May 08
2
inPlaceEditor and onClick Event
Hi all. I have specific situation that I want to made element to be edited in place (i mean I want to wrapped that element Ajax.InPlaceElenment) but i want that inplaceeditor be triggered not clicked in that element but in the other element. e.g. there are two divs and first I want to be inplaced editor but this inplaced editor should be trigerred when i clicked in second divs. How to do it nice?
2005 Oct 27
5
Save output of Ajax.InPlaceEditor to a variable?
All,
The Ajax.InPlaceEditor control is nice but I''d like the ability to
read the changed value. Basically, I''m creating a form with editable
elements but it''s only when I do the submit that the form elements are
submitted. I''d still like to allow in-place editing but what I''d like
to do is get the new value and throw that in a hidden form variable
Is