Archive for 'MooTools'

A beginner’s mootools – create draggable and resizable elements

The today tutorial will try to explain how to make an element draggable or resizable – or even both in the same time, using the MooTools framework. To accomplish this we’ll make use of two functions existent in mootools: makeDraggable() and makeResizable().
This is very simple.We simply select the element we want to be resizable [...]

A beginner’s mootools – select and create elements

In previous tutorial we learned how to add events to elements in webpage. In this one we will learn how to select elements – or better said how to access an element from page, and how to create new elements in page.
In mootools we have two functions that select an element:
function $ – [...]

A beginner’s mootools – add events

We will try to make a little set of tutorials how to use mootools framework for almost absolute beginners. You will need to know basic javascript. The documentation for mootools framework is a little hard to understand and requires more advanced javascript knowledges.
But…… every webdesigner (and of course beginners first) wants a hassle free [...]