search for: externalcontrol

Displaying 14 results from an estimated 14 matches for "externalcontrol".

2005 Sep 01
2
FW: externalControl for in-place editing Browser in-compatibility
...this? I am a n00b to javascript. Is this a bug or am I doing something wrong? Can someone please confirm this. - -----Original Message----- From: Stephen Major [mailto:smajor@gmail.com] Sent: Wednesday, August 31, 2005 5:32 PM To: ''rails-spinoffs@lists.rubyonrails.org'' Subject: externalControl for in-place editing Browser in-compatibility I am not sure if this is a bug or my syntax is wrong but when specifying an external control for the inplace editor, this works fine in IE but not in firefox or netscape. The error that returns in the javascript console on mozilla based browsers is edi...
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 Jan 14
3
In place editing and external control
Dear all, First I''d like to thank authors for so nice Scriptaculous and Prototype libraries, which helped me already a lot! I have question regarding externalControl parameter in InPlaceEditor. If I understand correctly, I can use that to have one image as a trigger to enter edit mode? I tried with below code but without success: <span id="id1">My text</span> <script type="text/javascript"> new Ajax.InPlaceEditor(...
2006 Feb 08
0
[PATCH] Allow InPlaceEditor to only be activated by externalControls
Hey guys. I was builing an application with which I wanted to use InPlaceEditor, but it was preventing navigation because sometimes the bits the admin could edit were the only ways to follow a link. Etc. So I patched controls.js to have a new option "externalControlOnly", to that only the externalControl can edit the text entry. Patched against scriptaculous 1.5.1 from the website. Sorry it''s a crap patch, I don''t know how to use diff that isn''t cvs diff. -Rob _______________________________________________ Rails-spinoffs ma...
2005 Aug 31
0
externalControl for in-place editing Browser in-compatibility
...works fine in IE but not in firefox or netscape. The error that returns in the javascript console on mozilla based browsers is edit_50 is not defined. <script language="JavaScript"> new Ajax.InPlaceEditor(''cmt_50'', ''mypage.php'', {rows:8,cols:40,externalControl:edit_50}); </script> If someone knows how to correct this issue please let me know I really need to get this done and cannot wait for the final release. Btw I am using 1.5 pre3 -----BEGIN PGP SIGNATURE----- Version: PGP Desktop 9.0.1 (Build 2185) iQEVAwUBQxZL6qKXvLS903/FAQpRsggAxNiYQE89...
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 Aug 21
0
[PATCH] in-place-editor, AJAX loading
...---------- Index: controls.js =================================================================== --- controls.js (revision 2032) +++ controls.js (working copy) @@ -482,7 +482,9 @@ return Form.serialize(form); }, hoverClassName: ''inplaceeditor-hover'', - externalControl: null + externalControl: null, + loadUrl: null, + fieldId: ''inplaceeditor-field'' }, options || {}); if(!this.options.formId && this.element.id) { @@ -550,6 +552,7 @@ textField.type = "text"; textField.name = "value&qu...
2005 Sep 02
3
Ajax.InPlaceEditor
...<script language="JavaScript"> new Ajax.InPlaceEditor("edit $title", "/secure/updateContent.cgi?edittitle=$esctitle", {externalControl:"edit $title control"}); </script> I have this code wrapped up in a loop inside a perl module... As you can see I have played around with passing variables directly thru the URL... But unfortunatly the content which I pass thru this way is the UNedited content, not the E...
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
2005 Oct 25
24
InPlaceEditor scrolls to top in Firefox?
When I click an InPlaceEditor field in Firefox 1.0.7, the page scrolls up to the top. That''s disconcerting, and often ends up with the editable field out of the viewable pane. I can duplicate this on both Mac and PC. Is there a way to prevent this? Even the demo at http://wiki.script.aculo.us/scriptaculous/show/Ajax.InPlaceEditor does this. Jay Levitt
2006 Mar 22
9
Setting empty fields with in_place_editor_field
Hi all! Playing around with in_place_editor_field, I found that when you set a field to be empty, you can''t edit it at all anymore after that. Am I doing something wrong or is this the way it is intended to be? If so, is there any way around that behaviour? Is it just styling? Best regards, Raphael -- Posted via http://www.ruby-forum.com/.
2006 Feb 27
1
InPlaceEditor on an empty div
Hi, I am wondering what the trick is to use InPlaceEditor on an emtpy div. I have a set up where one div contains a question, and next to it is an emtpy div which should be used for InPlaceEditor. The user clicks on a button "answer" and that activates the InPlaceEditor in the appropriate div. This doesn''t work, however. The div which should use InPlaceEditor must
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 Mar 25
0
in_place_collection_editor
...ptions[:cancel_text] + js_options[''okText''] = %(''#{options[:save_text]}'') if options[:save_text] + js_options[''loadingText''] = %(''#{options[:loading_text]}'') if options[:loading_text] + js_options[''externalControl''] = "''#{options[:external_control]}''" if options[:external_control] + js_options[''loadTextURL''] = "''#{url_for(options[:load_text_url])}''" if options[:load_text_url] + js_options[''ajaxOp...