Re: [Moo] Event Change

2010-12-29 Thread Sanford Whiteman
> A hack indeed, but far more practical and intuitive. Eh, maybe the results are what people have gotten used to but it's the opposite of the spec, exactly the kind of thing IE gets torn to shreds over... screws up custom onblur handlers, by Moz's own admission. You can do the same thing in

Re: [Moo] Event Change

2010-12-29 Thread Ryan Florence
A hack indeed, but far more practical and intuitive. On Dec 29, 2010, at 8:29 PM, Sanford Whiteman wrote: In fact, Mozilla > fires a fake blur (in native code) in order to "excuse" firing the > change while still claiming compliance. IMO, this is a hack whether > it occurs in compiled co

Re: [Moo] Event Change

2010-12-29 Thread Sanford Whiteman
> I just found it interesting that the input boxes change event does > not fire when it's checked state is changed (as the name would tend > to suggest)... DOM 2 change specifically occurs "when a control loses the input focus andits value has been modified since gaining focu

RE: [Moo] Event Change

2010-12-29 Thread Matthew Hazlett
Now that I have some time I will explain the problem in greater detail, it was my fault that I was not clear when I started this thread. In my first example (http://jsfiddle.net/CBcFn/) the class of the div did not change when the button was pressed, this was merely for illustration. The actua

RE: [Moo] Event Change

2010-12-29 Thread Matthew Hazlett
Great idea using a fireEvent, I didn't even think of that I must be slipping in my old age. Thanks -Original Message- From: mootools-users@googlegroups.com [mailto:mootools-us...@googlegroups.com] On Behalf Of Sanford Whiteman Sent: Wednesday, December 29, 2010 2:12 PM To: Andraž Kos

Re: [Moo] Event Change

2010-12-29 Thread Sanford Whiteman
> You really should use the "Moo way" of doing things. It will make things a > lot easier in the long run when programs get more complex. Your Moo-ified adjustment doesn't work in IE. onChange doesn't fire in IE until the element is blurred. It's possible to fire blur() manually, then

Re: [Moo] Re: MooGooMaps = MooTools + GoogleMaps javascript API

2010-12-29 Thread Trevor Orr
I think the around widget is pretty cool and the most useful. On Tue, Dec 28, 2010 at 7:28 PM, Ciul wrote: > Hey pals. > > Did you tried the widgets? > > Any opinion about them? > > I'd appreaciate opinions. My favorite one is the Around widget :P > > On 28 dic, 13:37, Ryan Florence wrote: >

Re: [Moo] Re: instanceOf with custom types?

2010-12-29 Thread Arian Stolwijk
That's confusing indeed, better would be "Checks to see if an object is an instance of a particular Type* or Class.*" On Wed, Dec 29, 2010 at 2:50 PM, stratboy wrote: > Yes you're right, excuse me. I read 'Checks to see if an object is an > instance of a particular Type.' and for some reason I

[Moo] Re: instanceOf with custom types?

2010-12-29 Thread stratboy
Yes you're right, excuse me. I read 'Checks to see if an object is an instance of a particular Type.' and for some reason I thought that wth Type (and not type) they intended some of the core mootools Types. Thank you! On 29 Dic, 14:35, Arian Stolwijk wrote: > Example from the docs:http://moo

Re: [Moo] Event Change

2010-12-29 Thread Andraž Kos
You really should use the "Moo way" of doing things. It will make things a lot easier in the long run when programs get more complex. http://jsfiddle.net/CBcFn/4/

Re: [Moo] instanceOf with custom types?

2010-12-29 Thread Arian Stolwijk
Example from the docs: http://mootools.net/docs/core/Core/Core#Core:instanceOf var myClass = new Class(); var bar = new myClass(); instanceOf(bar, myClass) // returns true So you could use instanceOf for your classes. On Wed, Dec 29, 2010 at 2:30 PM, stratboy wrote: > Hi! I want to check the

[Moo] instanceOf with custom types?

2010-12-29 Thread stratboy
Hi! I want to check the type of a function argument. I want to be able to say if it's an object instance of a custom class I made. Do you know of any way? In ActionScript there's an 'is' method that I can use. Bye!

Re: [Moo] Re: GeoMoo = Geolocalization + MooTools

2010-12-29 Thread Piotr Zalewa
I try to make http://doc.jsfiddle.net/ as easy to read as possible On 12/29/10 11:44, Ciul wrote: > Any more tips?:D, I don't really know how jsFiddle works. What about > how to use resources? I'd like to use xml files in some tests. Resources in jsFiddle are CSS and JS files loaded from an exter

Re: [Moo] Re: Testing a fix for Eevent.Keys

2010-12-29 Thread Andrea Dessì
Italian locale with mac keyboard //these are the keypad numbers - problem! keydown:` |press:0 - problem! keydown:n |press:, - no prob!:enter - problem! keydown:a |press:1 - problem! keydown:b |press:2 - problem! keydown:c |press:3 - problem! keydown:d |press:4 - proble

[Moo] Re: Testing a fix for Eevent.Keys

2010-12-29 Thread Robert
Hey Arieh, In the past I had to fixed this for numeric keyboard. With Your code it works like this: problem! keydown:g |press:7 problem! keydown:h |press:8 problem! keydown:i |press:9 problem! keydown:= |press:+ etc. So - press is ok, keydown is not. Same with polish diacritics: problem! keydow

[Moo] Re: GeoMoo = Geolocalization + MooTools

2010-12-29 Thread Ciul
Thanks Piotr. I still have lot of things to learn, I recently lernt Javascript and then MooTools nearly since September by my own. Any more tips?:D, I don't really know how jsFiddle works. What about how to use resources? I'd like to use xml files in some tests. Thanks. Best regards, Ciul. On

Re: [Moo] GeoMoo = Geolocalization + MooTools

2010-12-29 Thread Piotr Zalewa
Just a 2c about using jsFiddle. The power of jsFiddle shows when using with [Set as Base] That way you could simply click on [Set as Base] on my link or fix something, [Update] it would save under /Ciul/3VVEn/3/ After hitting [Set as Base] it would be linked from /Ciul/3VVEn/ On 12/29/10 03:21,