[Moo] Re: Looking for some constructive criticism

2011-11-22 Thread jiggliemon
I would suggest converting numbers represented as strings into integers. Not to be considered a real option but like: http://jsfiddle.net/jiggliemon/G6mtL/1/ - Chase

[Moo] Re: Event Delegation with Mootools Tips (potential NOOB question)

2011-10-10 Thread jiggliemon
I can't help myself from thinking that ":delegate" would be more appropriate syntax for Event Delegation. Every time I read "relay" i have to ask myself "Huh?" $('container').addEvent('mouseover:delegate(a.tipanchor)',function(event, el) { /* … */ });

Re: [Moo] New method to Events class

2011-07-23 Thread jiggliemon
I like how that works. a pseudo is a lot nicer than a new method. We need this to get into the core (or even more), as it provides big async advantages. - Chase

Re: RE: [Moo] New method to Events class

2011-07-21 Thread jiggliemon
d, it bypasses a queue, and fired that event right away: http://jsfiddle.net/jiggliemon/uN6vh/ It would make sense to mimic that same functionality with the core 'Events' class. - Chase

[Moo] New method to Events class

2011-07-21 Thread jiggliemon
fore you can procede with injection. Here's a quick fiddle demonstrating how such a method works (note this is not the Mootools Events class): http://jsfiddle.net/jiggliemon/Yq7Qn/ Here's using the core Events class, firing an event on an interval: http://jsfiddle.net/jiggliemon/Yq7Qn/2

Re: [Moo] JSFiddle as online IDE ?

2010-12-11 Thread jiggliemon
See also http://www.cloud9ide.com/ -chase

[Moo] Re: mootools toggle(fn,fn), How does it work?

2010-11-08 Thread jiggliemon
> Works the same as jQuery--you can't.  It's not about scaling and maintaining, > it's about changing the way that you write JavaScript Zing!

[Moo] Re: JSConf Live Loves teh Moo

2010-10-06 Thread jiggliemon
Mighty fine interview. Had no idea what sort of a machine you are. -Chase On Oct 4, 9:04 am, Thomas Aylott wrote: > http://jsconflive.com/29252424 > > The passionate voice of the MooTools team, Thomas Aylott, spends some time > with Chris & Rey to chat about MooTools, community, side projects a

[Moo] Re: Need to write Countdown timer in mootools

2010-10-06 Thread jiggliemon
> No offences but not a big fan of js fiddle coz most of my code just > doesn't work over there, while it does on chrome. I did not try this > one though. when you're building the fiddle it will force you to only add the code necessary for your particular use-case. If your code isn't running in fi

[Moo] Re: Is Mooshell definitely closed ?

2010-09-20 Thread jiggliemon
Could someone put a re-direct to jsfiddle when someone tries to access mootools.net/shell/ ? Who's managing the Mootools site? -Chase On Sep 20, 4:48 am, Piotr Zalewa wrote: >  On 09/20/10 12:22, ghazal wrote:> Hi, > > Mooshell has been off since last week (a 404). > > Is it a final decision or

[Moo] I'm curious about your opinions towards highly modular application design

2010-08-20 Thread jiggliemon
http://developer.yahoo.com/yui/theater/video.php?v=zakas-architecture I was watching this a few weeks back, and I have to say that I really like the idea of the multi-abstraction system for an application. It matches everything i hold true, and that is " the more modular - the more better". Now

[Moo] Re: MooTools documentation

2010-08-17 Thread jiggliemon
I'm curious the same as Michal. Bad in comparison to what? -Chase On Aug 17, 12:00 am, Savageman wrote: > Hey, > > When I showed MT to a friend, one of the thing he told me was that the > documentation was... bad. > So before to try and figure out something better, I would like to know > the sta

[Moo] Re: 10k apart tourney nixes mootools

2010-08-09 Thread jiggliemon
But why? And how did Prototype get on the list? On Aug 9, 11:01 pm, Jeff Allen wrote: > http://10k.aneventapart.com/ > > On Sun, Aug 8, 2010 at 11:33 PM, wrote: > > can I use mootools instead of the others? it's the only library I > know:http://ajax.googleapis.com/ajax/libs/mootools/1.2.4/moot

[Moo] Re: reduce the number of AJAX requests

2010-08-03 Thread jiggliemon
icate it's self-invoking. > > > I think (function ... is more common though. > > > On Aug 3, 2010, at 6:15 AM, Fábio M. Costa wrote: > > > jiggliemon, > > > no you dont need the extra parentheses, you could do: > > > function(){ > > ... > >

