Re: [Moo] Re: Re-init DOM

2014-03-25 Thread Andrea Dessì
you are welcome ;) -- Andrea On Tue, Mar 25, 2014 at 12:13 PM, Karim wrote: > Thanks Andrea! Sorry for my carelessness.:) > > -- > > --- > You received this message because you are subscribed to the Google Groups > "MooTools Users" group. > To unsubscribe from this group and stop receiving ema

Re: [Moo] Re-init DOM

2014-03-25 Thread Andrea Dessì
Hi Karim, you have to trigger some event and reinit manually... something like this: function initTooltips (selector) { var selctor = selector || '*[data-tooltip]'; var mtt = new mBox.Tooltip({ setContent: 'data-tooltip', attach: $$(selector) }) return mtt; }; window.addEvents({ domready: fun

Re: [Moo] Re: My mootools scripts

2014-02-19 Thread Andrea Dessì
I always read this ml, And I'll try to be helpfull too. Best, Andrea > Il giorno 19/feb/2014, alle ore 20:03, Aaron Newton ha > scritto: > > I will tell you this about the upcoming plans: it will depend more on YOU. If > you guys want MooTools to stick around the number one thing you can do

Re: [Moo] Reverse builder

2013-02-13 Thread Andrea Dessì
I'd like to imagine to do such a thing like: cat file.js | grep new :p -- Andrea On Wed, Feb 13, 2013 at 6:29 PM, Trevor Orr wrote: > Something may not exists to do that right now but couldn't your search > through the javascript code and look for: new xxx( and see if xxx is in a > list of M

Re: [Moo] 302- found dealing ajax.request/php

2013-02-13 Thread Andrea Dessì
Personally i don't like that way by design. As user I'd prefer to have a big shiny button with "show me the doc" with a normal anchor link :) -- Andrea On Wed, Feb 13, 2013 at 12:15 PM, Hamburger wrote: > Doing something like this works: > > PHP - > echo 'redirect_url'; > Javascript - > window

Re: [Moo] 302- found dealing ajax.request/php

2013-02-13 Thread Andrea Dessì
You have to respect the same origin policy :) that's all http://en.wikipedia.org/wiki/Same_origin_policy -- Andrea On Wed, Feb 13, 2013 at 11:41 AM, Hamburger wrote: > Hello Andrea, > thanks for your answer. > You are right. I'am using a "local" page now. > Now it shows the answer from this pa

Re: [Moo] 302- found dealing ajax.request/php

2013-02-13 Thread Andrea Dessì
Hi, I suppose the browser won't allow ajax calls which are outside the current domain/location. And this is valid also if your php page makes a redirect. -- Andrea On Wed, Feb 13, 2013 at 11:10 AM, Hamburger wrote: > Hello, I have a problem to deal with request and php. > > I'am doing the fol

Re: [Moo] (Unofficial) MooTools 2 examples

2012-04-16 Thread Andrea Dessì
I'd like to have nightly builds in jsfiddle :) A new build every day ;) -- Andrea Il giorno 16/apr/2012, alle ore 22:17, Darren Waddell ha scritto: > It's still a work in progress and not ready for inclusion in jsfiddle yet. > > Sent from my iPhone > > On 16 Apr 2012, at 20:57, Piotr Zalewa

Re: [Moo] problem trying fire onchange event

2012-03-15 Thread Andrea Dessì
Hi hartum, applying the value isn't enough, you have to fire the event manually... $('check1').fireEvent("change"); http://jsfiddle.net/NKjoep/6A4Rc/2/ -- Andrea On Thu, Mar 15, 2012 at 17:03, hartum wrote: > Hi every body > > I am developing a plugin, to simulate iphone switch (on/off) on >

Re: [Moo] Re: toInt() and 96.240,00 €

2012-03-15 Thread Andrea Dessì
I use my own fn to "parse" numbers... :) have a look http://jsfiddle.net/NKjoep/QzrbA/ -- Andrea On Thu, Mar 15, 2012 at 12:46, hamburger wrote: > Hello Ger, > I made the following jsfiddle. > > http://jsfiddle.net/jgcjA/4/ > > As you see it counts wrong!!! >

Re: [Moo] LinkedList

2012-03-10 Thread Andrea Dessì
interesting! :) -- Andrea ps = finally I handled the forge plugin submission! http://mootools.net/forge/p/MooCells On Sat, Mar 10, 2012 at 12:00, Adrian Statescu wrote: > Linked List Plugin: > forge: http://mootools.net/forge/p/linkedlist > source: https://github.com/thinkphp/LinkedList/ > d

Re: [Moo] Newbie question on checkboxes

2012-02-27 Thread Andrea Dessì
Hello, It's a bit difficult to understand your needs without a working example :) I've coded a jsfiddle for you: http://jsfiddle.net/9UpvW/ btw... more complex things can be done... and maybe a this library could suite https://github.com/NKjoep/MooCells Best, Andrea On Mon, Feb 27, 2012 at 15

