Show us your JSON you get with AJAX. Seems like JSON is broken.
On Tue, Dec 4, 2012 at 5:48 PM, dro66 wrote:
> hi.
>
> I try to use the JSON.decode (). to convert a value returned in AJAX mode.
> but I Firebug. returns this error:
>
> SyntaxError: missing: after property id
>
> if (window.JSON
Well, it's not even a general JavaScript error.
P.S. _pay/pay_start.php (I think the full path could be
/home2/myscenes/public_html/_pay/pay_start.php) doesn't exists.
On Tue, May 15, 2012 at 9:38 PM, Reginald Miller
wrote:
> Hi there, was wondering if anyone can help me. The website is
> www.my
ou to read good javascript books ;)
On Wed, Feb 29, 2012 at 3:36 PM, hamburger wrote:
> thx Slik,
> I see that it is working now.
> But I do not understand ...
>
> why is the function call sometimes with () sometimes without?
>
>
>
Because in the second case your code means 'window.shop.opening()',
and perhaps you haven't 'shop' variable in the global scope. Don't do
like that. It's 21st century already ;)
Try:
shop.opening.bind(shop).periodical(1000); // `bind` is not needed
always, it depends on your code
in your case it
https://github.com/mootools/mootools-core/wiki/Sites-using-MooTools
closures
On Fri, Apr 29, 2011 at 4:20 PM, Tim Wienk wrote:
> In short:
> A variable you create in one scope is available in all its child scopes:
>
> (function(){
> var something = 1;
> (function(){
> console.log(something); // Logs 1.
> })();
> })();
> co
Hi.
http://mad4milk.spreadshirt.net/
On Thu, Mar 17, 2011 at 5:01 PM, אריה גלזר wrote:
> I was looking at all these cool shirts at mootools' shopping cart demo and
> was wondering - is there an actual online shop selling these?
>
> --
> Arieh Glazer
> אריה גלזר
> 052-5348-561
> http://www.arieh.
Hi.
MooTools is taking care about storage:
https://github.com/mootools/mootools-core/blob/master/Source/Element/Element.js#L373
On Thu, Mar 17, 2011 at 1:10 PM, Mark wrote:
> Hey,
>
> Does anyone know what happens to an elements storage when the element
> id destroyed, will the storage stuff aut
Oh, you meant polymorphism. Try to use this
http://code.google.com/p/polymorph-js/
On Thu, Mar 10, 2011 at 1:01 PM, remram wrote:
> Hi everybody,
> I searched the web for a solution for my problem but I'm still
> unsuccessful. What I would like to do, is to do overloading my methods
> in my class
Star.implement('draw', function(){ /*new code here */ });
If you want to save old method, use Class.refactor from MooTools More:
Class.refactor(Star, {
draw: function(){
/* new code here */
this.previous(); // old draw method
/* new code here */
}
});
or just save
Hi.
I had the same problem. Problem was (in my case) in ART constructor.
http://jsfiddle.net/slik/twZqK/2/ - it doesn't show anything in IE.
http://jsfiddle.net/slik/twZqK/3/ - it works fine.
Difference - added canvas size to the ART constructor (see line with
"new ART()")
On T
Start from here https://github.com/mootools/mootools-core/wiki/How-to-Contribute
On Fri, Mar 4, 2011 at 6:01 PM, Roman Land wrote:
> Hi Guys,
>
> Looks like I can finally get around and contribute to mootools, where do I
> start?
>
> Cheers
> Roman
>
> --
> ---
> "Make everything as simple as pos
Holywar %)
That's because getChildren returns ElementS object (what means - an
array of elements).
http://jsfiddle.net/p6s9s/4/
On Wed, Feb 23, 2011 at 4:40 PM, woomla wrote:
> For some reason, getPosition returns an array in this example:
> http://jsfiddle.net/p6s9s/3/.
>
> Is this a bug?
> Or is the docu
http://jsfiddle.net/ndHdd/7/
On Wed, Feb 9, 2011 at 11:31 AM, Robert wrote:
> is there any way to read styles from class definitions?
> Here it is an example: http://jsfiddle.net/moort/ndHdd/
> I was thinking about making tween from one color to another - but I
> don't really know the real color
Also, when you will remove this tr/td pare, there will be another
error, that error throws because you selecting also tr from thead
also, where are no tds. So you also should add
if(!row.length) return;
to your each.
On Tue, Feb 1, 2011 at 2:27 PM, Slik wrote:
> You have one tr/td p
You have one tr/td pare outside tbody.
On Tue, Feb 1, 2011 at 2:16 PM, hamburger wrote:
> Hello,
> in the following code i get an error that row[1] is not definded.
>
> var rows = $('theTable').getElements('tr').getElements('td');
>
> rows.each( function(row,number){
> row.setStyle('di
nice work!
On Thu, Jan 20, 2011 at 1:06 PM, fuzzy spoon wrote:
> Hi guys!
>
> I love mootools and what it does for javascript, a long time browser user.
> A while ago i started a 2D game where i chose v8 engine as my scripting
> engine choice , so naturally mootools makes an appearance. The video
I presume (Browser.ie && Browser.version <= 6) should work
On Tue, Jan 18, 2011 at 6:52 PM, refreegrata wrote:
> Hello list. I need do something for the browser IE version <= 6. How
> Can detect this?
>
> In the documentation I see the boolean Browser.ie6, but what happens
> when the browser vers
As I see, you are implementing Events into your GoogleMapCreator.
So, would be better to use this.fireEvent instead this.click|dblClick|drag|etc()
On Tue, Dec 28, 2010 at 4:32 PM, Ciul wrote:
> Hi pals.
>
> This time I introduce you another script I've made to easy the use of
> GoogleMaps javascr
https://github.com/mootools/mootools-core/blob/master/Source/Element/Element.Event.js#L137
You can add unsupported event to the list
Element.NativeEvents.input = 1;
it will work if browser support this event
On Wed, Nov 24, 2010 at 11:41 AM, Maxim Lacrima wrote:
> Hi!
>
> I might be missing some
Works for me
On Wed, Nov 17, 2010 at 6:21 PM, rasmusfl0e wrote:
> Anyone else having trouble accessing mootools.net?
http://github.com/cpojer/mootools-mobile
also was mootouch, but http://mootouch.net now redirects to sencha.com
and Moobile project in work, but it's still closed
On Wed, Oct 6, 2010 at 1:46 PM, אריה גלזר wrote:
> Is there any ongoing work on a Mootools mobile extension? If so, where can I
> find
> I'm a mootools user for several years (since 1.2 release) and only now
> I realized that there is a private dev list. I wasn't able to ask an
> invite because I wasn't aware this list exists. So there is no entry
> point for average developer. What average developer would do if he
> want to know
I wrote small plugin for mootools more's delegation
http://jsfiddle.net/slik/vMeNG/
On Fri, Sep 10, 2010 at 6:09 PM, Savageman wrote:
> Hello,
>
> I would like to delegate some custom events. Is that possible?
>
> I have something like that:
>
> var $main = document.id
new Element('li', {id: 'aaa',html:'Nieuws uit uw
regio:'}).inject($$('#nav ul')[0], 'top')
On Tue, Aug 17, 2010 at 12:35 PM, frederik heyninck
wrote:
> I have this piece of code
>
> $$('#nav ul')[0].adopt(new Element('li', {id: 'aaa',html:'Nieuws uit
> uw regio:'}));
>
> And i want this li elemen
the div.
> 2) if you want a pointer to the link you added the event to, guess what, you
> already have one.
> var link = $('link');
> link.addEvent('click', function(){ $("debug").innerHTML = link.get('id');
> });
>
>
> On Wed, Aug 11,
i guees, he meant how to make target = link (yes, this = link) when
you clicking on divs
On Wed, Aug 11, 2010 at 6:12 PM, Ryan Florence wrote:
> I'm not understanding what you want / expect to happen.
>
> Click one of he divs and the event fires.
> Click the link, but not a div, and the event fir
http://jsfiddle.net/slik/ksk3j/2/
var sp was not in queryMedici's scope
Try
var sp = new Spinner(document.body); // or another element (btw,
document.body uses by default, as I know)
read http://mootools.net/docs/more/Interface/Spinner
post it to http://mootools.lighthouseapp.com/dashboard
On Mon, Jul 19, 2010 at 8:57 PM, brook wrote:
> Hey guys. I am trying to use 1.3 and URI (for which i am using 1.2´s
> more).
>
> 1) is this dumb, bad, or unnecessary?
> 2) its not working. i couldn´t use jsfiddle since this is a 1.3 issue
Cool :) Now we need autogeneration for config from javascript/php/python/etc :)
On Tue, Jul 6, 2010 at 11:30 AM, Andrea Dessì wrote:
> Hi all,
>
> MooContentAssist is my first plugin and it's still under
> development :)
>
> It adds a content assist functionality to textareas, what I'm trying
> t
Tried some days ago. Want games on moocanvas :)
On Tue, Jun 1, 2010 at 6:24 PM, Oskar Krawczyk wrote:
> Nope. It's Mtillmann's - http://github.com/Mtillmann
>
> Still, a very cool thing, can't wait to try it out.
> O.
> ___
>
> Oskar Krawczyk
> http://nouincolor.com
>
>
> On Tue, Jun 1, 2010 at 4
http://jsfiddle.net/Jm2Hb/19/
On Mon, May 31, 2010 at 6:29 PM, Michael Ficarra
wrote:
> "" (an empty string) is a falsy value. I think the original poster of
> the one-line version believed as I did that the nil function the OP
> was using was determining falsiness (which is pretty useless in the
http://wiki.github.com/mootools/mootools-core/how-to-contribute
On Mon, May 17, 2010 at 10:09 AM, Roman Land wrote:
> Hi,
>
> I would like to get involved with the mootools project, please let me know
> if / how I can help...
>
> Thanks,
> Roman
>
> --
> ---
> "Make everything as simple as possib
Just add it to your code:
Element.NativeEvents.webkitTransitionEnd = 1;
Element.NativeEvents.webkitAnimationEnd = 1;
And then you will can use mootools' addEvent
$('selector').addEvent('webkitTransitionEnd', function(){ /* blah blah
*/ });
$('selector').addEvent('we
You can try jxlib ( http://jxlib.org/ ), mif ( http://mifjs.net/ )
> On Tue, Apr 13, 2010 at 1:27 PM, keeger wrote:
>>
>> I really like the way mocha ui is laid out and the look of it.
>> However, I've noticed it's not really under active development, and I
>> hear it has bugs with IE 8.
>>
>> I'
;imageContainer').getElements('img').addClass('image' + x);
>
> Any collection of elements returned by MooTools is extended with the Element
> methods: http://mootools.net/docs/core/Element/Element#dollars
>
> On 11/03/2010 9:39 PM, Slik Jay wrote:
>>
>>
Try this
var X=0;
$('imageContainer').getElements('img').each(function(img) {
img.addClass('image'+X);
});
On Thu, Mar 11, 2010 at 3:27 PM, Aske wrote:
> Hi guys.
>
> Beginner question here, trying to add a class attribute "class" with
> the value "imageX", where x is a variable, to all img
today.set('day', 1); // ?
On Fri, Mar 5, 2010 at 11:58 PM, hazlema wrote:
> I'm using the more extensions for Date and found something
> interesting:
>
> today = Date.parse('3/5/2010');
> today.set("date") = 1;
>
> also tried:
> today.set("day") = 1;
>
> The docs suggest you are able to reset the
window.addEvent('domready', testDomready()); // wrong
window.addEvent('domready', testDomready); // good
On Mon, Mar 1, 2010 at 3:54 PM, Chrono wrote:
> Hello everybody,
>
> I have a strange behaviour in my dodument:
>
>
> ...mootools.js ...
>
>
> //
> function testDomready(){
>
Maybe FF supports method getParent directly, IE have not this method.
function $() creats it for IE
On Fri, Jan 15, 2010 at 5:12 PM, silent wrote:
> hi list,
>
> I found this piece of code works different in IE6 and firefox3.5:
>
> function hook(el) {
> // var sub_id = $('sub_id'); //
; // added 'extended' method
test:
http://mooshell.net/zUe8L/
On Wed, Dec 16, 2009 at 4:59 PM, Roman Land wrote:
> When you wrote:
> IExtend.implement(new dynamicClass);
>
> How did you know to use the "new .."?
>
> Thanks!
>
> On Wed, Dec 16, 2009 a
@Roman sorry, but I don't understand your question :)
On Wed, Dec 16, 2009 at 4:12 PM, Roman Land wrote:
> Thanks Fabio, but that didnt work =/
>
> Slik, although you solution worked I triend looking at the code but I dont
> understand how you knew to create an instance of the
>> I think you need Extends.
>>
>> http://mooshell.net/sHakv/1/
>>
>> --
>> Fábio Miranda Costa
>> Solucione Sistemas
>> Engenheiro de interfaces
>>
>>
>> On Wed, Dec 16, 2009 at 9:09 AM, Slik Jay wrote:
>>>
>>> Someth
Something*
On Wed, Dec 16, 2009 at 1:09 PM, Slik Jay wrote:
> http://mooshell.net/sHakv/
> Thomesing like this ?
>
> On Wed, Dec 16, 2009 at 12:52 PM, Roman Land wrote:
>> Hi,
>>
>> Is there any way to extend / implement a class while initializing it?
>>
http://mooshell.net/sHakv/
Thomesing like this ?
On Wed, Dec 16, 2009 at 12:52 PM, Roman Land wrote:
> Hi,
>
> Is there any way to extend / implement a class while initializing it?
> example:
>
> ExtendMe = new Class ({
> 'doIt': function() {'console.log('i did it')}
> })
>
> IExtend = new Clas
@Paul i wrote "error", i meant "errors" :) we all writes with typos
On Tue, Dec 15, 2009 at 5:39 PM, Paul Saukas wrote:
> sigh, Yah today is going to be rough ... Sorry Slik on the name typo :)
>
> On Tue, Dec 15, 2009 at 10:27 AM, Paul Saukas wrote:
>>
>
You have many error in your code. I fixed it http://mooshell.net/xhy6v/
On Tue, Dec 15, 2009 at 5:19 PM, Paul Saukas wrote:
> Ok, simple one for you all.
>
> No matter what I try i can not seem to get the value of a select box.
> Here is a quick example of what i am doing , be it right or wrong.
WebKit using all s as , that's WebKit's problem..
On Tue, Dec 15, 2009 at 3:47 PM, pbleuse
wrote:
>
> Hi all,
>
> nice to meet you :jumping:
>
> I think I have found issue with mootools core 1.2.4 :working:
> when you want use set, or setProperty for HTML tag to define 'type'
> attribute,
> Same
Just use uri.setData({'foo': 'bar'});
http://mooshell.net/T79Bu/
On Thu, Dec 10, 2009 at 5:18 PM, woomla wrote:
> Hi,
>
> When I execute the example in the documentation:
> myURI.setData('foo', 'bar'); //sets foo=bar in the query string
>
> I expect:
> http://mooshell.net/_display/light/omd.html
51 matches
Mail list logo