Archive for the 'Mootools' Category
Всплывающие подсказки
Posted on Февраль 20, 2012 - Filed Under Mootools | Leave a Comment
Создать всплывающую подсказку с собственным стилем очень просто. Она будет появляться при наведении курсора мыши на выбранный объект. Для данного примера используем библиотеку Mootools.
Request.JSON в Mootools разных версий
Posted on Ноябрь 21, 2011 - Filed Under Mootools | Leave a Comment
Старый вариант кода (MooTools v1.2): new Request.JSON({ onFailure: showError, onSuccess: showArticle, url: ‘index.php’, data: { content: ‘article’, id: 1 } }).post(); Новый вариант кода (MooTools v1.3): new Request.JSON({ onFailure: showError, onSuccess: showArticle, url: ‘index.php’ }).post({ content: ‘article’, id: 1 });