RE: [Moo] Re: add before each hr element

2012-06-07 Thread Steve Onnis
If your images are floated but your tags are not then you will always have trouble. You need to float your tags also and everything else should come into line From: Chad Meyers [mailto:starlingdesig...@gmail.com] Sent: Friday, 8 June 2012 12:44 AM To: mootools-users@googlegroups.com Subjec

RE: [Moo] MooGrid question

2012-04-26 Thread Steve Onnis
Dont use Ctrl-F :) Do you get the same issue when using the demo at http://www.matts411.com/post/moogrid/ ? -Original Message- From: Chris Johnson [mailto:whgwann...@gmail.com] Sent: Thursday, 26 April 2012 10:39 PM To: MooTools Users Subject: [Moo] MooGrid question This is a MooGrid qu

RE: [Moo] Re: selectbox options "selected"

2012-04-23 Thread Steve Onnis
x27;, value); }, // handle 'selected' in both the javascript and HTML? 'selected': function (node, value) { node.selected = !!value; // not sure you really need this if you have the next line(s) if (value) node.setAttribute(

RE: [Moo] Re: selectbox options "selected"

2012-04-23 Thread Steve Onnis
I know it selects it, but the actual HTML it renders i am expecting is option 3 -Original Message- From: hamburger [mailto:bilidi...@web.de] Sent: Monday, 23 April 2012 11:09 PM To: MooTools Users Subject: [Moo] Re: selectbox options "selected" for me it seems to work fine. (firefox 11)

RE: [Moo] Re: selectbox options "selected"

2012-04-23 Thread Steve Onnis
Yup Check this out... http://jsfiddle.net/jgPHK/ -Original Message- From: hamburger [mailto:bilidi...@web.de] Sent: Monday, 23 April 2012 9:44 PM To: MooTools Users Subject: [Moo] Re: selectbox options "selected" did you tried this: var option = new E

[Moo] selectbox options "selected"

2012-04-22 Thread Steve Onnis
How can i get mootools to actually write the "selected" property into the HTML when creating new elements? It seems to select the option fine but it doesn't actually write the property to the html Steve

RE: [Moo] Re: morph.start(with variable) do not work

2012-03-26 Thread Steve Onnis
ecode for this is a very good practice. This is a lot better: http://jsfiddle.net/H84d8/11/ On Mon, Mar 26, 2012 at 1:33 PM, Steve Onnis wrote: Why couldn't you do it like this?? http://jsfiddle.net/H84d8/10/ -Original Message- From: hamburger [mailto:bilidi...@web.de] Se

RE: [Moo] Re: morph.start(with variable) do not work

2012-03-26 Thread Steve Onnis
Why couldn't you do it like this?? http://jsfiddle.net/H84d8/10/ -Original Message- From: hamburger [mailto:bilidi...@web.de] Sent: Monday, 26 March 2012 10:17 PM To: MooTools Users Subject: [Moo] Re: morph.start(with variable) do not work thx arian. I have it. At one time in the fut

RE: [Moo] Copying the HTML document

2012-03-19 Thread Steve Onnis
Thats hy i was cloning and injecting it into a textarea, so i could do a get("html") on the textarea and then have all of the html. Is this not a good way? -Original Message- From: Matthew Hazlett [mailto:hazl...@gmail.com] Sent: Monday, 19 March 2012 5:36 PM To: mootools-users@googlegro

RE: [Moo] Copying the HTML document

2012-03-18 Thread Steve Onnis
Very nice, though i don't like this bit... all: '' + head + '' + body + '', There must be a way to get the html and body tags complete with any css classes or other attributes From: Matthew Hazlett [mailto:hazl...@gmail.com] Sent: Sunday, 18 March 2012 11:06 AM To: mootools-users@googl

RE: [Moo] Copying the HTML document

2012-03-16 Thread Steve Onnis
What about for radio buttons and checkboxes? Using setProperty() does not seem to do anything to the underlying HTML -Original Message- From: Matthew Hazlett [mailto:hazl...@gmail.com] Sent: Saturday, 17 March 2012 4:23 AM To: mootools-users@googlegroups.com Subject: Re: [Moo] Copying th

RE: [Moo] Copying the HTML document