Re: [Moo] event.delegation

2012-01-27 Thread Andrea Dessì
tried... and it's working console shows "hello" when overing the input fields... -- Andrea Dessì On Fri, Jan 27, 2012 at 15:06, hamburger wrote: > Hello, > is there somebody to help? > my delegation do not work. > > $$('.invite-a-friend-form').

Re: [Moo] Re: Form.Validator checks e-mail-adress / change default?

2012-01-23 Thread Andrea Dessì
Yep me@hostname is valid :) However I always end on writing emails validators that don't allow it, Simply because in the normal world people use email with at least second level domains :) And I don't want they forget to include the .com or .whatever when compiling my form. Example: andrea@gmail fo

Re: [Moo] Re: one more stupid question regarding syntax

2012-01-23 Thread Andrea Dessì
Sorry but, I'm a charming guy :D Here in Italy it's equivalent to "Andrew"... -- Andrea Dessì On Mon, Jan 23, 2012 at 12:12, hamburger wrote: > thx charming girl, > convinced. I'am using an object. >

Re: [Moo] Re: one more stupid question regarding syntax

2012-01-23 Thread Andrea Dessì
ops! maybe the other mail was lost... check it out! http://jsfiddle.net/NKjoep/5e7s7/4/ ;) -- Andrea Dessì On Mon, Jan 23, 2012 at 11:59, hamburger wrote: > thx Andrea for the very fast answer, > do you also have an example with Objects [object are cooler ;) ] >

Re: [Moo] one more stupid question regarding syntax

2012-01-23 Thread Andrea Dessì
see this : http://jsfiddle.net/NKjoep/5e7s7/4/ -- Andrea Dessì On Mon, Jan 23, 2012 at 11:54, Andrea Dessì wrote: > somethin like this would work... > http://jsfiddle.net/NKjoep/5e7s7/3/ > > but please, avoid using evals :) > object are cooler ;) > -- > > Andrea De

Re: [Moo] one more stupid question regarding syntax

2012-01-23 Thread Andrea Dessì
somethin like this would work... http://jsfiddle.net/NKjoep/5e7s7/3/ but please, avoid using evals :) object are cooler ;) -- Andrea Dessì On Mon, Jan 23, 2012 at 11:52, hamburger wrote: > Hello, > I'am trying now for an hour: > i would like to define a variable dynamic. &g

Re: [Moo] Re: Forge not accepting update

2012-01-14 Thread Andrea Dessì
I had problems since last november with the forge and then I gave up. Did you remember? https://groups.google.com/d/msg/mootools-users/bVFqSGFHoUI/oByjWNSbjfgJ Tried all those tricky things with spaces and versions and encoding but no way. -- Andrea On Sat, Jan 14, 2012 at 01:15, Dimitar Chris

Re: [Moo] Merry Christmas

2011-12-24 Thread Andrea Dessì
Merry xmas :) >From Italy! -- Andrea Il giorno 24/dic/2011, alle ore 18:23, Tim Wienk ha scritto: > And a merry christmas from the Netherlands! > > -- > Tim Wienk, Software Developer, MooTools Developer > E. timwi...@gmail.com | W. http://tim.wienk.name

Re: [Moo] Re: Linked Scroll - Event question

2011-12-08 Thread Andrea Dessì
Yes it's smart ;) Of course only if the boxes have the same height. In another case would be simple to implement a 'delta' value for scrolltop, so boxes with different height would scroll the same amount of pixels ;) Just an idea :D -- Andrea Il giorno 08/dic/2011, alle ore 16:41, Philip Thom

Re: [Moo] forge problems

2011-12-01 Thread Andrea Dessì
I've tried with no luck :\ -- Andrea Dessì On Thu, Dec 1, 2011 at 15:15, Olmo Maldonado wrote: > - core/1.4.0: '*'

Re: [Moo] forge problems

2011-12-01 Thread Andrea Dessì
I had already published a plugin in past, I've checked the package.yml again and it seems ok... where am I wrong ? :) On Wed, Nov 30, 2011 at 17:38, Andrea Dessì wrote: > Yes sure! > the github repo is here: https://github.com/NKjoep/MooCells > > -- > Andrea Dessì >

Re: [Moo] forge problems

2011-11-30 Thread Andrea Dessì
Yes sure! the github repo is here: https://github.com/NKjoep/MooCells -- Andrea Dessì On Wed, Nov 30, 2011 at 17:17, Olmo Maldonado wrote: > Could you link us to the repo you're trying to add? We might be able to > tell you what's the problem. > > > On Wed, Nov 30

[Moo] forge problems

