similar to: How do I use loadTextURL?

Displaying 20 results from an estimated 200 matches similar to: "How do I use loadTextURL?"

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
2005 Oct 07
2
InPlaceEditor
Hi all, I was wondering if I could get some help with using Ajax.InPlaceEditor. I want to use loadTextURL to get the text, as it says on the bottom of the documents ''How to edit server side formatted text (formatted with eg. textile)''. My question is how do I know which inplaceedit I''ve clicked? So that I know which id I need to get the text from in the mysql
2006 Feb 28
0
loadTextURL
When i load text into the script using loadTextURL: "getPage.php", It loads what i want it to load but i can not edit it. IS this an error on my part or what new Ajax.InPlaceEditor(''tobeeditedTD'', ''changelink.php'', { loadTextURL: "getPage.php", callback: function(form, value) { return
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
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
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) {
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 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
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 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 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 Feb 18
3
Edit in Place
I need help using In Place Editor by script.aculo.us #controller def my_action #get the text to display initially @fancy_text = "Some fancy *bold* and _emphasized_ text." end def update_text #save your text here, and return the saved value @fancy_text = params[:value] render :layout => false, :inline => "<%= textilize( @fancy_text ) %>" end
2007 Apr 09
0
Unobtrusive IPE -- comments, please
I just coded an unobtrusive In Place Editor and wanted to get some review and comments for it. Anyone spot anything obvious that I could do to streamline this? Thanks, Walter <script type="text/javascript" charset="utf-8"> var rightClick = function(e){ Event.stop(e); var editListing = new Ajax.InPlaceEditor("listing_body",
2006 Mar 25
0
in_place_collection_editor
Hi, I''m trying to write a helper for Scriptaculous'' InPlaceCollectionEditor component. I''ve already submitted a patch (http://dev.rubyonrails.org/ticket/4302). This was a drunk patch; it needs a bit of work (Don''t drink & code!). So far I''ve gotten it to work correctly with normal collections, but I want to use it for belongs_to relations as
2000 Mar 01
1
smbpasswd failure
I've attempted to change my smb password on a remote NT PDS, but it always fails with resolve_name: Attempting lmhosts lookup for name SERVER<0x20> getlmhostsent: lmhost entry: 127.0.0.1 localhost resolve_name: Attempting host lookup for name SERVER<0x20> Connecting to nnn.nnn.nnn.nnn at port 139 error connecting to nnn.nnn.nnn.nnn:139 (Connection refused) unable to connect to
2008 Feb 20
5
Counterstrike 1.6 problems
When I try to run counterstrike, I get the following: fixme:process:SetProcessShutdownParameters (00000100, 00000000): partial stub. dir: C:\Program Files\Steam\bin\ *.mix dir: C:\Program Files\Steam\bin\ *.asi dir: C:\Program Files\Steam\bin\ *.flt warning: Unknown nb_ctl request: 4 warning: Unknown nb_ctl request: 30 err:dscapture:widDsCreate DirectSoundCapture flag not set This sound
2006 Feb 03
2
rsync Corrupted MAC on input.
I am doing a large and long transfer and twice now i have gotten this error killing the transfer, anyone know what/how i can fix this? root@denali [/etc/rsync]# Received disconnect from 66.160.191.130: 2: Corrupted MAC on input. rsync: writefd_unbuffered failed to write 4 bytes: phase "unknown" [sender]: Broken pipe (32) rsync: connection unexpectedly closed (1055144 bytes received so
2011 Apr 07
2
[LLVMdev] GSoC 2011: Superoptimization for LLVM IR
Hello all, thanks for the feedback! It sounds like you are planning to follow the approach of Joshi, Nelson and > Randall ("Denali: A Goal-directed Superoptimizer") in that you don't intend > to exhaustively enumerate all possible code sequences, and see if they are > the same as the original only better; but instead start from the original > code > sequence and
2006 Aug 01
7
System seams slower with Xenified kernel and xend dies with SIG 15
Hello all, I compiled the kernel with the xen patch and I seam to have trouble with some kernel modules, like ATI''s proprietary driver. The system seams considerably slower than before, this might be because of the video drivers, or maybe the RAM alocated to dom0 (512Mb instead of it''s usual 1Gb). When I try to run xend, it dies with a SIG 15. I attached the log file. Anyone