[Moo] Re: reduce the number of AJAX requests

2010-08-02 Thread jiggliemon
FMI, must one include the first set of parentheses to create a closure? An old book I was reading said that it's just extra sugar. function(){ ...stuff... }(); Is just the same. They say. -chase On Aug 2, 6:09 pm, Fábio M. Costa wrote: > It creates a closure, so the variables you create ins

[Moo] Re: Playing around with the Factory pattern. I'm stumped.

2010-07-31 Thread jiggliemon
find a working instance after 3 attempts. As it does. http://jsfiddle.net/jiggliemon/b5LaZ/2/ On Jul 31, 1:52 am, Sanford Whiteman wrote: > > I moved the return back into the Try, and it works.  For what ever > > reason, it didn't work before, works now. > > Well, with

[Moo] Re: Mooshell.net Off line?

2010-07-31 Thread jiggliemon
jsFiddle.net is more stable. please use jsFiddle. On Jul 30, 5:49 pm, Fábio M. Costa wrote: > http://mootools.net/shell/is working just fine here. > btw you can always usehttp://jsfiddle.net > > -- > Fábio Miranda Costa > > > > On Fri, Jul 30, 2010 at 9:45 PM, Gafa wrote: > > No, please, by the

[Moo] Re: Playing around with the Factory pattern. I'm stumped.

2010-07-30 Thread jiggliemon
I moved the return back into the Try, and it works. For what ever reason, it didn't work before, works now. Of couse I only tried on Chrome and FF. Both take option 1. http://jsfiddle.net/jiggliemon/b5LaZ/1/ So ultimately, the Finally is overkill. But I still like using Finally. You

[Moo] Re: Playing around with the Factory pattern. I'm stumped.

2010-07-30 Thread jiggliemon
te: > Note that finally is always executed, even after entering a catch > blog. It is basically useless. > > For your specific XHR problem, you may want to look at this snippet > from MooTools > Core:http://github.com/mootools/mootools-core/blob/master/Source/Browser/B... > &

[Moo] Re: Playing around with the Factory pattern. I'm stumped.

2010-07-29 Thread jiggliemon
Thanks. http://jsfiddle.net/jiggliemon/b5LaZ/embedded/ -Chase On Jul 29, 2:09 pm, Sanford Whiteman wrote: > > So I thought what a great time to use a self-referential function. > > However I can't seem to get it to work.  Does anyone have insight as > > to how/if

[Moo] Playing around with the Factory pattern. I'm stumped.

