similar to: Automatically creating handlers for scriptaculous events

Displaying 20 results from an estimated 7000 matches similar to: "Automatically creating handlers for scriptaculous events"

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
2005 Oct 28
6
InPlaceEditor: XHTML validation
It''s not a critical bug by any means, but shouldn''t InPlaceEditor put DIV tags around the INPUT field? From what I can tell on the W3C validator, INPUT has to be in a block-level tag for XHTML. Of course, there are probably a zillion other things that wouldn''t validate, but every little step helps... Corollary question: Anyone know how to see what contexts a tag
2006 Jan 22
1
Bug in Scriptaculous 1.5.1 (InPlaceEditor)?
Hello guys, I''m experiencing a bug in 1.5.1, confirmed by me in IE and others on the Rails general list in Safari. It does not manifest itself in Firefox. In IE and Safari, clicking an Ajax.InPlaceEditor causes two form elements to be created, rather than the one expected. I''ve examined the code in controls.js and determined that the event handler "enterEditMode" is
2006 Nov 16
3
Scriptaculous 1.6.5 Checkbox problems
I''d report this on the rails trac site but it won''t let me open a new ticket. I figured this was important enough to bring this up now. I replaced the prototype version in Scriptaculous 1.6.4 with the version in 1.6.5 in a rails site I''m working on. I noticed though that even though I was clicking the checkbox to confirm the acceptance of a terms of service that I kept
2006 Feb 27
0
update a second div with Ajax.Updater, when Ajax.InPlaceEditor has just finished to modify another first div
Hi, I''m a newbees in javascripting with scriptaculous, but I wonder someone to help me on that simple (not for me of course !) case : I''d like to update a second div with Ajax.Updater, when Ajax.InPlaceEditor has just finished to modify another first div ? How could I do this in this kind of code : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
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 Jan 22
6
Bug in Script.aculo.us'' Ajax.InPlaceEditor?
Guys, I am likely going to submit this as a bug, but wanted to see if anyone else is experiencing it. I''m trying to use an Ajax.InPlaceEditor. In firefox, it works great, but in IE, it adds two form elements when clicked instead of one. In other words, you have two text fields, two ok buttons, and two cancel links after clicking an element to be edited. This even happens when
2008 Jun 06
2
Scriptalicious: Ajax Inline Text Editor
Hi, I''m just starting out with Scriptalicious + Prototype, and I''ve run into a problem. I''m trying to create an Ajax.InPlaceEditor that combines the custom size textbox, and the custom parameter (from the examples in the scriptalicious documentation) http://github.com/madrobby/scriptaculous/wikis/ajax-inplaceeditor I''ve tried a couple different methods (one of
2005 Oct 26
2
Troubleshooting inplace editor
I can''t get the inplace editor to do anything for me. The output appears as regular formated, unclickable text. Maybe I am missing something simple. 1. I just downloaded script.aculo.us <http://script.aculo.us> 1.5_rc3 and copied it to my javascript folder. 2. To set up a simple test, I created a new test page containing only the copied from demo1 from the script.aculo.us
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 (&nbsp;), and this does cause the editor to appear,
2006 Apr 22
1
RJS, scriptaculous, page.replace problem with input fields?
I''m hoping someone can help... I have an rjs template that invokes a couple of page.remove() calls that work fine, and a page.replace() call that does not. I''ve played with the javascript extensively from within Firefox''s FireBug module, and it seems to me that this is what is happening: What I''m trying to replace is an element that''s been
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>
2006 Jun 14
5
generic onDragStart onDrag and onDragFinish events extracted from scriptaculous?
Hi folks. I''m working on a project where I need some drag and drop, but I need to implement what happens in a very different way, so I''m creating my own class for it. I don''t want to reinvent the wheel and redo Thomas'' excellent drag/drop functionality, nor do I want to copy/paste his code over into mine. So, I was wondering, has anyone tried to extract
2006 Jul 21
1
Ajax.InPlaceEditor is not a constructor error?
Hey I''m getting a Ajax.InPlaceEditor is not a constructor error on some of my pages. I''ve included the following .js''s: :defaults scriptaculous Any ideas? Thanks guys! Gustav gustav@rails.co.za -- Posted via http://www.ruby-forum.com/.
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.
2008 Jun 02
0
Ajax.InPlaceEditor <br>-Tags in a textfield
Hey, i''ve got a problem using the InPlaceEditor as a textarea with the current version of Script.aculo.us and prototype. I have some formated text (using <br>) in the div. After i updated scriptaculous today it doesn''t convert the <br> to \n for correct formating in the textarea if i click into for editing. Instead of this i can see the <br>-tags in the
2006 Apr 03
0
Using "in_place_editor_options" for script.aculo.us options?
I was just learning about the "in_place_editor_field" tag when reading thru RAILs Recipes. What is "in_place_editor_options" for???? I was hoping after reading the script.aculo.us documentation that I could do something like this. <%= in_place_editor_field :contact, column.name, {:tag => ''div''}, { :cancelText => ''Never
2006 Feb 09
6
inPlaceEditor ISSUES!
I have run into a problem that I have never created before. I am using the scriptaculous inPlaceEditor If I hit the cancel button, and rehit the editor it then creates two textboxes, and if I repeat three input boxes, etc.! Must be stupid simple, but I AM STUMPED! DECO
2006 Jun 21
0
MochiKit breaks Prototype/Scriptaculous on IE 6
Hello folks, I have a situation where I''m using both MochiKit and Prototype/Scriptaculous on the same page. Everything works well in Firefox however MochiKit appears to be breaking my Scriptaculous autocomplete in IE 6. I''m currently loading the JavaScript libraries in the following order: prototype.js scriptaculous.js"> <script
2005 Dec 25
2
scriptaculous-js-1.5.0
I''m not a JavaScript guy, so please help me out. It''s my understanding that Rails 1.0 includes scriptaculous-js-1.5.0 But it seems to contain portions of, but not the complete library. Rails 1.0 includes 4 .js files, scriptaculous-js-1.5.0 includes 8. What am I missing? > tmornini$ rails --version > Rails 1.0.0 > > tmornini$ rails test | grep