2011-11-30 Thread Andrea Dessì
Hi MooGuys, I'm trying to add a new plugin to the Forge. It hangs at "Verifying README.md and package.yml" step. I've seen in the chrome console there's a 500 internal error from http://mootools.net/forge/add-5 How can I fix it? :) Thanks, Andrea

Re: [Moo] Re: have mootools something like jQuery stopImmediatePropagation() ?

2011-11-07 Thread Andrea Dessì
Hi, Maybe you have to use both the event.preventDefault() and the event.stopPropagation(). Here the doc: http://mootools.net/docs/core/Types/DOMEvent#DOMEvent:stopPropagation -- Andrea Il giorno 07/nov/2011, alle ore 19:05, "Jan Černý" ha scritto: > stopPropagation doesn't work the way i w

Re: [Moo] Request and FormData

2011-10-10 Thread Andrea Dessì
ad plugin: > https://github.com/arian/mootools-form-upload/blob/master/Source/Request.File.js > > It's a bit ugly because it has to change some stuff in the 'send' method, > but it works pretty well. Hopefully we'll use FormData directly in future > version of MooTools :)

[Moo] Request and FormData

2011-10-10 Thread Andrea Dessì
Hi all, are there any way of using the the Moo Request Class with a FormData ? ( http://dev.w3.org/2006/webapi/XMLHttpRequest-2/Overview.html#interface-formdata ) I'd like to add files and then send the form with the formData interface keeping the Request events and options. Any idea? :) Than

Re: [Moo] Re: New MooTools website - get involved

2011-09-30 Thread Andrea Dessì
On Thu, Sep 29, 2011 at 21:57, hartum wrote: > Hi everyone* > > I think we are losing focus from important things. > > 1º) we should define de data tree estructure: > > Hi all, hartum is right, it's very important to target the website contents. Then distribuite them and make them happy with th

Re: [Moo] Tips: offset controlled by element.height

2011-09-03 Thread Andrea Dessì
oh and of course I'm talking about this line: https://github.com/mootools/mootools-more/blob/1.3.2.1/Source/Interface/Tips.js#L147 -- Andrea On Sat, Sep 3, 2011 at 13:08, Andrea Dessì wrote: > Hi, > > I've tried to do it in a jsfiddle, > http://jsfiddle.net/sgF5Q/ >

Re: [Moo] Tips: offset controlled by element.height

2011-09-03 Thread Andrea Dessì
Hi, I've tried to do it in a jsfiddle, http://jsfiddle.net/sgF5Q/ but... the onShow event is fired just a while before the position is calculated and applyied. so right know I think isnt possible. right? :) -- Andrea On Sat, Sep 3, 2011 at 12:47, campari wrote: > Is it possible to set offse

Re: [Moo] extending existing multiple currency scipt

2011-06-06 Thread Andrea Dessì
Hello Pete, If it's not a time critical task, and if you can send me an example of what you have, I can do it for you for free if it doesnt require more than 4 hours :) Let me know, Andrea -- Andrea Dessì Email: *nkj...@gmail.com* Skype: *nkjoep* Blog: *http://www.stealthefish.com/*

Re: [Moo] Community docs for MooTools?

2011-05-21 Thread Andrea Dessì
Hi, I agree with you Spyro. In my litlle experience I've found very useful the doc model of php.net website. Developers s use the documentation to learn how to solve a problem with mootools, so with php.net i've found most of best advices or most of best tips reading other developers comments.

Re: [Moo] erase from array not working

2011-03-23 Thread Andrea Dessì
Hi Steve, you are missing to split the value of the text input :) have a look: http://jsfiddle.net/r8LSc/1/ -- Andrea On Wed, Mar 23, 2011 at 05:42, Steve Onnis wrote: > Could someone have a quick look at this and maybe tell my why erase doesn’t > work? Include

Re: [Moo] Re: Behaviour of inject on span

2011-03-14 Thread Andrea Dessì
Hi Olivier, if you want to get the text inside your , which is the current el variable referenced in the each loop, you have to try this: var inputEl = new Element('input', {'type': 'text', 'value': el.get("text") ); -- Andrea ps = if you can jsfiddle everthing maybe we could help you better ;)

Re: [Moo] Element.getCaretPosition() with IE7/8

2011-03-14 Thread Andrea Dessì
position is > 0. Storing it on blur seems reasonable. > > On Mon, Feb 28, 2011 at 6:08 AM, Andrea Dessì wrote: > >> Hi all, >> >> I'm trying to retrieve the caret position of a with IE7/8 >> >> Seems that if the textarea element hasnt the fo

Re: [Moo] Re: Overloading method

2011-03-11 Thread Andrea Dessì
great! :) Thank you Arieh, this will be surely very useful! -- Andrea On Fri, Mar 11, 2011 at 11:50, אריה גלזר wrote: > a small fix: > http://jsfiddle.net/ariehg/ZDzPh/2/ > the overloader will now use the first function (or if overloaded after > construction the original method) if no match w