2010-07-28 Thread jiggliemon
) { try{ So I thought what a great time to use a self-referential function. However I can't seem to get it to work. Does anyone have insight as to how/if at all, this could work? http://jsfiddle.net/jiggliemon/a7xWq/2/

[Moo] What IDE or Text Editor are you using?

2010-07-19 Thread jiggliemon
I write PHP/JS/HTML/CSS mostly. 90% of my programming is done in Coda. Lately however, I've been feeling the need for code completion. I've been testing BBEdit the last few months - but it's been buggy and slow. So why not ask all of you guys? What are you writing your code in? -Chase

[Moo] Re: Tooltips with arrows

2010-07-19 Thread jiggliemon
On Jul 18, 10:38 am, DeMx wrote: > clientcide is so bad indigestible... finally found a great > class:http://www.coders.me/ Ohhh no he di'ent...

[Moo] Re: HELP me with this code

2010-07-19 Thread jiggliemon
It looks like you're loading the mootools-core - Twice. and mootools- more - twice. There's no telling what's in the mootools.js, but I can only assume it's some version or another of mootools. Perhaps it's v1.1x, which would account for some obvious conflicts; But that's not to say ANY version

[Moo] Re: The best way to trigger browser busy/loading state for AJAX request?

2010-07-10 Thread jiggliemon
@Ryan OMG <--- meant to be rude. -Chase On Jul 9, 9:37 pm, Aaron Newton wrote: > > > > > On Fri, Jul 9, 2010 at 2:50 PM, Ryan Florence wrote: > > > > For now I'm thinking about a class, similar to Request.HTML that gets > > > stuff into an iframe, loads it, then returns the content into > >

[Moo] Re: Web design

2010-07-03 Thread jiggliemon
Steve Krug, "Don't make me think". More usability than design. But it has some good stuff. -Chase On Jul 2, 1:17 pm, Roman Land wrote: > Hi Guys, > > What is the best source (book / blog etc) to learn some good pointers on > web-apps UI designs and good layouts etc? > Mind you this is less a pr

[Moo] Re: file uploads and Request

2010-06-26 Thread jiggliemon
Side Note: When you use the flash uploader method (FancyUpload) you get the added benefit of having a real-time progress indicator. An iFrame doesn't give you that benefit. The only drawback of using the "Flash" method that I've really experienced, is that there's been two Flash plugin versions t

[Moo] Re: Exercise in Callbacks [#bestpractices]

2010-06-25 Thread jiggliemon
of javascript I would be able to work around they synchronistic/asynchronous issues. http://paste.mootools.net/f401cfb7c On Jun 25, 2:04 pm, jiggliemon wrote: > http://jsfiddle.net/mvmvp/2/ > This is Essentially what I would like to happen. > > var Getter = new getImages(); > > //

[Moo] Re: Exercise in Callbacks [#bestpractices]

2010-06-25 Thread jiggliemon
http://jsfiddle.net/mvmvp/2/ This is Essentially what I would like to happen. var Getter = new getImages(); // Check ig get Imates is complete. //Is get Images complete? //If so, move on, if not... check back later. while(Getter.state == false) { wait a second then check again } Now fire aft

[Moo] Re: Recommendations for a MooTools book?

2010-06-25 Thread jiggliemon
examples and information. > > Tell us what you decide on. > > On Jun 21, 2:33 am, Aaron Newton wrote: > > > ++ that book is terrific. > > > On Sun, Jun 20, 2010 at 11:34 PM, jiggliemon wrote: > > > I just read "Javascript: The Good Parts".  I thin

[Moo] Re: Recommendations for a MooTools book?

2010-06-25 Thread jiggliemon
examples and information. > > Tell us what you decide on. > > On Jun 21, 2:33 am, Aaron Newton wrote: > > > ++ that book is terrific. > > > On Sun, Jun 20, 2010 at 11:34 PM, jiggliemon wrote: > > > I just read "Javascript: The Good Parts".  I thin

[Moo] Exercise in Callbacks [#bestpractices]

2010-06-25 Thread jiggliemon
I'm having a hard time wrapping my head around the practice of Callbacks. Arron rewrote one of my examples using callbacks, and no matter how much I search for a good description of "How and Why" to use them, I'm always left empty. So why not take it to the smartest people in Javascript? I wrote

[Moo] Re: Recommendations for window class

2010-06-21 Thread jiggliemon
the Windoo project looks like it hasn't been updated since 07'. It also appears to be for Mootools 1.11, Which will be unfair to 1.2 +. I've used Mocha UI for a project, and it was OK w/ IE. IE6 was a little rough, but IE6 is a whores ass, and people who used it have come to expect a reduced int

[Moo] Re: Rounding to the nearest Nth value in array [bestpractice]

2010-06-21 Thread jiggliemon
ghest number in this.steps. > When rounding down I start from the back of the array since my larger > numbers are there. As soon as a number is lower the code returns if no value > is lower it returns the lowest in this.steps. Doing this removes the 'out of > range' bug with &

[Moo] Re: Recommendations for a MooTools book?

2010-06-20 Thread jiggliemon
I just read "Javascript: The Good Parts". I think it's worth having. However, I wish I had gotten it off Amazon used. - Chase On Jun 18, 5:21 am, Stodge wrote: > Just wondering which book you would recommend between: > > MooTools Essentials: The Official MooTools Reference for JavaScript™ > and

[Moo] Rounding to the nearest Nth value in array [bestpractice]

2010-06-20 Thread jiggliemon
I've saved some uploaded images to various sizes, and would like to retrieve the smallest image possible, based on the browsers window size. I created a "Rounder" class that you feed an array of integers into, and based on the number you feed an up, or down method, it will return the next nearest

[Moo] Re: JSKB: Only serve the JS that the browser can actually use

2010-06-18 Thread jiggliemon
I like this idea. On Jun 17, 7:43 am, Michael Ficarra wrote: > I think that's a great solution, Arian. It also shouldn't be very hard > to implement. At first, I didn't think this was very possible, but > after your recommendation, I feel that it should actually be done. I > wouldn't mind contrib

[Moo] Re: Recommendations for a MooTools book?

2010-06-18 Thread jiggliemon
@Stodge: As a JS novice, I found Aaron's book "Mootools Essentials" to be a pretty good read. It is mostly a reference guide, but in addition to referencing the Mootools Library, there's alot of great insight on Javascript itself. I was just parsing through it last night and noticed some native m

[Moo] Re: Recommendations for a MooTools book?

2010-06-18 Thread jiggliemon
Keeto, I went on an Amazon shopping spree last night and saw that pre-orders were available for your new - unfinished - book. Can you provide any insight as to what you're covering in it? If it's anything like your blog posts I'm sure it will be a smash hit. You really get into the meat of the s

[Moo] Because StackOverflow is cool, I created a proposal for a mootools overflow

2010-06-17 Thread jiggliemon
http://area51.stackexchange.com/proposals/6943/mootools Says we need 60 followers and some questions to move to the next phase. Personally I like the "Stacks" method of Q&A over forums and mailing lists. If you're also interested in this, please follow.

[Moo] Re: Selecting :nth-child(n+1)

2010-06-06 Thread jiggliemon
Is it just me? Or does the layout in that mooshell link squish the top two panels? OS X, Chrome && FireFox. Pseudo's scare me. That's why I just check the parity of the keys. http://jsfiddle.net/Jm2Hb/22/light/ Maybe someone could tell me which is faster: (or maybe it's the same) a. collecting a

[Moo] Re: fastest way to check if 2 objects are equal

2010-06-06 Thread jiggliemon
It wasn't clear to me if needed to compare each individual value in the obj's. But this will compare them as a whole and let you know if you even need to bother iterating. console.log(obj1.toString==obj2.toString); On Jun 6, 1:38 pm, אריה גלזר wrote: > OK. so i need a "as efficient as possible"

[Moo] Re: variabe.isSomething boolean

2010-06-06 Thread jiggliemon
You guys are killing me here. On Jun 6, 1:40 pm, Arian wrote: > Note that Native won't be in 1.3, in 1.3 it will be Type. Native/Type > is not documented, so it's behavior can change. > > On Jun 6, 8:20 pm, jiggliemon wrote: > > > > &

[Moo] Re: qkform Bug in IE8

2010-06-06 Thread jiggliemon
Not sure if this is the issue at hand, But IE6-8 are a little buggy where "position: relative" are concerned. And to most the issues relating to it you need to give it "layout" aka. hasLayout; You do this by applying the troublesome relative element "zoom:1"; This bug is the cause of most of my

[Moo] Re: variabe.isSomething boolean

2010-06-06 Thread jiggliemon
Silly me. I forgot about "Native": = Native.implement({ is:function(type){ return typeOf(this)==type; } }); = http://jsfiddle.net/jiggliemon/24TXR/2/ On Jun 6, 10:35 am, jiggliemon wrote: > @arian: > There's jut a

[Moo] Re: variabe.isSomething boolean

2010-06-06 Thread jiggliemon
can be much shorter than 20 lines ;) > :http://jsfiddle.net/BDEWf/6/ > > On Jun 5, 10:55 pm, jiggliemon wrote: > > > Oskar pointed out that "is" is a reserved word in Javascript so it > > could cause problems in IE1+ > > Not to mention the Taboo of extending Objec

[Moo] Re: variabe.isSomething boolean

2010-06-05 Thread jiggliemon
he 3-liner object extender. http://jsfiddle.net/jiggliemon/24TXR/ On Jun 5, 7:24 am, Ryan Florence wrote: > I've done this a few times, I certain like looking at: > > if (arg.isNumber()) > > than looking at > > if ($type(arg) == 'number') > > Yours is pretty c

[Moo] Re: variabe.isSomething boolean

2010-06-04 Thread jiggliemon
Simpler yet: (don't tell anyone i extended Object) Object.prototype.is = function(type){ return typeof this==type?true:false; } On Jun 4, 10:29 pm, jiggliemon wrote: > What about having a simple "is" method on all the main > types?http://jsfiddle.net/jiggliemon/BDEWf/2/ > > -Chase

[Moo] variabe.isSomething boolean

2010-06-04 Thread jiggliemon
What about having a simple "is" method on all the main types? http://jsfiddle.net/jiggliemon/BDEWf/2/ -Chase

[Moo] Re: I started a simple blog.

2010-05-31 Thread jiggliemon
mber.implement({ parity:function(even,odd){ return this&1 ? $defined(odd)?odd:'odd' : $defined(even)? even:'even'; } }); On May 31, 12:23 pm, eskimoblood wrote: > Ok, an one liner again, now with all falsi values expect > undefined:http://jsfiddle.net/

[Moo] Re: I started a simple blog.

2010-05-31 Thread jiggliemon
@jay: The goal is to determine Parity, -not necessarily color rows. @Michael: Is there any benefit to the two liner over the almost exactly same one liner you wrote? I'm re-writing the post to be more "How to get Parity" and less "How to color rows". On May 31, 8:59 am, Slik Jay wrote: > http:/

[Moo] Re: I started a simple blog.

2010-05-30 Thread jiggliemon
Yeah, if jsFiddle goes down, all my examples and code will be useless. I'm betting on you Oskar! -Chase On May 30, 2:21 pm, Oskar Krawczyk wrote: > Nice, jsFiddle :-) > > On 30 May 2010, at 21:55, jiggliemon wrote: > > > I started it for many reasons. > > 1. Fi

[Moo] I started a simple blog.

2010-05-30 Thread jiggliemon
I started it for many reasons. 1. First and mainly for a personal reference, instead of looking through gobs of code, I'm going to get google on my side. 2. stop feeling guilty about being a leach every time I read Arron Newton write "... or start a blog ..." 3. among others. 4. to write better cod

[Moo] Re: Why is Mootools dwindling? Haven't they heard about Slick?

2010-05-26 Thread jiggliemon
100); > > $('#el').animate('height', 100); > > Element and jQuery are for the most party search and replaceable. > > On May 26, 2010, at 10:58 AM, jiggliemon wrote: > > > > > I'm not really interested in attracting the "There's a

[Moo] Re: Why is Mootools dwindling? Haven't they heard about Slick?

2010-05-26 Thread jiggliemon
I'm not really interested in attracting the "There's a plug-in for that" crowd by in large. Perhaps there could be a dumbified layer that would attract the beginners, with jQuery like syntax. I know I've seen several 3rd party layers out there, but perhaps one supported by the Mootools community

[Moo] Why is Mootools dwindling? Haven't they heard about Slick?

2010-05-25 Thread jiggliemon
http://www.google.com/trends?q=jquery%2C+mootools How can Mootools stats be dropping? It's clearly a more powerful framework (or even just a framework). Wouldn't the Query heads get tired of the restrictions and redundancy, and jump ship for something more extensible? I get the merits of jQuery

[Moo] Impliment: Log feature request.

2010-05-24 Thread jiggliemon
I made a little fiddle w/ a feature i think would be neat. http://www.jsfiddle.net/VzkR8/1/ It allows you to log an "Initial" log upon enable. this.enableLog('We are logging this class'); Simple enough.

[Moo] Re: setTimeout in a less Ghetto fashion

2010-05-07 Thread jiggliemon
events, you just need the one. > > -----Original Message- > From: mootools-users@googlegroups.com > > [mailto:mootools-us...@googlegroups.com] On Behalf Of jiggliemon > Sent: Thursday, May 06, 2010 5:06 PM > To: MooTools Users > Subject: [Moo] Re: setTimeout in a less G

[Moo] Re: setTimeout in a less Ghetto fashion

2010-05-06 Thread jiggliemon
Engenheiro de interfaces > > Twitter: fabiomiranda > > > On Thu, May 6, 2010 at 3:49 PM, jiggliemon wrote: > > >> Cleaned up the code a little more, > >> and removed the console logs. > > >>http://www.jsfiddle.net/Y8Phj/4/ > > >> -Chas

[Moo] Re: setTimeout in a less Ghetto fashion

2010-05-06 Thread jiggliemon
http://www.jsfiddle.net/Y8Phj/11/ Forgot the link again. On May 6, 1:38 pm, jiggliemon wrote: > Forgot to add the link.  I added the "Cancel" on the running tween. > And removes the redundant "mouseenter" event, as we already tackle > this in the mousemove. &g

[Moo] Re: setTimeout in a less Ghetto fashion

2010-05-06 Thread jiggliemon
Forgot to add the link. I added the "Cancel" on the running tween. And removes the redundant "mouseenter" event, as we already tackle this in the mousemove. Thanks for the 'cancel' bit. -Chase On May 6, 1:34 pm, jiggliemon wrote: > I feel like there

[Moo] Re: setTimeout in a less Ghetto fashion

2010-05-06 Thread jiggliemon
> > -- > > Fábio Miranda Costa > > Solucione Sistemas > > Engenheiro de interfaces > > Twitter: fabiomiranda > > > On Thu, May 6, 2010 at 3:49 PM, jiggliemon wrote: > > >> Cleaned up the code a little more, > >> and removed the console lo

[Moo] Re: setTimeout in a less Ghetto fashion

2010-05-06 Thread jiggliemon
Cleaned up the code a little more, and removed the console logs. http://www.jsfiddle.net/Y8Phj/4/ -Chase On May 6, 11:43 am, jiggliemon wrote: > I'm trying to achieve this "Menu fade on inactive mouse" effect like > you see in VLC player and the new Quicktime.  Does any

[Moo] setTimeout in a less Ghetto fashion

2010-05-06 Thread jiggliemon
I'm trying to achieve this "Menu fade on inactive mouse" effect like you see in VLC player and the new Quicktime. Does anyone take issue with how it's done in the example? Please tell me there's a better mootools way. http://www.jsfiddle.net/Y8Phj/3/ -Chase

[Moo] Re: __autoload()

2010-04-23 Thread jiggliemon
At the end of the day, as cool as it is, autoloading is just too slow. I created a Factory Class for my library, and it was some 200* slower than if the js file was included w/ the dom. So where I commend anyone on their efforts, to streamline the dependency of scripts, i reject them in practice.

[Moo] Re: Trying to Execute a function by reference.

2010-02-16 Thread jiggliemon
x27;d do it like this: > > http://mootools.net/shell/yL93N/6/ > > On Feb 16, 2010, at 5:57 PM, jiggliemon wrote: > > > Anyone have any insight as to how I could execute a function by > > reference? > > >http://mootools.net/shell/yL93N/1/ > > > -Chase

[Moo] Re: Trying to Execute a function by reference.

2010-02-16 Thread jiggliemon
I guess eval. http://mootools.net/shell/yL93N/5/ On Feb 16, 4:57 pm, jiggliemon wrote: > Anyone have any insight as to how I could execute a function by > reference? > > http://mootools.net/shell/yL93N/1/ > > -Chase

[Moo] Re: integrate FormCheck on mochaui

2010-02-16 Thread jiggliemon
What's Form check? Im going to go out on a limb here and say it should look something like this: === window.addEvent('domready', function(){ new FormCheck('form_directeur_mon_ecole'); }); On Feb 16, 1:22 pm, karim amakrane wrote: > hello > i just download FormChec

[Moo] Trying to Execute a function by reference.

2010-02-16 Thread jiggliemon
Anyone have any insight as to how I could execute a function by reference? http://mootools.net/shell/yL93N/1/ -Chase

[Moo] Re: Gradient?

2010-01-08 Thread jiggliemon
You're going to need to create a canvas element behind the element you want a gradient in, and draw a gradient into the new canvas element. https://developer.mozilla.org/En/Canvas_tutorial/Applying_styles_and_colors#Gradients Canvas is an HTML5 feature. -Chase On Jan 6, 7:47 pm, Erick Emde wro

[Moo] I'm thankful for mootools.

2009-11-26 Thread jiggliemon
Thank you Mootools. -Chase

[Moo] Re: Capturing information from clicks on unordered list.

2009-11-22 Thread jiggliemon
Yeah add the event to the element when it's created. var item = new Element('li',{ 'events':{ 'click':function(){ return this.get('rel'); } } }); On Nov 22, 9:35 am, אריה גלזר wrote: > i am not sure why ou would need a specific number. can't you assign an event > on item creation: > var item = n

[Moo] Re: Preload javascript

2009-11-10 Thread jiggliemon
I've also been working on this issue: http://groups.google.com/group/mootools-users/browse_thread/thread/3042589c84611861 what you have there is: console.log('Fire 1') file1.js: var foo = bla; var bar = bla; var myScript = new Asset.javascript('file1.js', { onload: function(){

[Moo] Re: Mootools Factory Pattern: input needed

2009-11-04 Thread jiggliemon
t code chunk?  If so check this > out:  http://blog.citycrawler.com/?p=47 > > - Daniel > le > On Nov 3, 5:17 pm, jiggliemon wrote: > > > Because i love the Joomla file structure so much and the factory > > pattern, I decided to implement something similar with my JS libra

[Moo] Re: Request HTML not working

2009-11-04 Thread jiggliemon
Try ysing a relative path for your URL: url: '/index.php?somevar=thisvalue' On Nov 4, 11:58 am, Fábio M. Costa wrote: > it the onFailure event is firing its because there has been an error on your > request, which means you didnt get a code 200 response. > > This can happen if the url you are u

[Moo] Mootools Factory Pattern: input needed

2009-11-03 Thread jiggliemon
Because i love the Joomla file structure so much and the factory pattern, I decided to implement something similar with my JS library. My page loads by default, Core.js, More.js, Agro.js, and template.js by default. I'm getting all kinds of errors in the Firebug. Mainly i think it's an issue of s

[Moo] Re: Form.send json result is handled like a file download

2009-11-03 Thread jiggliemon
I've also been having this problem. I'm sending a comment to the server, and returning a JSON object to write the comment to the page w/ o a refresh. Request.JSON = new Class({ ... initialize: function(options){ this.parent(options); this.headers.extend({'

[Moo] Re: doesnt render unless alert function is used:?Help pl.

2009-11-03 Thread jiggliemon
For me. The issue was my object needed more time to load. My solution was to attach my constructor, or your .render() to some sort of "onComplete" event. so as to not try and render before your Editor object is "loaded". -Chase On Nov 2, 7:04 pm, BVLS wrote: > Hi, > > Here is my link, where

Re: Porting Magento over to Mootools from Prototype

2009-01-28 Thread jiggliemon
e On Jan 28, 4:23 am, electronbender wrote: > I'm interested:) > > On Jan 28, 7:53 am, jiggliemon wrote: > > > I agree with the lack of CMS support.  And alsoMagentois the slowest > > OS cart available right now, also the most bloated, and overloaded > > with fea

Re: Porting Magento over to Mootools from Prototype

2009-01-27 Thread jiggliemon
x27;ll make it a formal project. On Jan 11, 9:39 am, electronbender wrote: > Dude, a bit off target here,Magentois great if you use it as a > product repository, but not so great as a CMS. Is there a way to > extend it so that you can get a better CMS? > > On Jan 8, 9:34 pm, jiggli

Re: General thoughts on Mootools.net

2009-01-08 Thread jiggliemon
As I learn more about the library I'd like to update the docs. Nutron recently helped clear up some Event.target questions I had that would be well suited in the docs (as they're unclear about where the target is referent to) and other minor issues like this. Is there someone we could email the

Re: kroppr - unobtrusive cropping script

2009-01-08 Thread jiggliemon
allows drag after > zoom > > please take a look here:http://www.rborn.info/moozoom.php > > and an usage example/tutorial here > > http://cssgallery.info/how-to-create-a-product-viewer-using-moozoom/ > > and guess what, moozoom is free :) > > On Jan 8, 8:47 am, jigg

Re: Porting Magento over to Mootools from Prototype

2009-01-08 Thread jiggliemon
on. Thanks for your help. On Jan 8, 9:01 am, nutron wrote: > element.addEvent('blur', this.configureElement.bindWithEvent(this, element); > ... > configureElement: function(event, element) { >         alert('the id is' + element.get('id')); > > } >

Re: kroppr - unobtrusive cropping script

2009-01-07 Thread jiggliemon
I've looked at this a little and was trying to decided if it would be worth a re-work for my ecommerce sites. And being that you're selling the code, i'll just throw this out there: I think there would be a big market for a mootools magnify script for product images. One that doesn't require th

Re: Porting Magento over to Mootools from Prototype

2009-01-07 Thread jiggliemon
wton wrote: > > event.target > > > On Wed, Jan 7, 2009 at 11:12 PM, jiggliemon (via Nabble) < > > ml-user+114393-900309...@n2.nabble.com > > > wrote: > > >> I'm porting a Magento template over to Mootools, and i've run into a > >> lit

Re: Porting Magento over to Mootools from Prototype

2009-01-07 Thread jiggliemon
wton wrote: > > event.target > > > On Wed, Jan 7, 2009 at 11:12 PM, jiggliemon (via Nabble) < > > ml-user+114393-900309...@n2.nabble.com > > > wrote: > > >> I'm porting a Magento template over to Mootools, and i've run into a > >> lit

Porting Magento over to Mootools from Prototype

2009-01-07 Thread jiggliemon
I'm porting a Magento template over to Mootools, and i've run into a little issue. Prototype has a ".element()" function where you can select the element that an event is attached to. - example --- initialize: function() { $$(elements).each(function(element){