[Proto-Scripty] Re: Observer problem

2009-12-15 Thread david
Hi rui, Your problem could be resolved using event delegation, you set the event on the body of you document. Whne the observed event is fired, you can know on which element it is applied. If the element is the element you *really* want to observe, just launch your code that handle that event.

[Proto-Scripty] callback decoration

2009-12-15 Thread Sergio Fernández
In a experiment, I'm trying to decorate the callbacks, but I didn't find the way to make the bind... What I'd like to do is to firstly get the control over response's callback, do some common stuff, and then invoke the callback set by the user. Anyone has any idea how can I do something like

[Proto-Scripty] Re: Prototype conflict solution

2009-12-15 Thread anatoly techtonik
+1 on Prototype.noconflict I wonder if there was .noconflict option - would it be possible to use two prototype versions on the same page? (need for old legacy code in new layout) On Nov 30, 2:01 pm, Rafal Zarajczyk rzarajc...@gmail.com wrote: As far as I know there is no such thing in

[Proto-Scripty] Re: callback decoration

2009-12-15 Thread Sergio Fernández
Using Ajax.Request(), I forgot to say it, sorry. On Dec 15, 3:45 pm, Sergio Fernández wik...@wikier.org wrote: In a experiment, I'm trying to decorate the callbacks, but I didn't find the way to make the bind... What I'd like to do is to firstly get the control over response's callback, do

[Proto-Scripty] Using cropping on images and affects

2009-12-15 Thread Topsoft Design Studio
I want to cause a few images of text to slide around within a colored box div region. When these images slide across the bounding box I want them to crop to that back to give the affect they are contained inside the region. Does anyone know a good way to set that up so I can use New

RE: [Proto-Scripty] Using cropping on images and affects

2009-12-15 Thread Topsoft Design Studio
On example I can give of what I mean is found here on the home page of this site: http://www.carlsonveit.com/ Ralph Brickley Owner logo-small 435 NE Evans St Ste 115 P.O. Box 510 McMinnville, OR 97128 (503) 583-1830 Cell | (503) 472-7914 Office | (800) 986-0276 Fax

[Proto-Scripty] Issues selecting checkboxes in FF

2009-12-15 Thread smartcookie
Hey there: Does anyone know a good way to programmably select or click on a checkbox input in FF? I have tried : el.down('input').checked = 'checked'; and el.down('input').onclick(); In the first code, I can see the checkboxes being checked, but when I submit, my error validation alerts that

RE: [Proto-Scripty] Issues selecting checkboxes in FF

2009-12-15 Thread Topsoft Design Studio
You need to also set a value for the checkbox also. el.down('input').checked = 'checked'; el.down('input').value = '1'; -Original Message- From: smartcookie [mailto:dpell.h...@gmail.com] Sent: Tuesday, December 15, 2009 12:18 PM To: Prototype script.aculo.us Subject:

RE: [Proto-Scripty] Issues selecting checkboxes in FF

2009-12-15 Thread Rick . Wellman
Um,... I am pretty sure if you see that a checkbox is checked then it is checked. You gotta suspect your validation code ('cause it sounds like your validation code is checking a group of checkboxes to make sure that at least one is checked). -Original Message- From:

[Proto-Scripty] Firefox's inline JS execution order

2009-12-15 Thread JoJo
I'm creating a widget where I tell people to copy and paste this code onto their site: script type=text/javscript src=http://www.site.com/script.js;/ script div class=widget/div Script.js looks for all the widget divs on the page by using $$ and dynamically fills them up. Now, I'm not

[Proto-Scripty] Re: Prototype conflict solution

2009-12-15 Thread Tobie Langel
I wonder if there was .noconflict option - would it be possible to use two prototype versions on the same page? (need for old legacy code in new layout) Unfortunately not, because of native object extensions. -- You received this message because you are subscribed to the Google Groups

[Proto-Scripty] Re: Issues selecting checkboxes in FF

2009-12-15 Thread Al C
I've got an AJAX page which dynamically refreshes... this is what I use... seems to work well enough for our purposes... (NB - I'm using prototype for most of my stuff) var fin = document.forms[name of form]; // replace name of form with the id of your form var SetCheckBox =

Re: [Proto-Scripty] Issues selecting checkboxes in FF

2009-12-15 Thread Alex McAuley
iirc $(element).checked==true; Alex Mcauley http://www.thevacancymarket.com - Original Message - From: Rick.Wellman rick.well...@kiewit.com To: prototype-scriptaculous@googlegroups.com Sent: Tuesday, December 15, 2009 8:26 PM Subject: RE: [Proto-Scripty] Issues selecting checkboxes in