Re: [Moo] Request.JSON issue

2011-03-11 Thread Andrea Dessì
; ~Philip > > > > On Thu, Mar 10, 2011 at 3:40 PM, Andrea Dessì wrote: > >> On Thu, Mar 10, 2011 at 22:10, Philip Thompson wrote: >> >>> Well, that does explain it. Is there any reason why the on* methods >>> aren't also options to send()? >>

Re: [Moo] Request.JSON issue

2011-03-10 Thread Andrea Dessì
On Thu, Mar 10, 2011 at 22:10, Philip Thompson wrote: > Well, that does explain it. Is there any reason why the on* methods aren't > also options to send()? > > Thanks, > ~Philip I suppose because they are attached to events, or not? So if we want to change it's behaviour we should remove all th

Re: [Moo] Re: Overloading method

2011-03-10 Thread Andrea Dessì
On Thu, Mar 10, 2011 at 14:14, remram wrote: > Hi Andrea, > Thanks for reply, but I would like to avoid {if} {else} or {swich} > cases. > > yes I know that feeling (grin) :) Surely if you need a good "overload" structure, polymorph-js/ is a good one. As a

Re: [Moo] Overloading method

2011-03-10 Thread Andrea Dessì
Hi, depends on how many times you need this... but I think I'll try to do something like this: //just as example! =P var Star = new Class({ draw: function(argument){ switch (argument) { case undefined: this._draw_overloaded_2(argument); break; default: this._draw_overloaded_1(); } }, _draw_

Re: [Moo] getComputedSize - IE with relative values

2011-03-07 Thread Andrea Dessì
ox-model > values. It's been tested in IE pretty thoroughly. I don't have IE handy so I > can't hit your fiddle. If you have a bug with it, open a ticket in > lighthouse. If you can find a fix for it, that's even better. Send us a > patch! > > > On Mon, Mar

[Moo] getComputedSize - IE with relative values

2011-03-07 Thread Andrea Dessì
Hi all, I've searched for bugs at lighthouse about Element.getComputedSize() and I've found something 2 years ago old. :) So the question is: what is the right value? getComputedSize().totalWidth or getDimension().width? This example works well with FF / chrome. It's a mess with IE. http://jsfi

Re: [Moo] keyup strange vaues

2011-03-05 Thread Andrea Dessì
ok, thank you Arieh. -- Andrea

[Moo] keyup strange vaues

2011-03-05 Thread Andrea Dessì
Hi all, I'm getting in trouble with a keyup event :) the event.key coming from the keyup event is telling me I've "keyupped" a braket { instead of a F12. here the example: http://jsfiddle.net/NKjoep/eukak/1/ the keydown event.key returns the "f12" value which is correct, the keyup tells it is a

Re: [Moo] Re: Mootools with a lack of sound

2011-03-04 Thread Andrea Dessì
I'm reading from the jsfx github homepage https://github.com/egonelbre/jsfx it tells to include the libraries (3 js files) and then call a function play. those libraries are: audio.js(5kb) jsfx.js(15kb) jsfxlib.js(1kb) too heavy? -- Andrea

Re: [Moo] Re: Mootools with a lack of sound

2011-03-04 Thread Andrea Dessì
On Fri, Mar 4, 2011 at 13:16, hamburger wrote: > > thx Andrea, > nice tool to generate sounds. but how to play? > > How to play what? :) I have turned on my speakers and then clicked "random". Just that. havent you heard something? :) -- Andrea

Re: [Moo] Mootools with a lack of sound

2011-03-04 Thread Andrea Dessì
Hi hamburger, you could try jsfx http://egonelbre.com/js/jsfx/ It generates small "waves" files on the fly that's great :D -- Andrea On Fri, Mar 4, 2011 at 12:34, hamburger wrote: > Hello, mootools connoisseurs > i am doing a chat-program where i would like

Re: [Moo] Re: shift enter

2011-03-03 Thread Andrea Dessì
oh man! moo ftw! :D -- Andrea On Thu, Mar 3, 2011 at 21:27, Rolf -nl wrote: > dude this group is on fire > >

Re: [Moo] shift enter

2011-03-03 Thread Andrea Dessì
Hi, can I suggest you to use the More.Keyboard class? :) try it here: http://jsfiddle.net/NKjoep/8PwFE/ -- Andrea On Thu, Mar 3, 2011 at 16:50, hamburger wrote: > Hello, > i would like to check my form for shift-enter > shift-enter should be allowed. On enter the form should submit. > > > $('

[Moo] Element.getCaretPosition() with IE7/8

2011-02-28 Thread Andrea Dessì
Hi all, I'm trying to retrieve the caret position of a with IE7/8 Seems that if the textarea element hasnt the focus, the function getCaretPosition() always return 0. Here the working example: http://jsfiddle.net/NKjoep/P5KmR/ So, is this the default behavior of IE? :) I have to "store" the la

