background preloader

jQuery Tutorial

jQuery Tutorial
Related:  jQuery & JavaScriptPythonJavascript

6 Practical Examples For Building Parallax Websites Danny Markov Websites with scroll animations are all the rage these days. This is why today we’re going to show you a few practical examples for building them. You can think of this article as a collection of building blocks which you can mix and match into an impressive interactive web page. The Basic Idea The usual way that these websites are built is by using a JavaScript library. To use Scrollr, you only need to download it’s source and create a link to it in your HTML. <script src="assets/skrollr.min.js"></script><script> skrollr.init(); </script> The library is very powerful and you can create all kinds of scroll animations with it. Parallax Website Want to learn how it was made? Introduction to Scrollr Once you have the Scrollr library in your page, you add data attributes to the elements you wish to animate while the page is scrolled. We have a simple div with a pair of attributes. Using these data attributes, you can create all kinds of interesting effects. 1. Parallax Intro 2. 3.

Мега-Учебник Flask, Часть 1: Привет, Мир! Это первая статья в серии, где я буду документировать мой опыт написания веб-приложения на Python, используя микрофреймворк Flask. Здесь список всех статей в серии:Часть 1: Привет, Мир! Часть 2: ШаблоныЧасть 3: Формы Часть 4: База данныхЧасть 5: Вход пользователей Часть 6: Страница профиля и аватарыЧасть 7: Unit-тестированиеЧасть 8: Подписчики, контакты и друзьяЧасть 9: ПагинацияЧасть 10: Полнотекстовый поискЧасть 11: Поддержка e-mailЧасть 12: РеконструкцияЧасть 13: Дата и времяЧасть 14: I18n and L10nЧасть 15: AjaxЧасть 16: Отладка, тестирование и профилированиеЧасть 17: Развертывание на Linux (даже на Raspberry Pi!) Моя предыстория Я разработчик ПО с двузначным числом лет опыта разработки комплексных приложений на нескольких языках. Приложение Приложение, которое я собираюсь разрабатывать как часть этого руководства, является сервером микроблогов, и я решил назвать его microblog. Во время нашего прогресса я затрону следующие темы: Как видите, я весьма значительно берусь за все это. . Мигель

Raphaël—JavaScript Library jQuery GitHub - jlmakes/scrollreveal: Easy scroll animations for web and mobile browsers. Django Django is a widely-used Python web application framework with a "batteries-included" philosophy. The principle behind batteries-included is that the common functionality for building web applications should come with the framework instead of as separate libraries. For example, authentication, URL routing, a templating system, an object-relational mapper (ORM), and database schema migrations (as of version 1.7) are all included with the Django framework. Compare that included functionality to the Flask framework which requires a separate library such as Flask-Login to perform user authentication. The batteries-included and extensibility philosophies are simply two different ways to tackle framework building. Why is Django a good web framework choice? The Django project's stability, performance and community have grown tremendously over the past decade since the framework's creation. There's some debate on whether learning Python by using Django is a bad idea. Django books and tutorials

SVG Animations Using CSS and Snap.svg Today I wanted to share with you the ease of animation in SVG with the tools we have available to us today. SVG is still one of those subjects that can scare away a lot of developers, but I'm here to show you hopefully just how easy it can be. While doing my usual search on the internet for inspiration, I came across this great post on From Up North. As you can see, there are some beautiful illustrations by Miguel Sousa aka Heymikel, Snack Studio, Martín Feijoó & Sara Enríquez. As soon as I saw the animations, the first thing that came to mind was how these could be made into SVG animations to be used freely on the internet. Let's get to it There are a few different implementations, some with the focus more on the Snap.svg side of things, then also combining both Snap.svg and CSS animations. Preparation The first part of any SVG project should be spent optimising your SVG's, hopefully in your case you have either created them yourself or will have a nice SVG supplied by your design team.

jQuery UI Masonry et Infinite Scroll sous WordPress sans plugin Masonry et Infinite Scroll sont 2 scripts jQuery qui permettent respectivement de gérer des hauteurs de contenus différentes – pour une disposition en colonnes de vos articles, et d’afficher les pages suivantes sans rechargement de page – au clic sur un bouton ou par simple défilement à la manière de Facebook ou encore Twitter. Face à l’absence de tutoriel complet sur l’intégration de ces 2 scripts jQuery sous WordPress, je vous ai concocté un tutoriel complet – ou presque, sur le sujet. N.B : ce tutoriel est réservé à des utilisateurs avancés. Démonstration du résultat final J’ai appliqué l’ensemble des technique énoncées ci-après pour l’affichage de toutes les pages d’archives de WordPress Channel : accueil, catégories, recherche… toutes je vous dis ! Un autre exemple intéressant et pertinent sur le site Prévention Santé de la collègue Déborah Donnier. N’hésitez pas non plus à redimensionner la fenêtre du navigateur et admirer l’animation qui replace les éléments avec fluidité.