[Proto-Scripty] MouseOut MouseOver

2009-06-11 Thread Elie
Hi, How to obligate a MouseOver Effect to finish before launch a MouseOut Effect. I tried 'queue' but not a good idea. I try to analyse existing script and it's look like setTimeout and ClearTimeout method most used. Thanks --~--~-~--~~~---~--~~ You received

[Proto-Scripty] Re: Getting checked checkbox values

2009-06-11 Thread Alex McAuley
Updated your code to include if the checkbox is checked!! http://pastie.org/508323 HTH Alex - Original Message - From: jhicks jeremy.hi...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Wednesday, June 10, 2009 6:18 PM Subject:

[Proto-Scripty] Re: MouseOut MouseOver

2009-06-11 Thread Alex McAuley
Sorry the question makes no sense Any chance you could be a bit more clear in what you want then we will be better able to assist you Regards Alex - Original Message - From: Elie elienajb...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent:

[Proto-Scripty] My Interface works in IE but not in Firefox? Any Ideas?

2009-06-11 Thread Daryl
I am working on an interface using prototype and scriptaculous and it works fine in IE but not in Firefox. Here is a link to the interface: http://new.trackyou.co.uk/dashboard.php Does anyone have any ideas how I can get this to work in firefox?

[Proto-Scripty] Re: My Interface works in IE but not in Firefox? Any Ideas?

2009-06-11 Thread Alex McAuley
You have an error in your Javascript somewhere i think it is here LINE 6 of cssverticalmenu.js var ultags=document.getElementById(menuids[i]).getElementsByTagName(ul) try changing it to var ultags=$(menuids[i]+' ul'); to debug put var ultags=$(menuids[i]+' ul'); alert(ultags.length);

[Proto-Scripty] Working out where a user is on the page

2009-06-11 Thread Jeztah
At the time of a function call is it possible to work out where the user is on the page (scroll wise) without something being clicked or moved. I have an error function i built and it scrolls down to the center of the whle page (including anything past the scrollbar) - example of the

[Proto-Scripty] Re: Prototype still causes ie7 to hang ?

2009-06-11 Thread david
Hi Nadav, It seems that next release of prototype will modify this behaviour by specifying a src='blank.js' which should not be defined (Jdalton answer in the specified thread). I think you should make the change, but verify in the same condition that it works ! -- david On 9 juin, 22:35,

[Proto-Scripty] Re: Working out where a user is on the page

2009-06-11 Thread Matt Foster
When your event fires just get the scroll properties from the window, Prototype has a convenient method just for this purpose. http://prototypejs.org/api/document/viewport/getscrolloffsets -- http://positionabsolute.net On Jun 11, 9:30 am, Jeztah webmas...@thecarmarketplace.com wrote: At the

[Proto-Scripty] Re: MouseOut MouseOver

2009-06-11 Thread david
Hi Elie, as say Alex, the question is not very clear but I think I can help you. You'll have two event : mouseover mouseout. On each event it launch an effect with a duration. But if both events are fired in a short time (for exemple mouseout fired before the mouseover effect has finish),

[Proto-Scripty] $F is returning the field ID instead of the field value

2009-06-11 Thread jhicks
I'm trying to do something I've done many time before, but I'm getting different results. I have a very simple call to $F('MyField') within a function where the html is input type=text id=MyField size=3 maxlength=3 / I'm doing an alert within the function call: alert($F('MyField'); which

[Proto-Scripty] Re: Getting checked checkbox values

2009-06-11 Thread jhicks
Shouldn't this line take care of that? $$('input.keywordcheckbox[checked]') Its not that it was giving me ALL checkboxes back. It was that it was giving me back the checked checkboxes when the page initially loaded and not giving me the checkboxes that were checked after that. Anyway, I ended

[Proto-Scripty] Re: $F is returning the field ID instead of the field value

2009-06-11 Thread jhicks
Never mind. I figured it out. My javascript code was within a PHP block and so the $ was getting interpreted as the beginning of a variable. :( On Jun 11, 11:38 am, jhicks jeremy.hi...@gmail.com wrote: I'm trying to do something I've done many time before, but I'm getting different results.

[Proto-Scripty] 2 select elements cascaded to update

2009-06-11 Thread Martín Marqués
I have 3 select html elements which are related in cascade: countries, province and city. All 3 are select pulldown. The province pulldown only contains the provinces of the selected country and the city pulldown contains only cities from the province selected. Now, I have 2 JS functions which

[Proto-Scripty] Re: Getting checked checkbox values

2009-06-11 Thread Maarten
Its not that it was giving me ALL checkboxes back. It was that it was giving me back the checked checkboxes when the page initially loaded and not giving me the checkboxes that were checked after that. Could you provide some more of your source code? What exactly happens after the Ajax

[Proto-Scripty] Re: Getting checked checkbox values

2009-06-11 Thread Alex McAuley
If i recall correctly that line will only return checked=checked as an attribute not if it was checked after the DOM was loaded Your way is the exact same way i gave u ! regards Alex - Original Message - From: jhicks jeremy.hi...@gmail.com To: Prototype script.aculo.us

[Proto-Scripty] Re: Getting checked checkbox values

2009-06-11 Thread Alex McAuley
not if you wanted all checkboxes and seperate based on checked / unchecked values to send what is now checked and what was checked ! - Original Message - From: Maarten maartenwie...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Thursday,

[Proto-Scripty] Re: 2 select elements cascaded to update

2009-06-11 Thread Martín Marqués
2009/6/11 Alex McAuley webmas...@thecarmarketplace.com: You will need to get the value again from the select box or add a new observer for it upon the ajax response Post your code and someone will show you how actualizarProvincias() is called when country is changed (updates the provinces)

[Proto-Scripty] how use fire + bind/curry?

2009-06-11 Thread Miguel Beltran R.
Hi list Trying to do made more functions generics now I try with fire option. But this not work ('element1').observe('change', function(evt){document.fire.curry(evt.element()).('space:observer');}); ('element1').observe('change',