2012-03-16 Thread Steve Onnis
XKbVp/ You can then read off the values from data-value in each of the inputs. -- Barry van Oudtshoorn www.barryvan.com.au <mailto:st...@cfcentral.com.au> Steve Onnis Friday, March 16, 2012 4:02 AM I have a web form and I am trying to find out a way that i can copy the contents of

RE: [Moo] Copying the HTML document

2012-03-16 Thread Steve Onnis
/ You can then read off the values from data-value in each of the inputs. On 16/03/12 16:02, Steve Onnis wrote: I have a web form and I am trying to find out a way that i can copy the contents of a HTML page with all data in the form so i can save it to a file. Can anyone suggest a way that i might

[Moo] Copying the HTML document

2012-03-16 Thread Steve Onnis
I have a web form and I am trying to find out a way that i can copy the contents of a HTML page with all data in the form so i can save it to a file. Can anyone suggest a way that i might be able to do this? I have been doing this new Element("div").adopt($(document.body).getParent("html

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

2012-03-13 Thread Steve Onnis
Apologies. But you got my point. Actually didn’t think that would work because of the extra ".". Have never tried it before so just assumed :) -Original Message- From: Sanford Whiteman [mailto:sa...@figureone.com] Sent: Wednesday, 14 March 2012 5:11 PM To: Steve Onnis S

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

2012-03-13 Thread Steve Onnis
toInt() has no arguments being passed into it. Just like if you went (123.456789).toString() You wouldn’t be able to do 123.456789.toString() You encapsulate the value with brackets so you can call the method on the value From: verylastminute [mailto:cgp...@gmail.com] Sent: Wednesd

RE: [Moo] Re: "empty" function on new HtmlTable fails

2012-03-12 Thread Steve Onnis
I agree with Neilime. You could create it and attempt to fill it but it not get filled and then call empty() on it. Regardless of the situation, it the framework shouldn’t error like that. If it was your own code and you were writing it, would you let it error? Or would you check to make s

RE: [Moo] LinkedList

2012-03-10 Thread Steve Onnis
Why are you treating it as a string list when it would make a lot more sense to treat it as an array and use the array functions to handle pretty much everything you are trying to do here? Inserting array elements is a hell of a lot simpler than manipulating a string list. Also, whats with the na

RE: [Moo] Re: Newbie question on checkboxes

2012-02-27 Thread Steve Onnis
Actually errors under IE From: Matthew Hazlett [mailto:hazl...@gmail.com] Sent: Tuesday, 28 February 2012 8:46 AM To: mootools-users@googlegroups.com Subject: Re: [Moo] Re: Newbie question on checkboxes I did a little more for you: http://jsfiddle.net/mVK5G/1/ Now you can have multiple se

RE: [Moo] Deleting image from list

2012-02-03 Thread Steve Onnis
Shame it doesn't work in IE -Original Message- From: Sanford Whiteman [mailto:sa...@figureone.com] Sent: Saturday, 4 February 2012 5:15 PM To: bootsman Subject: Re: [Moo] Deleting image from list Also take a look at a very CSS-centric way of doing this, with clean markup. http://jsfid

RE: [Moo] Re: Making a request

2012-01-17 Thread Steve Onnis
There is no logging script. The file actually exists Say i have a link to a pdf file that is www.mysite.com/some-file.pdf. This file exists on www.mysite.com but i am modifying the output of the html to change www.mysite.com to http://s3.amazonaws.com/bucket/some-file.pdf. When the user clicks

RE: [Moo] Making a request

2012-01-16 Thread Steve Onnis
quest blank.gif?ua=trident& On Mon, Jan 16, 2012 at 9:02 AM, Steve Onnis wrote: In addition to that, i don’t actually want to load any of the file. I just want to hit it and make it log in the web server log files From: Steve Onnis [mailto:st...@cfcentral.com.au] Sent: Tuesday, 1

RE: [Moo] Making a request

2012-01-16 Thread Steve Onnis
In addition to that, i don't actually want to load any of the file. I just want to hit it and make it log in the web server log files From: Steve Onnis [mailto:st...@cfcentral.com.au] Sent: Tuesday, 17 January 2012 1:51 AM To: mootools-users@googlegroups.com Subject: [Moo] Making a re

[Moo] Making a request

2012-01-16 Thread Steve Onnis
If you make a new Request() and then cancel is immediately would the server still get the request? Like var req = new Request({url:"somefile.html"}).send(); req.cancel(); The reason is the files are being loaded from an S3 bucket but i still want the web server the site is on to track

RE: [Moo] image loading

2012-01-13 Thread Steve Onnis
Can you still check the file size of the image? I used to do something like that where the filesize property of the image was -1 or something if the image didn't load From: Aaron Newton [mailto:anut...@gmail.com] Sent: Saturday, 14 January 2012 6:01 AM To: mootools-users@googlegroups.com Subj

RE: [Moo] image loading

2012-01-13 Thread Steve Onnis
uary 2012 8:03 PM To: Steve Onnis Subject: Re: [Moo] image loading > Im not using the Assets stuff or new Element(). The images are > throughout a website which i am migrating to have all the images and stuff in the cloud. > There is a syncing process running to syn all the images and what i

RE: [Moo] image loading

2012-01-13 Thread Steve Onnis
Im not using the Assets stuff or new Element(). The images are throughout a website which i am migrating to have all the images and stuff in the cloud. There is a syncing process running to syn all the images and what i am wanting to do is if the image doesn't load to assume it has not been sync'ed

RE: [Moo] image loading

2012-01-13 Thread Steve Onnis
So can i do something like Element.implement({ "onerror" : function () {} }); -Original Message- From: Sanford Whiteman [mailto:sa...@figureone.com] Sent: Friday, 13 January 2012 7:24 PM To: Steve Onnis Subject: Re: [Moo] image loading > Anyone suggest a

[Moo] image loading

2012-01-13 Thread Steve Onnis
Anyone suggest an easy way to find out if an image has failed to load?

RE: [Moo] Incompatible IE and Chrome

2011-11-01 Thread Steve Onnis
I would say first off to check your CSS. Even viewing your example without running any of the javascript they are totally up the whazoo From: Sitthykun LY [mailto:ly.sitthy...@gmail.com] Sent: Wednesday, 2 November 2011 4:47 AM To: mootools-users@googlegroups.com Subject: Re: [Moo] Incompati

RE: [Moo] How to check for 1 specific radio button with Form.Validator?

2011-09-23 Thread Steve Onnis
I assume this is for like an "I accept." function? Why don't you just use a checkbox? -Original Message- From: stratboy [mailto:em...@reghellin.com] Sent: Friday, 23 September 2011 8:10 PM To: MooTools Users Subject: [Moo] How to check for 1 specific radio button with Form.Validator?

RE: [Moo] contextualSearch

2011-08-05 Thread Steve Onnis
Search buttons are so 1980. Why don't you do the searching as you type? -Original Message- From: Adrian Statescu [mailto:mergeso...@gmail.com] Sent: Friday, 5 August 2011 8:15 PM To: MooTools Users Subject: [Moo] contextualSearch contextualSearch updated! http://mootools.net/forge/p/cont

RE: [Moo] setStyles relative to an object

2011-08-02 Thread Steve Onnis
elative to an object On Tue, Aug 2, 2011 at 11:23 PM, Steve Onnis wrote: Does anyone know how i would go about using setStyles to position an element relative to another element? http://mootools.net/docs/more/Element/Element.Position ~Philip -- http://lonestarlightandsound.com/

RE: [Moo] setStyles relative to an object

2011-08-02 Thread Steve Onnis
ar element -Original Message- From: Sanford Whiteman [mailto:sa...@cypressintegrated.com] Sent: Wednesday, 3 August 2011 2:48 PM To: Steve Onnis Subject: Re: [Moo] setStyles relative to an object > Does anyone know how i would go about using setStyles to position an element > rel

[Moo] setStyles relative to an object

2011-08-02 Thread Steve Onnis
Does anyone know how i would go about using setStyles to position an element relative to another element?

[Moo] making an element movable and resizable

2011-08-01 Thread Steve Onnis
I want to make a modal box that is both movable and resizable. It seems though that this cannot be achieved with the standard mootools functions. Check this out.. http://jsfiddle.net/MBgXa/ It moves, and it resizes but all at one. There are no resize handles and moving the box causes the

RE: [Moo] Resizable element

2011-08-01 Thread Steve Onnis
Appologies I missed it in the docs. Never mind my comment J From: Steve Onnis [mailto:st...@cfcentral.com.au] Sent: Tuesday, 2 August 2011 10:56 AM To: mootools-users@googlegroups.com Subject: [Moo] Resizable element I am surprised to not yet see any resize functions in the mootools

[Moo] Resizable element

2011-08-01 Thread Steve Onnis
I am surprised to not yet see any resize functions in the mootools library for resizing elements. Is this coming?

RE: [Moo] Lang.js dissapeared?

2011-08-01 Thread Steve Onnis
Yeah i was implementing FancyUpload and it uses the Lang.js. I have replaced it with the Local stuff now anyway -Original Message- From: Tim Wienk [mailto:timwi...@gmail.com] Sent: Monday, 1 August 2011 5:47 PM To: mootools-users@googlegroups.com Subject: Re: [Moo] Lang.js dissapeared?

[Moo] Lang.js dissapeared?

2011-07-31 Thread Steve Onnis
One of my scripts was refering https://github.com/mootools/mootools-more/raw/master/Source/Core/Lang.js but it seems to be unavailable. Anyone know if this is a permanent thing? Steve

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

2011-07-22 Thread Steve Onnis
So you are saying, if you add events to something and the event has already fired, if you add new functions to the same event, you just want them to fire immediately rather than be qued? From: jiggliemon [mailto:agro...@gmail.com] Sent: Friday, 22 July 2011 4:46 PM To: mootools-users@googleg

RE: [Moo] New method to Events class

2011-07-21 Thread Steve Onnis
You can re-fire the even whenever you want though so what is the point? window.fireEvent(“domready”) From: jiggliemon [mailto:agro...@gmail.com] Sent: Friday, 22 July 2011 4:20 PM To: mootools-users@googlegroups.com Subject: [Moo] New method to Events class I'm proposing a new method f

[Moo] FX.slide direction

2011-07-19 Thread Steve Onnis
Does anyone know if it is possible to have an element slide out in an upwards direction rather than down? Steve

RE: [Moo] Element.implement

2011-07-15 Thread Steve Onnis
Raio was an example. I know its just an input element which is why i was asking. Something like $$("input[type=radio]").implement({ style : function () {} }); Is what i was hoping to be able to do -Original Message- From: Sanford Whiteman [mailto:sa...@cypressintegrate

RE: [Moo] Element.implement

2011-07-14 Thread Steve Onnis
The reason i asked is because i was looking into some custom form element styling functions so i wanted to be able to do something like Select.style() Input.style() Radio.style() And so on but i will most likely have to do it a different way -Original Message- From: Sanford Whiteman [mai

RE: [Moo] Element.implement

2011-07-14 Thread Steve Onnis
t. I'd just implement it and plan on using it on just table elements, I wouldn't bother with the check. On Jul 14, 2011, at 9:29 PM, Steve Onnis wrote: Like if i only want to implement something on a table element for example From: Ryan Florence [mailto:rpflore...@gmail.co

RE: [Moo] Element.implement

2011-07-14 Thread Steve Onnis
x27;); el.whatev = function (){}; On Jul 14, 2011, at 7:29 PM, Steve Onnis wrote: Can you implement things on particular elements only? Or do you have to check the type of element in the implements function and deal with it there? Steve

[Moo] Element.implement

2011-07-14 Thread Steve Onnis
Can you implement things on particular elements only? Or do you have to check the type of element in the implements function and deal with it there? Steve

[Moo] Cleaning arrays

2011-07-14 Thread Steve Onnis
Why would this not work? console.log(Array.from((",1,2,3,4").split(",")).clean()) The first item is returned as an empty string but i don't want it there at all... Steve

RE: [Moo] clearTimeout on a Class function

2011-07-03 Thread Steve Onnis
his can be passed as second argument in the delay method. delay (and periodical / setTimeout / setInterval) returns a timeoutID that you can use in the clearTimeout / clearInterval. On Sun, Jul 3, 2011 at 6:04 PM, Steve Onnis wrote: Could someone tell me if this is a javascript thing or a moot

[Moo] clearTimeout on a Class function

2011-07-03 Thread Steve Onnis
Could someone tell me if this is a javascript thing or a mootools issue When you create a new Class() and then try to call a method on the class with function.delay() and then try to stop that delay the function still runs. For example fooBar = new Class({ popit : function () {

RE: [Moo] default Request onSuccess function

2011-06-28 Thread Steve Onnis
have something fire off automatically. Make sense? -Original Message- From: Sanford Whiteman [mailto:sa...@cypressintegrated.com] Sent: Wednesday, 29 June 2011 2:51 PM To: Steve Onnis Subject: Re: [Moo] default Request onSuccess function > Is there any other way? I don't want

RE: [Moo] default Request onSuccess function

2011-06-28 Thread Steve Onnis
On Tue, Jun 28, 2011 at 5:52 PM, Steve Onnis wrote: Is it possible to set a default function that will always run for a Request call? Do you just need to use Implement or something? Steve

[Moo] default Request onSuccess function

2011-06-28 Thread Steve Onnis
Is it possible to set a default function that will always run for a Request call? Do you just need to use Implement or something? Steve

RE: [Moo] Re: Custom data attribute

2011-06-28 Thread Steve Onnis
veral different resources) On Tue, Jun 28, 2011 at 6:40 PM, Steve Onnis wrote: It might work but it is not valid XHTML pre HTML5 From: Arian Stolwijk [mailto:ar...@aryweb.nl] Sent: Wednesday, 29 June 2011 12:50 AM To: mootools-users@googlegroups.com Subject: Re: [Moo] Re: Custom data attr

RE: [Moo] Re: Custom data attribute

2011-06-28 Thread Steve Onnis
It might work but it is not valid XHTML pre HTML5 From: Arian Stolwijk [mailto:ar...@aryweb.nl] Sent: Wednesday, 29 June 2011 12:50 AM To: mootools-users@googlegroups.com Subject: Re: [Moo] Re: Custom data attribute this does even work in IE6. On Tue, Jun 28, 2011 at 4:12 PM, Steve Onnis

RE: [Moo] Re: Custom data attribute

2011-06-28 Thread Steve Onnis
: Custom data attribute On Tue, Jun 28, 2011 at 15:03, Steve Onnis wrote: > Keep in mind though that doing that sort of thing will invalidate your XHTML > unless you generate your own dtd schema and implement that http://dev.w3.org/html5/spec/elements.html#embedding-custom-non-visible-data-wi

RE: [Moo] Re: Custom data attribute

2011-06-28 Thread Steve Onnis
Keep in mind though that doing that sort of thing will invalidate your XHTML unless you generate your own dtd schema and implement that From: Arian Stolwijk [mailto:ar...@aryweb.nl] Sent: Tuesday, 28 June 2011 10:08 PM To: mootools-users@googlegroups.com Subject: Re: [Moo] Re: Custom data attr

RE: [Moo] Request.HTML and evalScripts

2011-06-14 Thread Steve Onnis
/blob/master/Source/Request/Request .HTML.js#L45-L57 As you can see, the DOM is updated first, then the scripts are evaluated. On Tue, Jun 14, 2011 at 9:33 PM, Steve Onnis wrote: Is there any way to get the scripts from a request to be evaluated AFTER then response HTML has been updated? I am

[Moo] Request.HTML and evalScripts

2011-06-14 Thread Steve Onnis
Is there any way to get the scripts from a request to be evaluated AFTER then response HTML has been updated? I am having an issue where there are scripts running but the HTML has not be updated yet. From what i can see the scripts are evaluated first and then the HTML is updated. I want the rever

RE: [Moo] Re: Drilldown-Navigation

2011-06-10 Thread Steve Onnis
tags. the breadcrumbline is a normal and i would be in need of using a and insert a couple of childs. as said, it is on the todo and i think it will be in the code soon On 11 Jun., 02:37, "Steve Onnis" wrote: > How would it break the markup? You are injecting the text there, jus

RE: [Moo] Re: Drilldown-Navigation

2011-06-10 Thread Steve Onnis
but dropped it because it would break the actual markup .. but i think it is worth to rethink - putting it on the to-do list. On 10 Jun., 18:05, "Steve Onnis" wrote: > The bread crumb should be clickable to click back to a spot in the menu > without having to keep clicking back>

RE: [Moo] Drilldown-Navigation

2011-06-10 Thread Steve Onnis
The bread crumb should be clickable to click back to a spot in the menu without having to keep clicking back>back>back to get to it though -Original Message- From: Piotr Zalewa [mailto:zal...@gmail.com] Sent: Saturday, 11 June 2011 12:14 AM To: mootools-users@googlegroups.com Subject: Re:

RE: [Moo] Re: Common functions for events

2011-05-09 Thread Steve Onnis
delegation? Add it in from More and you have it: http://jsfiddle.net/LWUX3/2/ On May 9, 11:41 am, "Steve Onnis" wrote: > I did it like that cause i didn’t think the event argument would get passed > in. Now i know :) thanks > > > > > > > > -Origina

RE: [Moo] Re: Common functions for events

2011-05-09 Thread Steve Onnis
anonymous function? By definition, the "this" inside that function will the the element it fires on. Just do: $('f1').addEvent('submit', submitFunction); and call it a day ;) On May 9, 8:35 am, "Steve Onnis" wrote: > I am wondering which is the bes

[Moo] Common functions for events

2011-05-09 Thread Steve Onnis
I am wondering which is the best way to use a common function for element events. For example, i have a form that loads on the page, then on that same page i have an ajax window that opens that has other forms and i want to assign the same submit event function for both forms. Because i need to

RE: [Moo] IE9 question

2011-05-01 Thread Steve Onnis
Why don't you use typeof(console.info) to make sure it is what you are expecting From: Ger Hobbelt [mailto:g...@hobbelt.com] Sent: Sunday, 1 May 2011 10:39 PM To: mootools-users@googlegroups.com Subject: [Moo] IE9 question The mootools relevance of this question is: (a) am I reinventing

RE: [Moo] Feedback on Element.implement

2011-04-25 Thread Steve Onnis
I really don't understand how that works. What is it exactly you are passing in to make the transition? From: Arian Stolwijk [mailto:ar...@aryweb.nl] Sent: Tuesday, 26 April 2011 4:58 AM To: mootools-users@googlegroups.com Subject: Re: [Moo] Feedback on Element.implement Probably you can

RE: RE: [Moo] Feedback on Element.implement

2011-04-24 Thread Steve Onnis
Good point. I didn’t think of that Hows this then? http://jsfiddle.net/EppqN/3/ From: Michael Russell [mailto:jmrussel...@gmail.com] Sent: Monday, 25 April 2011 1:45 AM To: mootools-users@googlegroups.com Subject: Re: RE: [Moo] Feedback on Element.implement One issue I see with us

RE: [Moo] Feedback on Element.implement

2011-04-24 Thread Steve Onnis
Why would i use chain? I "could" use it but why would you if it isn’t going to be of any benefit? Unless you can tell me why it would be of benefit or give me an example of how it would be used? From what i can see, even with chain you still have to do some recursion. Also why would i use highl

[Moo] Feedback on Element.implement

2011-04-23 Thread Steve Onnis
I am writing up a little extension to Element to make an element flash/pulse and i was wondering if i could get some feedback from some gurus here as to if there is a better way to do this Example at http://jsfiddle.net/EppqN/ I am using Element.fade() though i did have some issues with it

RE: [Moo] Re: replaceing a text string

2011-03-28 Thread Steve Onnis
); }); On 28 Mrz., 13:34, "Steve Onnis" wrote: > can anyone suggest an easy way to replace some text on a page, well actually > i want to wrap text strings on a page with a span tag > > so for example > > this is some text > > Would become > > this is some text

[Moo] replaceing a text string

2011-03-28 Thread Steve Onnis
can anyone suggest an easy way to replace some text on a page, well actually i want to wrap text strings on a page with a span tag so for example this is some text Would become this is some text

RE: [Moo] Element.hasEvent() is gone?

2011-03-25 Thread Steve Onnis
I don’t see Element.hasEvent anywhere in there. I think it would be better that addEvent did not allow duplicate events being added to it. Each event should be unique and should check to see that the function being added to the element doesn’t already exist From: Christoph Pojer [mailto:chr

[Moo] Element.hasEvent() is gone?

2011-03-25 Thread Steve Onnis
I recall seeing that there used to be an Element.hasEvent() method but it doesn't seem to be in the 1.3.1 framework. Any suggestions on how i can test to see if an element has a particular event function already attached to it? Steve

RE: [Moo] Re: erase from array not working

2011-03-23 Thread Steve Onnis
: erase from array not working It returns an Array if the Input is an Array ... from the Docs: Returns: (array) If the variable passed in is an array, returns the array. Otherwise, returns an array with the only element being the variable passed in. On 23 Mrz., 12:41, "Steve Onnis&qu

RE: [Moo] erase from array not working

2011-03-23 Thread Steve Onnis
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 is working but not erase http://jsfiddle.net

[Moo] erase from array not working

2011-03-22 Thread Steve Onnis
Could someone have a quick look at this and maybe tell my why erase doesn't work? Include is working but not erase http://jsfiddle.net/r8LSc/ Thanks Steve

RE: [Moo] fx.morph.stop() missing?

2011-03-20 Thread Steve Onnis
This will work for you. http://jsfiddle.net/ME4MH/2/ little bit more complete -Original Message- From: hamburger [mailto:bilidi...@web.de] Sent: Sunday, 20 March 2011 11:07 PM To: MooTools Users Subject: [Moo] fx.morph.stop() missing? hello, I have a problem to stop a running morph proc

RE: [Moo] Re: jquery everyTime

2011-03-02 Thread Steve Onnis
You would create a method in your class...something like getCounter which would return a value. When you do stuff like that you are reference an instance of a class so it only returns the class, not an specific value. -Original Message- From: hamburger [mailto:bilidi...@web.de] Sent: T

RE: [Moo] How to programmatically stop Drag?

2011-02-28 Thread Steve Onnis
You could add this to the handle of the drag object el.addEvent("mouseup", function () {if(drag) {drag.stop()}); -Original Message- From: Tuukka Mustonen [mailto:tuukka.musto...@gmail.com] Sent: Tuesday, 1 March 2011 12:06 AM To: MooTools Users Subject: [Moo] How to programmatically stop

RE: [Moo] Implementing CSS Property watcher.

2011-02-25 Thread Steve Onnis
John I don't believe you will be able to do that across frameworks. Thats just like saying if you added an event to an element that you would expect any js framework you have included on the page, all those frameworks would trigger the event without having to set up the event watcher in each f

RE: [Moo] Silly Debait

2011-02-25 Thread Steve Onnis
There are a few things i wouldn't mind raising though such as load times as i find it interesting that they say mootools takes longer to load in the browser. Is that a result of the way things like Element are extended? I would have to agree about the UI side of things and that jQuery has more UI

RE: [Moo] foo? XHTML support in MooTools

2011-02-18 Thread Steve Onnis
Whats testNode.innerHTML = 'foo'; ? Whats testNode refer to? -Original Message- From: Garret Wilson [mailto:gar...@globalmentor.com] Sent: Saturday, 19 February 2011 1:08 PM To: MooTools Users Subject: [Moo] foo? XHTML support in MooTools I thought about the nightmare of building my own

RE: [Moo] adding features to hasClass()

2011-02-18 Thread Steve Onnis
Yeah why do you need to split it into an array? Or even use an regExpr ? CSS class names should be case sensitive anyway so i cant see why gool ol indexOf() shouldn't be enough to see if a class name is in there. After all you are just dealing with a string here From: Arian Stolwijk [mailto:ar.

RE: [Moo] Re: Native JSON encoding and decoding.

2011-02-15 Thread Steve Onnis
I agree Methods should mean something and reflect what they actually do, not be given names cause they sound cool or whatever. I mean what the frig is "stringify" ? From: Sean McArthur [mailto:sean.mons...@gmail.com] Sent: Wednesday, 16 February 2011 5:24 PM To: mootools-users@googlegroups

RE: [Moo] Re: Bind and Event - What am I doing wrong?

2011-02-13 Thread Steve Onnis
You cant bind events now with 1.3 as it has been removed from the core. You need to implement it yourself againyes stupid i know. Had this discussion last week with them all -Original Message- From: Dailce [mailto:i...@rogers.com] Sent: Monday, 14 February 2011 4:12 PM To: MooTools U

RE: [Moo] Re: BindWithEvent deprecated?

2011-02-08 Thread Steve Onnis
not on the Core team, so it's not up to me), but I doubt it. Again, this doesn't affect you; you can use it all day long whether we put it in Core or not. Aaron On Tue, Feb 8, 2011 at 8:34 PM, Steve Onnis wrote: I really have to disagree with this statement Aaron. If you are goi

RE: [Moo] Binding with events

2011-02-08 Thread Steve Onnis
Function.bind is part of JavaScript in modern environments, you may want to reconsider overwriting it. https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Functio n/bind On Feb 8, 2011, at 10:33 PM, Steve Onnis wrote: Well looking at the bindWithEvent method and the bin

RE: [Moo] Binding with events

2011-02-08 Thread Steve Onnis
t('click', this.someMethod.curry('foo').bind(this)); On Tue, Feb 8, 2011 at 8:29 PM, Steve Onnis wrote: As much as that might work, its not very elegant. If i am going to do that i may as well just add the bindWithEvent method back into the code base Thanks though

[Moo] Re: BindWithEvent deprecated?

2011-02-08 Thread Steve Onnis
I really have to disagree with this statement Aaron. If you are going to remove functionality then that functionality should be either absorbed by other functionality or replaced by something that can acheive the same result. This is a prime example. You have bind() and bindWithEvent(). They bot

RE: [Moo] Binding with events

2011-02-08 Thread Steve Onnis
Subject: Re: [Moo] Binding with events var that = this; myEl.addEvent('click', function(evt) { that.myMethod(evt, 'foo'); }); On Tue, Feb 8, 2011 at 7:55 PM, Steve Onnis wrote: Thanks for that...but doesn't answer the question unless you are saying that th

RE: [Moo] Binding with events

2011-02-08 Thread Steve Onnis
to:sa...@cypressintegrated.com] Sent: Wednesday, 9 February 2011 2:45 PM To: Steve Onnis Subject: Re: [Moo] Binding with events Roman opened the thread "BindWithEvent deprecated?" -- search the archives. -- S. === Email scanned by PC Tools - No viruses or spyware found. (Email Guard: 7.0.0.21

[Moo] Binding with events

2011-02-08 Thread Steve Onnis
I notice now in 1.3 that the bindWithEvent as been depreciated. How do you bind to an even then? For example, if i add a click event to an element and i need to bind it, how do you pass the event back in to stop the event? In the past i have done something like... Link.addEvent("cl

RE: [Moo] Fade out issue with IE, possible bug

2011-02-02 Thread Steve Onnis
Is looping fine here...though it does not fade...it just flashes -Original Message- From: raider [mailto:raid...@hotmail.co.uk] Sent: Thursday, 3 February 2011 1:16 PM To: MooTools Users Subject: [Moo] Fade out issue with IE, possible bug I'm getting a strange problem with a fade out eff

RE: [Moo] Re: Fx.Morph and HTML5 elements / Firefox

2011-02-02 Thread Steve Onnis
Is FireFox HTML5 compatible? Thought only Chrome/Safari were -Original Message- From: nbinder [mailto:nikolaus.bin...@googlemail.com] Sent: Thursday, 3 February 2011 9:46 AM To: MooTools Users Subject: [Moo] Re: Fx.Morph and HTML5 elements / Firefox I have to take a closer look tomorrow

RE: [Moo] fire an even when an image has loaded without using Assets

2011-02-01 Thread Steve Onnis
If i am going to do it like that i may as well use the Assets stuff. There are 100's of images and i don’t want to be doing that for every image -Original Message- From: Tim Wienk [mailto:timwi...@gmail.com] Sent: Wednesday, 2 February 2011 1:46 AM To: mootools-users@googlegroups.com Sub

RE: [Moo] fire an even when an image has loaded without using Assets

2011-02-01 Thread Steve Onnis
It is within an ajax call so i am doing it on the html that gets returned from the calland yes evalScripts = true -Original Message- From: Tim Wienk [mailto:timwi...@gmail.com] Sent: Wednesday, 2 February 2011 1:26 AM To: mootools-users@googlegroups.com Subject: Re: [Moo] fire an eve

RE: [Moo] fire an even when an image has loaded without using Assets

2011-02-01 Thread Steve Onnis
as loaded without using Assets Have you tried addEvent('load', function(){ ... }) On 01/02/2011 14:55, Steve Onnis wrote: Is it possible to fire an even when an image has loaded without using the Assets library? I just want to run a function onload for images. Failing that...a

[Moo] fire an even when an image has loaded without using Assets

2011-02-01 Thread Steve Onnis
Is it possible to fire an even when an image has loaded without using the Assets library? I just want to run a function onload for images. Failing that...an easy way to do it with Assets. I don't need to define individual image Asset items as all images will use the same onload function

  1   2   3   4   >