Knowledge of Mootools Skills Test
$type(/abc/) returns ___.
Assume that c1 element is the child of p1 element, how many times is the mouseenter event fired if the mouse moves from outside to p1 element, then over the c1 element?
Complete the sentence with the correct option. A class can inherit other class by using ___ property.
Consider the body of a document below: <p>This is «p»This is mootools«/p»mootools too</p> <p>This is mootools</p> <p>This is Mootools</p> <script type="text/javascript"> al...
Consider the following code snippet: $$('div.e1').setStyle('background-color', 'yellow').addClass('floatBox'); How many times is each div element with e1 class iterated?
Consider the following code snippet: alert(1.1.floor()); Which of the following is displayed in the alert box?
Consider the following code snippet: function function1 () { var a = document.getElementById(); return a; } alert(function1.attempt()); What does the alert box display?
Consider the following code snippet: fx = new Fx.Tween($('id1'), { onComplete: function() { alert("Finish"); } }); fx.set('opacity', 0.5); Does the onCompl...
Consider the following code snippet: new Fx.Tween($('id1')).start('opacity', 0, 1); Does the transition happen if the current opacity value of id1 element is 1?
Consider the following code snippet: new Fx.Tween($('id1')).start('opacity', 1); Does the transition happen if the current opacity value of id1 element is 1?
Consider the following code snippet: String.implement({log: function(){console.log(this)}}); What does this code snippet do?
Consider the following code snippet: var a = ['1', '2', '3']; var b = 4; a.include(b); What is the result of a?
Consider the following code snippet: var a = ['Dog', 'Cat', 'Chicken']; a.combine(['Dog', 'cat']); What is the result of a?
Consider the following code snippet: var a = [0, 3, 5].some(function(value) {return value % 3;}); What is the value of a?
Consider the following code snippet: var a = $$('div'); var b = a.filter('.blue'); What is the result of b?
Consider the following code snippet: var a = $arguments(1); alert(a('a','b','c')); What does the alert box display?
Consider the following code snippet: var a = 256; var b = a.limit(0, 100); alert(b); What does the alert box display?
Consider the following code snippet: var a = Function.from(1.1); alert(a(10)); Which of the following does the alert box display?
Consider the following code snippet: var a = function(arg1) {console.log(arg1.toString());}; var b = a.pass('a'); b(); What does this code snippet write into console?
Consider the following code snippet: var a = new $H({"a": 1, "b": 2}); var b = a.toQueryString(); What is the result of b?
Consider the following code snippet: var a = new Fx.Morph($('id1'), {link: value}); Which value of "value" in this code snippet makes the new transitions stop the current transition?
Consider the following code snippet: var arr1 = {a1: 8, a2: 7}; var arr2 = {a3: 6, a4: 5}; var arr3 = {a1: 4, a3: 3}; var arr4 = $merge(arr1, arr2, arr3); Which of the following i...
Consider the following code snippet: var global = 1; var a = new Chain(); a.chain( function(){ global++;}, function(){ global++;} ); a.callChain(); a.callCh...
Consider the following code snippet: var rq1 = new Request('request1'}); var rq2 = new Request('request2'); var rq3 = new Request('request3'); var group = new Group(rq1, rq2, rq3);...
Consider the following code snippet: var a = new Drag.Move($('id1'), {droppables: $('.droppables'), container: $('container'), handle: $('handler')}); Where can the id1 element drop into?
Consider the following code snippet: var animals = ['Cow', 'Pig', 'Dog']; var sounds = ['Moo', 'Oink', 'Woof', 'Miao']; var result = sounds.associate(animals); What will alert(result.Miao) functi...
Consider the following: $('id1').load("data"): What does the code snippet do?
Fill in the blank with correct word. Fx Events: onChainComplete: The function onChainComplete of Fx.Events is executed after ___ effect(s) in the chain have completed.
Fill in the blank with the correct option: By default, the class Tips use the element's ___ to display tooltip.
Fill in the blank with the correct option. The ___ function will be executed each time an instance of a class is created.
Fill in the blank with the correct phrase: function1.bind(object1) function replaces ___ in function1 by object1.
Fill in the blank with the correct value: The Drag class enables the modification of ___ CSS properties of an Element based on the position of the mouse while the mouse button is down.
Fill in the blank with the correct value: The maximum number of arguments of onSuccess event of Request.HTML is ___.
Fill in the blank with the correct word: fireEvent function executes all events of the specified type present in the ___.
Fill in the blank with the correct word: Function.attempt function tries to execute a number of functions. Returns immediately the return value of the first ___ function without executing successi...
Fill in the blank with the correct word: Implements is similar to Extends, except that it adopts properties from one or more other classes ___ inheritance.
Fill in the blank with the correct word: The onComplete event is fired if the request ___.
Fill in the blank with the correct word: JSON.encode function converts any ___ into a JSON string.
Fill in the blank with the correct words: getRandom(); will get a random ___ from the ___.
getSize() method returns width and height of an element, which value is counted in the height of the return value of getSize() function?
Is Fx.Morph class allows you to execute animation of more than one property at the same time?
State whether the following statement is True or False: "The Flash file must use ExternalInterface class to register its functions to make these functions available to JavaScript so that these fun...
What does $('div'); return if there is no element with "div" id?
What does $('div'); return?
What does $$('a', 'b'); return?
What does Asset.image do?
What does e1.grab(e2, 'top'); do?
What does e1.inject(e2); do?
What does request.delete({name: 'mootools'}); do?
What does Swiff class do?
What does the code snippet do? e1.cloneEvents(e2);
What does the code snippet do? var css = Asset.css("css");
What does the following code snippet do? var img1 = new Element('img', {src:'img1.png'});
What does the following do? «font size=2» $('id1').href = "http://mootools.net"; «font »
What does the following do? request.put({name: 'mootools'});
What does the statement 'moo tools'.contains('t', ' '); return?
What is a valid value of $('e1').getStyle('width');?
What is the result of- alert($defined('«body»'));?
What is the valid direction of Fx.Slide?
Which method below inserts css class to an element?
Which method can you use to make a div resizeable?
Which method(s) below is valid request method(s)?
Which of the following classes can you use to create sortable elements?
Which of the following code snippets defines a class?
Which of the following functions can be used to load json data?
Which of the following functions removes cookie from the browser?
Which of the following functions stops propagation from child element to its parents?
Which of the following is a valid mootools table class?
Which of the following methods can you use to apply a collection of styles to an element?
Which of the following methods can you use to make an element draggable?
Which of the following methods removes an element from a Hash object?
Which of the following statements change the background color of id1 element to yellow?
Which option of Fx.Morph class can use to change the transition type?
Which options below change the href of a1 anchor link to http://www.google.com?