Re: [Moo] Adding events to elements on load and then again when adding elements dynamically = bad code?

2011-01-31 Thread Andrea Dessì
Hi, when you add the "click" event to your "a" elements, remember you are passing a function! so you could think it in this way: [code] //declare your fn var clickFunction = function(e) { e.stop(); //code to execute }; $$('li a').each(function(el){ el.addEvent('click',*clickFunction*);

Re: [Moo] Re: JSONP Oncomplete is not working for me :(

2011-01-21 Thread Andrea Dessì
Hi hartum, foo is not defined because is not "global" in the jsfiddle I've changed the "wrapping method" look: http://jsfiddle.net/5uC5M/7/ now with no wrap is working :) -- Andrea On Fri, Jan 21, 2011 at 09:37, hartum wrote: > first of all, thank you for your answers > > second, in thi

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

Re: [Moo] element.get("text") fails

2010-12-22 Thread Andrea Dessì
very clear now! Thank You so much! -- Andrea On Wed, Dec 22, 2010 at 00:35, Sean McArthur wrote: > Yea, for now, just access textContent, since that's the XML DOM standard > accessor for what you want. > > > > On Tue, Dec 21, 2010 at 3:24 PM, Sanford Whiteman < > sa...@cypressintegrated.com> w

Re: [Moo] element.get("text") fails

2010-12-21 Thread Andrea Dessì
nitial check on page load, it gets set to look for innerText in Chrome. > > However, since innerText is only an HTML thing, the XML elements rightfully > only have textContent set. > > > > > On Tue, Dec 21, 2010 at 1:13 AM, Andrea Dessì wrote: > >> element.get("no

Re: [Moo] element.get("text") fails

2010-12-21 Thread Andrea Dessì
element.get("nodeValue") and element.nodeValue are returning null... Have you tried the jsFiddle example? -- Andrea Dessì On Tue, Dec 21, 2010 at 10:09, Sean McArthur wrote: > I'm not really sure, but for XML, the text between the tags should be > available via `nodeVal

[Moo] element.get("text") fails

2010-12-21 Thread Andrea Dessì
Hi all, I'm trying to parse a XML object. In this example http://www.jsfiddle.net/tps3z/ the method element.get("text") is working with firefox and not working with google chrome. Why? :) please use your console in order to see the wrong values. What am I missing? -- Andrea

Re: [Moo] Problem with Request.JSON

2010-12-14 Thread Andrea Dessì
Huhuh! great! :) -- Andrea On Tue, Dec 14, 2010 at 13:01, Maxim Lacrima wrote: > Hi Andrea, > > My problem was exactly the same - response from the server didn't > contain a valid json. > Thanks a lot for your help! > > On 14 December 2010 13:27, Andrea Dessì wrote:

Re: [Moo] Problem with Request.JSON

2010-12-14 Thread Andrea Dessì
Hi Maxim, I think onSuccess != onComplete, so if in the response there isn't a good nice valid JSON object the onSuccess event isn't fired. I had a stupid problem with a JSON response like this: { a: "value", b: "valu" } which is not valid. this valid: { "a": "value", "b": "valu"

Re: [Moo] Re: MooTools Survey

2010-12-07 Thread Andrea Dessì
huuhuh thank you! :F I've been busy and didnt noticied the blog post! -- Andrea On Tue, Dec 7, 2010 at 10:32, Robert wrote: > done the first part ;) > > On Dec 7, 12:23 am, Arian wrote: > > For those who haven't seen it, please complete the MooTools Survey and > > win a MooTools Shirt! > > >

Re: [Moo] Event.key bug - or feature ?

2010-12-04 Thread Andrea Dessì
Seems that doesn't reconize the keypad and up-down-left-right arrows. I had that problem before but I thought It were normal :P (stupid me?) - Andrea On Sat, Dec 4, 2010 at 11:01, אריה גלזר wrote: > just a a side note - IMO you should never use keypress. use key down > instead. And if you wan

Re: [Moo] Re: IE Browser 7/8/9 Checked attribute issue

2010-12-03 Thread Andrea Dessì
I was waiting just for that! chris && Moo FTW! :D -- Andrea On Wed, Dec 1, 2010 at 22:24, Christoph Pojer wrote: > thanks all for discussing this. I have pulled the fix by Sean for Core > 1.3.1 > > On Dec 1, 8:00 pm, Gafa wrote: > > ok, thanks > > > > It's important because as the users/deve

Re: [Moo] Re: IDE that can show an outline/list of mootools functions?

2010-12-01 Thread Andrea Dessì
I used to write code like that :P it helps the editor to find the right funcion list for the outline :D I know it suKs but when you have to write a lot of code it's the best way :) Personally I use eclipse + aptana, It's good if you have to develop not only JS, especially if J2EE. :)

Re: [Moo] Re: Element good for xml parsing?

2010-11-27 Thread Andrea Dessì
Sometimes you don't have/don't want to spend enought resources to develop a WS/wsdl... So there's no other way, just translate the XML -> js string -> json obj. but... what about this? https://github.com/kamicane/mootools-xml ? :) -- Andrea Dessì

R: [Moo] JSON problem / delay

2010-11-26 Thread Andrea Dessì
Is the response-json a valid json object? Try to validate it with a validator -- Andrea Il giorno 26/nov/2010 18:46, "machadoug" ha scritto: Greetings, For some reason the onComplete takes too long to execute. The Code is very simple: this.setHandler('sicaptcha', function (value) {

Re: [Moo] Re: Moo 1.3 Element.setProperty

2010-11-11 Thread Andrea Dessì
I've forgot (edit): example 1 is served with Content-type: text/html ( http://moocontentassist.altervista.org/colspan/colspan-html.php) example 2 is served with Content-type: application/xhtml+xml ( http://moocontentassist.altervista.org/colspan/colspan-xhtml.php) -- Andrea Dessì On Thu, N

Re: [Moo] Re: Moo 1.3 Element.setProperty

2010-11-11 Thread Andrea Dessì
I've forgot: example 1 is served with Content-type: text/html ( http://moocontentassist.altervista.org/colspan/colspan-html.php) example 2 is served with Content-type: application/xhtml+xml ( http://moocontentassist.altervista.org/colspan/colspan-html.php) -- Andrea Dessì On Thu, Nov 11,

Re: [Moo] Re: Moo 1.3 Element.setProperty

2010-11-11 Thread Andrea Dessì
ng colSpan camelcased! :P just me? :) -- Andrea Dessì On Thu, Nov 11, 2010 at 09:55, Andrea Dessì wrote: > I've tested with: > Ubuntu 10.10 firefox 3.6.2 > Ubuntu 10.10 Chrome 7.0.5 (7.0.517.41) > Winxp IE 8 > > -- > Andrea > > > On Thu, Nov 11, 2010 at 09:53, Oskar K

Re: [Moo] Re: Moo 1.3 Element.setProperty

2010-11-11 Thread Andrea Dessì
I've tested with: Ubuntu 10.10 firefox 3.6.2 Ubuntu 10.10 Chrome 7.0.5 (7.0.517.41) Winxp IE 8 -- Andrea On Thu, Nov 11, 2010 at 09:53, Oskar Krawczyk wrote: > It's highly unlikely that this might work differently on jsfiddle and your > local computer, if both are using the newest MooTools versi

Re: [Moo] Re: Moo 1.3 Element.setProperty

2010-11-11 Thread Andrea Dessì
Uhm... and I'm getting same wrong behaviour. -- Andrea Dessì On Wed, Nov 10, 2010 at 10:34, Wiz of Id wrote: > On 10 Nov, 10:29, Oskar Krawczyk wrote: > > Tested and it does generate the property lowercase, not camelCase as > you've > > pointed. > > &

Re: [Moo] Moo 1.3 Element.setProperty

2010-11-10 Thread Andrea Dessì
> On Nov 9, 2010, at 9:41 AM, Andrea Dessì wrote: > > > Hi all, > > > > just a question: there are any "know issues" with > > Element.setProperty? > > ( > > > https://github.com/mootools/mootools-core/blob/master/Source/Element/Element.js#L46

[Moo] Moo 1.3 Element.setProperty

2010-11-09 Thread Andrea Dessì
Hi all, just a question: there are any "know issues" with Element.setProperty? ( https://github.com/mootools/mootools-core/blob/master/Source/Element/Element.js#L467 and https://github.com/mootools/mootools-core/blob/master/Source/Element/Element.js#L383 ) because I'm trying to set a colspan="3

Re: [Moo] [Slick] how to find element with text

2010-10-18 Thread Andrea Dessì
course the you can choose any name you want. > > > -- > Fábio Miranda Costa > front...@portalpadroes > Globo.com > *github:* fabiomcosta > *twitter:* @fabiomiranda > *ramal:* 6410 > > > > On Mon, Oct 18, 2010 at 11:17 AM, Andrea Dessì wrote: > >>

Re: [Moo] [Slick] how to find element with text

2010-10-18 Thread Andrea Dessì
y text")') > > -- > Fábio Miranda Costa > front...@portalpadroes > Globo.com > *github:* fabiomcosta > *twitter:* @fabiomiranda > *ramal:* 6410 > > > > > On Mon, Oct 18, 2010 at 10:21 AM, Andrea Dessì wrote: > >> Hi all :) >> >> I&#x

[Moo] [Slick] how to find element with text

2010-10-18 Thread Andrea Dessì
Hi all :) I've started with Slick and MooTools 1.3 just today and here the first question. With the 1.2, I used to do: $("myparent").getElement("a[text=XXX]"); and now with 1.3, I'm trying this: document.id("myparent").getElement("a[^XXX$]"); but sometimes I'm not getting the right one. is this

Re: [Moo] Turbocharge your MooTools with more Power

2010-10-12 Thread Andrea Dessì
woah! very usefull :) bookmarked! -- Andrea On Tue, Oct 12, 2010 at 06:06, Aaron Newton wrote: > Nice work Christoph! > > > On Mon, Oct 11, 2010 at 11:08 PM, Christoph Pojer < > christoph.po...@gmail.com> wrote: > >> I have just released all my latest stuff, labeled PowerTools: >> http://cpoje

Re: [Moo] Re: Hash with MooTools & Nodej

2010-10-09 Thread Andrea Dessì
getValues(obj) etc. Object.keys(obj) is actually a method > in the ES5 standard, which means that NodeJS (and more recent > browsers) include(s) it natively already. > > On Oct 9, 11:30 am, Andrea Dessì wrote: > > Hi all, > > > > I'm using the 1.3dev from the

[Moo] Hash with MooTools & Nodej

2010-10-09 Thread Andrea Dessì
Hi all, I'm using the 1.3dev from the git with Nodejs. I'm still learning and I was guessing how to use the Hash object. Of course I have this: require.paths.push('./moo/'); require('MooTools').apply(GLOBAL); and later: var Pippo = new Class({ ... }); and It works. but this doesn't wo

Re: [Moo] Generate file and open it in the browser

2010-10-07 Thread Andrea Dessì
If i were an user (and probably I am :D) I'd like to have the url of the xsl file, click it and the browser ask me what to do (open or download). It's possible managing the response to the the browser that it's a file and not a page. Sorry I don't know how to do it with php -- Andrea On Thu, Oct

R: Re: [Moo] Re: 1.2.x and 1.3.0 documentation on mootools.net

2010-09-18 Thread Andrea Dessì
Yes, a more visible shortcut would be great :) Andrea Il giorno 18/set/2010 16:30, "Oskar Krawczyk" ha scritto: Yeah, but not all of them, and the naming of some Classes changed in some cases. Best is to simply use docs12.mootools.net. Hopefully the MooTools Team will pick up Cheaun's amazing

Re: [Moo] Re: (1.3) fireEvent > triggerEvent > fireEvent?

2010-09-18 Thread Andrea Dessì
var test = (dev list == a place where developers write and answer to u) // test -> true ;) Andrea Dessì On Sat, Sep 18, 2010 at 01:45, Ryan Florence wrote: > Welcome to the dev list. > > On Sep 17, 2010, at 5:13 PM, Aaron Newton wrote: > > sometimes I am unwillingly insulti

Re: [Moo] Re: (1.3) fireEvent > triggerEvent > fireEvent?

2010-09-17 Thread Andrea Dessì
I'd like to say my opinion. We have to admit what Aaron is saying is understandable, and we all can accept it. :) I agree. Andrea On Fri, Sep 17, 2010 at 18:22, Aaron Newton wrote: > Also note that, unlike -users list, dev list and IRC channel can be a >> bit ... difficult. >> > > Hah. an un

Re: [Moo] Mootools referring to wrong element?

2010-09-17 Thread Andrea Dessì
Hi electronbender, I've seen queekly your code and maybe the onComplete function, passed to the request istance, doesn't know who is "chLip". I think you have to use ".bind()" for that funcion... Something like: onComplete: function(theData){ this.set('html',theData.ve

Re: [Moo] Re: [Drag.Move] offsetParent null with IE

2010-09-16 Thread Andrea Dessì
Here's the ticket :) https://mootools.lighthouseapp.com/projects/24057-mootoolsmore/tickets/374 Nice to help the project! Andrea

Re: [Moo] Re: [Drag.Move] offsetParent null with IE

2010-09-16 Thread Andrea Dessì
Aaron I'm opening a ticket... Andrea On Thu, Sep 16, 2010 at 19:12, Aaron Newton wrote: > Good catch. Care to file a ticket for it in the MooTools More Lighthouse? > > https://mootools.lighthouseapp.com/projects/24057-mootoolsmore > > (we can file it for you, but then you won't know the status

Re: [Moo] Re: getPosition fails

2010-09-16 Thread Andrea Dessì
Thank you Aaron for these details :) What I have to do is to move elements relative to another one so I've thought the easiest way were to compare their "position" in the real window space :) ...with a simple expressions. I've tried element.getPosistion(window) and is working good with chrome

[Moo] Re: [Drag.Move] offsetParent null with IE

2010-09-16 Thread Andrea Dessì
. Right? Andrea On Thu, Sep 16, 2010 at 16:34, Andrea Dessì wrote: > Hi all, > > playing a bit with Drag.Move and I'm getting > "offsetParent is null or is not an object" when setting the container > to > the Drag.Move istance: > > Example: > htt

[Moo] [Drag.Move] offsetParent null with IE

2010-09-16 Thread Andrea Dessì
Hi all, playing a bit with Drag.Move and I'm getting "offsetParent is null or is not an object" when setting the container to the Drag.Move istance: Example: http://mootools.net/shell/PLfcD/ The null offsetParent is in the calculateLimit function: calculateLimit: function(){ var offsetP

Re: [Moo] Re: getPosition fails

2010-09-16 Thread Andrea Dessì
Finally with getPosition(window) I get what i want: http://mootools.net/shell/Aaqvy/4/ and there was also a logic error when calculating the width and height. let's go back to school :P :) <http://mootools.net/shell/Aaqvy/4/> -- Andrea On Thu, Sep 16, 2010 at 11:49, Andrea D

Re: [Moo] Re: getPosition fails

2010-09-16 Thread Andrea Dessì
works fine. > > but $('the_id').getPosition() -< get's the position relative to the > > body > > > > lookhttp://mootools.net/shell/Aaqvy/1/ > > > > On Sep 16, 11:26 am, Andrea Dessì wrote: > > > > > Hi all, > > > > > I&#x

[Moo] [Moo 1.2] getPosition fails

2010-09-16 Thread Andrea Dessì
Hi all, I'm trying to inject a div with absolute position, and its css properties top/left/width/heigth are relative to another element. Please see this example: http://mootools.net/shell/Aaqvy/ Everything works well getting the positions of the image using the .getPosition() function. If you r

Re: [Moo] Re: Keyboard: default event

2010-09-13 Thread Andrea Dessì
On Mon, Sep 13, 2010 at 18:09, Aaron Newton wrote: > Looking at it a bit more, this is possible. The way I would match events > *except* others would be multiple keyboard instances and the > Keyboard.stop(event) method. > > Create one keyboard instance that has your key assignments and another on

Re: [Moo] Re: Keyboard: default event

2010-09-13 Thread Andrea Dessì
On Mon, Sep 13, 2010 at 17:50, Aaron Newton wrote: > At the moment, I don't think there's a way to match every key *except* some > others. Thank you Aaron. At the moment I'm using the Keyboard Class for triggering a set of keys and adding a standard event keyup/down to the element for trigger

Re: [Moo] Re: Keyboard: default event

2010-09-13 Thread Andrea Dessì
On Mon, Sep 13, 2010 at 14:49, Michal Charemza wrote: > Maybe faking the ctrl-event isn't the thing to do (if it is even possible). > I would try > > - Listening to the click event on the select / each option element (perhaps > using delegation) > - On click of each option, set it's "selected" att

[Moo] [Moo-more] Keyboard: default event

2010-09-13 Thread Andrea Dessì
Hi all, There's a way to add the default behaviour for keydown/press/up events using the Keyboard class from MooTools More? It's possible to define a object for every key combination, but... what about the default event? Thanks, Andrea

Re: [Moo] BUG? moo1.2.4-core bites mootools-1.2.4.4-more

2010-07-28 Thread Andrea Dessì
Hi hamburger, I've tried your example just now, and seems to work good. with and without -more. -- Andrea Dessì Email: nkj...@gmail.com Skype: nkjoep Blog: http://www.stealthefish.com/ LinkedIn: http://www.linkedin.com/in/andreadessi Jabber: nkj...@gmail.com Twitter: http://www.twitte

Re: [Moo] [MooShell] :: font rendering problem

2010-07-09 Thread Andrea Dessì
uhm great! >:| anyway thank you :) -- Andrea Dessì Email: nkj...@gmail.com Skype: nkjoep Blog: http://www.stealthefish.com/ LinkedIn: http://www.linkedin.com/in/andreadessi Jabber: nkj...@gmail.com Twitter: http://www.twitter.com/NKjoep On Fri, Jul 9, 2010 at 14:13, Oskar Krawczyk wr

[Moo] [MooShell] :: font rendering problem

2010-07-09 Thread Andrea Dessì
om/u/1840263/jsfiddle-box-text-error.png and the same is happening with mooshell. I'd like to know if it's happening just to me, and why :) any idea? -- Andrea Dessì Email: nkj...@gmail.com Skype: nkjoep Blog: http://www.stealthefish.com/ LinkedIn: http://www.linkedin.com/in/andreades

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

2010-07-09 Thread Andrea Dessì
maybe using the same "onRequest" (or a global one) for all of them you can create a stack and show a loading box in the proper way :) -- Andrea Dessì Email: nkj...@gmail.com Skype: nkjoep Blog: http://www.stealthefish.com/ LinkedIn: http://www.linkedin.com/in/andreadessi Jabber: nkj...

  1   2   >