background preloader

jQuery

Facebook Twitter

Tutorials | Codrops - Page 6. Simple Multi-Item Slider with CSS Animations and jQuery. Thumbnails Preview Slider with jQuery. Animated Text and Icon Menu with jQuery. Circular Content Carousel with jQuery. Playing with SVG Design. After years of quarantine, the Scalable Vector Graphics is finally raising fame as a feature of HTML5 with full native browser support.

Vlog.it, by Marco Rosella, is an experimental site launched last month to explore two aspects of SVG with interesting potential for the design of original interfaces: clipping paths and scalable 2D motion graphics. Marco is going to share a quick tutorial on how it is done. View Demo Wheelayout Download Demo ZIP Overview The interface of vlog.it is composed by three rotating circle created by 48 thumbnails (chosen randomly) that let play over 300 Vimeos and over 1000 YouTube videos from my favorite ones. About the idea behind this work, if it was a commercial project I probably hold the client's hand and whisper: "close your eyes and think about the centrality of The Man, surrounded by The Movement in The Digital Universe Welcome back SVG An SVG interface example: the wheelayout (view demo) we will use it later. <div id="wheel"></div><header> ...

Javascript. Hakimel/reveal.js. Example Presentations · hakimel/reveal.js Wiki. Hakimel/reveal.js. jQuery Masonry. Пишем плагин для jQuery. Эта статья призвана дать представление об основных правилах, подходах, дающих наилучшие результаты, и распространённых ошибках, на которые стоит обратить внимание при разработке плагинов для jQuery. Приступая к работе Сперва создаём новое свойство-функцию для объекта jQuery, где именем нового свойства будет имя нашего плагина: jQuery.fn.myPlugin = function() { }; Но постойте, где-же привычный нам значок доллара, который мы все хорошо знаем? Он всё ещё здесь, а чтобы он не конфликтовал с другими библиотеками, которые тоже могут использовать символ доллара, рекомендуется «обернуть» объект jQuery в непосредственно выполняемую функцию-выражение (IIFE, Immediately Invoked Function Expression), которое связывает объект jQuery с символом "$", чтобы он не был переопределён другой библиотекой во время выполнения.

(function( $ ) { $.fn.myPlugin = function() { }; })(jQuery); Так лучше. Контекст Теперь у нас есть оболочка, внутри которой мы можем начать писать код плагина. $('#element').myPlugin(); Основы.

Raphaeljs