Re: [Moo] MooTools w/ NodeJS

2011-09-07 Thread Ken Shaw
ackage up the client side system and to serve it to browsers. -Ken On Fri, Sep 2, 2011 at 6:21 PM, Arian Stolwijk wrote: > First you have to get MooTools and make sure the Class and other stuff are > global so you can use  MooTools' stuff everywhere. This is not ideal but > will chan

[Moo] Re: best debugger for ie

2011-05-10 Thread ken
install this http://www.microsoft.com/express/Web/ It may take time while it installs a lot of dependencies that you just can't turn off but at least you get the debugger of ie9 in ie6 and 7

[Moo] Re: Help: Detect Mootools has been imported

2011-02-23 Thread ken
typeof MooTools == 'undefined'

[Moo] Re: contains to do not work probably

2011-02-11 Thread ken
try filter $$('table td').filter(function(el) { return el.get('html') == this.get('html') }, this).setStyle('color', color);

[Moo] Re: Element good for xml parsing?

2010-11-24 Thread ken
see Slick, it can parse any form of xml On Nov 24, 7:55 pm, stratboy wrote: > Hi, I'm building a small app. > My php programmer will pass me some xml file. I was wandering if maybe > Element is good even for parsing xml code. > Or maybe, is there any other (moo)tool for doing it?

[Moo] Re: Detecting a user pressing the enter key

2010-10-16 Thread ken
Maybe what you're experiencing is a bug in IE which only shows up if there is exactly one input[type=text] field in the form. This is especially true for search forms. Try adding another input[type=text] that is invisible. On Oct 17, 7:38 am, "Steve Onnis" wrote: > Its not submitting for some rea

[Moo] Re: equivalent appendHTML for Mootools

2010-07-27 Thread ken
not sure if it there is one but you can implement one Element.implement({ appendHTML: function(html) { this.set('html',this.get('html')+html); return this; } }); document.body.appendHTML(''); On Jul 28, 1:41 am, Sid-ahmed D wrote: > Hi all, > > I wonder if there is an equivalent as [

[Moo] Re: getting id after Request.HTML (grab the html.content after an ajax call)

2010-05-19 Thread ken
you are probably calling reply() right after Request.HTML send. try this... new Request.HTML ({ ... update: $('comments-box'), .. onComplete: function() { reply($$('.comment') ); } On May 19, 6:35 pm, hamburger wrote: > Hello I have a problem to get an id after Request.HTML > > i'am

[Moo] Re: remove CSS all classes from element except one

2010-02-13 Thread ken
the mootools way http://mootools.net/shell/TV5MM/ On Feb 14, 1:27 am, cbolson wrote: > Thanks for that :) > I am actually using something along those lines I was just hoping that > there might be a "cleverer" way to do it (ie not remove then add > again) :) > > Chris > > On 13 feb, 18:10, Sanfor

[Moo] Re: Implement a Hash.sort Function

2010-02-04 Thread ken
I think you should prefix the keys or just store the objects directly in the hash. On Feb 5, 10:18 am, Michael Fuery wrote: > Hello Everyone, > > I notice that Firefox seems to maintain the order of key:value pairs > in objects when iterating over them, while Safari and Chrome seem to > sort t

[Moo] Re: Welcome to Mooml

2010-02-01 Thread ken
We can actually preserve copy pasting using flash to manipulate clipboard. I remember doing the same thing with credit cards that needs to be split into 4 chunks. On Feb 2, 3:21 am, Guillermo Rauch wrote: > Some people (namely David Walsh) have suggested that we even have two > inputs: > > http:/

[Moo] Re: Forge not accepting update

2010-01-25 Thread ken
rrent > Forge issues will be resolved. If it's going to be a while, I'll try > and free up some time to look into it myself. Apologies, I can imagine > how frustrating it must be, the Forge has had these issues for a long > time now. > > Cheers > Darren > > On Jan

[Moo] Re: Forge not accepting update

2010-01-25 Thread ken
I checked the source and pluginActions::executeUpdate is not yet implemented. So it's not really a bug but a missing feature. Can somebody tell me how the update mechanism works? On Jan 25, 8:15 pm, SamGoody wrote: > The forge update button is still not working. > > The MooRTE plugin now has nea

[Moo] Re: question about binding

2010-01-24 Thread ken
(function() {console.log(this)}.bind('Hello world'))(); // this refers to Hello world (function() {console.log(this)}.pass('Hello world'))(); // this refers to window (function(message) {console.log(message)}.pass('Hello world'))(); // this refers to window but logs Hello world On Jan 24, 6:00 pm,

[Moo] Re: Why don't we create a Mootools IDE

2010-01-20 Thread ken
My wish for a Mootooled IDE is runtime Object property introspection just like Chrome's js console with autocompletion. On Jan 21, 9:41 am, Ryan Rampersad wrote: > Aptana uses an outdated version of Mootools and you can't force it to use > auto-completion and a newer version. I think this is beca

[Moo] Re: Why is this not working

2010-01-17 Thread ken
The method described by Aaron about singletons has been discussed by keeto in his blog. You might want to read about it. On Jan 18, 5:19 am, Roman Land wrote: > @Fabio: Thanks, looks better! > > @Ryan: Thanks reading it right now! > > @Aaron: Is there a performance reason not to do "new new" beca

[Moo] Re: Anyone else using Server-side Mootools?

2010-01-06 Thread ken
Check raccoon. keetology.com is mootools powered. On Jan 7, 1:33 am, gabriel munteanu wrote: > i am using mootools with rhino on the server-side in a game. > i am doing all the logic and hold all the data model in JS, both on > the server and in the browser, and it is easy to maintain now. > > >

[Moo] Re: Still stuck using MooTools 1.1? That's soooo 00's. Ring in the new year with the MooTools Upgrade Helper!

2010-01-01 Thread ken
No. As described, the script will log deprecated calls into the console during page execution. It's up to you modify. On Jan 1, 8:15 pm, ghazal wrote: > Thank you for your hard work and Happy New Year. > Just one question : is this the compatibility layer that was talked > about for Joomla users

[Moo] Re: mooto...@chrome

2009-09-15 Thread Ken Marfilla
y. > > On Sep 14, 3:08 am, Rajeev J Sebastian > wrote: > > > On Mon, Sep 14, 2009 at 12:13 PM, ken wrote: > > > > I hope this is not a repost > > > > Anyone there thought of using mootools for firefox chrome? > > > >http://yks.exyks.org/?/Show/

[Moo] mooto...@chrome

2009-09-13 Thread ken
I hope this is not a repost Anyone there thought of using mootools for firefox chrome? http://yks.exyks.org/?/Show/motivation Unfortunately the addon has not been updated to work for the current version of firefox.

[Moo] Re: Security error code: 1000

2009-08-18 Thread Ken
then you probably have apache setup and running anyway. >> Just jump into your htdocs directory and link your development directory (ln >> -s ~/Development/mootools or whatever) and then hit that instead of the >> local file. >> >> >> >> On Mon, Aug 17, 20

[Moo] Security error code: 1000

2009-08-17 Thread Ken
I'm trying to test some things with Mootools on a local HTML file and I get an error message: "Security error code: 1000". Apparently, this has something to do with cross-site scripting, but everything here is a local file. I have done similar things with other mootools stuff before without pro

[Moo] Re: Events with proper timing

2009-04-15 Thread Ken Marfilla
$$('textarea').each(function(item) { item.addEvent('keydown', function(e) { if (e.key == 'enter') { var now = new Date().getTime(); var elapse = now - this.retrieve('ago'); do_something(elapse); this.set('ago', now); } }

[Moo] Re: JSON shuffle. How?

2009-04-15 Thread Ken Marfilla
Array.implement({ shuffle : function() { var v = $unlink(this); for(var j, x, i = v.length; i; j = parseInt(Math.random() * i), x = v[--i], v[i] = v[j], v[j] = x); return v; } }); json.products = json.products.shuffle(); On Apr 15, 4:07 pm, Rolf wrote: > Hi lain, > > Nah, t

[Moo] google like xhr request progress indicator

2009-03-26 Thread ken
Is there any script around that can show google like xhr request progress indicator of all Request class instance?

[Moo] Re: MooTools More, Collection::pluck

2009-03-19 Thread Ken Marfilla
me to read the documentation or read the code. I think we > have enough of weird names already. > > > > On Thu, Mar 19, 2009 at 7:49 AM, ken wrote: > > > I just saw this method from prototype. I think it's work adding > > >  Array.implement({ > >    pluck:

[Moo] MooTools More, Collection::pluck

2009-03-19 Thread ken
I just saw this method from prototype. I think it's work adding Array.implement({ pluck: function(property) { var results = []; this.each(function(value) { results.push(value[property]); }); return results; } }); Object.implement({ pluck: functio

Re: Testing 3D vectors with Mootools

2009-01-28 Thread ken
I think you should try porting cumulus http://www.roytanck.com/2008/03/15/wp-cumulus-released/ it's written in flash. On Jan 28, 8:36 am, horseweapon wrote: > Ok, by vector, I don't mean vector graphic, but just vector as > representing an angle and a length in space. > here is a demo. It's a b

Re: Any good javascript (with mootools plugin) editors out there

2009-01-17 Thread ken
i tried aptana, but it cannot resolve methods and properties of a Class defined object hence code hinting is limited. On Jan 15, 4:50 am, nwhite wrote: > http://www.aptana.com/ > > On Wed, Jan 14, 2009 at 3:31 PM, Matt Thomson wrote: > > > Hi, I have largely developed in PHP, and find the Zend

Re: Propper fade in effect

2008-11-14 Thread ken
Edit: $$('.hotspot', '.heading').each(function(el){el.get('tween', {property: 'opacity', duration: 'long', transition: Fx.Transitions.Quint.easeIn}).start (0,1)}); On Nov 15, 2:43 am, ken <[EMAIL PROTECTED]> wrote: > you could actu

Re: Propper fade in effect

2008-11-14 Thread ken
you could actually write it in a shorter way $$('.hotspot', '.heading').get('tween', {property: 'opacity', duration: 2400, link: 'wait', transition: Fx.Transitions.Quint.easeIn }).start(0); On Nov 14, 11:24 pm, Roope <[EMAIL PROTECTED]> wrote: > I have a fade in effect for my fronpage header and

Re: independent accordion groups

2008-10-18 Thread ken
11:08 am, Basheer Al-mansour <[EMAIL PROTECTED]> wrote: > It that what you would like to to do ? > check it on my site  :http://www.vianx.com/probloutions/acc/ > > Basheer -Al-Mansour > > On Oct 17, 12:08 pm, ken <[EMAIL PROTECTED]> wrote: > > > > > This

Re: independent accordion groups

2008-10-17 Thread ken
This simply doesn't work. It acts the same way. I give each accordian a unique id like and . In my accordian.js I previously had: //create our Accordion instance var myAccordion = new Accordion($('accordion'), 'h3.toggler', 'div.element', { onActive: function(toggler, element) { toggler.set

Re: independent accordion groups

2008-10-16 Thread ken
Well just the same accordian code 3 times: Entry 1 - Accordian 1 text Entry 2 - Accordian 1 text Entry 1 - Accordian 2 text