Ressources jQuery/CSS pour vos sites web. Pour être toujours au top lors de la création d’un webdesign ou pendant le développement, je vous ai préparé une petite sélection de ressources fraîches et utiles à base de jQuery et CSS. Les métiers de webdesigner et intégrateur (appelé plus souvent développeur front-end) sont aujourd’hui exercés en majorité par deux personnes différentes. En généralisant, on peut dire que cette affirmation est valable aujourd’hui principalement dans le monde des agences. Dans cette configuration, lors de la conception d’un projet, nous sommes souvent amenés à choisir un plug-in, une astuce, une ressources en ligne pour rendre notre site unique et nous faire gagner du temps. Dans le but de vous aider à trouver les dernières ressources qui font parler d’elles sur le web, je vous propose une petite sélection.
Au programme, du responsive, des animations, du fullscreen, bref de quoi réaliser un site dans les tendances actuelles. Inspirez-vous, testez et bien-sûr donnez-moi votre avis ! Sly Flexisel Snap.js. jQuery : écrivez moins pour faire plus ! - Javascript. Guggenheim - Une galerie Javascript avec tri et filtres dynamiques. 23 Fresh And Excellent jQuery Tutorials.
Javascript. 5 plugins jQuery libres à avoir pour les concepteurs Web. jQuery est une bibliothèque JavaScript très populaire qui encourage les développeurs à « écrire moins, et en faire plus » ! Il s’agit de l’un des moyens les plus faciles pour commencer à puiser dans la puissance du langage JavaScript sans être écroulé par un tas de code compliqué. En d’autres termes, il s’agit d’une boîte à outils accessible pour n’importe qui ayant une expérience avec les langages HTML et CSS, mais il est tout aussi utile dans les mains d’experts. Il semble y avoir une réserve inépuisable de plugins jQuery tout autour du Web, mais quelques-uns ont, pour lesquels j’ai pu tester leur utilité récemment, porté toute mon attention.
Voici une liste de cinq plugins pour lesquels vous pouvez devez les utiliser dans un projet, ou du moins y jeter un œil ! jQuery Scroll Path est carrément incroyable. Découvrez les explications de ce plugin sur le blog du développeur ou testez sa démo ! Note : À noter que toutes les images utilisées doivent être de la même taille. Understanding MVVM – A Guide For JavaScript Developers. MVVM (Model View ViewModel) is an architectural pattern based on MVC and MVP, which attempts to more clearly separate the development of user-interfaces (UI) from that of the business logic and behaviour in an application. To this end, many implementations of this pattern make use of declarative data bindings to allow a separation of work on Views from other layers. This facilitates UI and development work occurring almost simultaneously within the same codebase.
UI developers write bindings to the ViewModel within their document markup (HTML), where the Model and ViewModel are maintained by developers working on the logic for the application. History MVVM was originally defined by Microsoft for use with Windows Presentation Foundation (WPF) and Silverlight, having been officially announced in 2005 by John Grossman in a blog post about Avalon (the codename for WPF). It also found some popularity in the Adobe Flex community as an alternative to simply using MVC. Model View ViewModel: View: Ressources : Visualisation de Données avec Javascript - ressource-javascript.
Aujourd'hui sur le Blog du Webdesign, découvrez une collection de script javascript dédiés au charting. Parce que nous vivons entourés de données, voilà une sélection d'outils pour transformer quelques chiffres ternes en des graphiques fort sympathiques. Moowheel est certes un peu vieux et semble abandonné depuis 2008. Néanmoins, je le trouve très intéressant graphiquement. site: Connaissez-vous Raphaël? Site: Basé comme son nom l'indique sur Raphaël, gRaphaël fournit des charts statiques ou animées, simples mais efficaces. site: Dans la lignée des visualisations créées avec raphaëljs, voilà Morris, pourvu de jolis survols et d'un nom de toute beauté. Site et demo: Protovis est une library dont le développement a été arrêté.
Arctext.js - Curving Text with CSS3 and jQuery. While CSS3 allows us to rotate letters, it is quite complicated to arrange each letter along a curved path. Arctext.js is a jQuery plugin that let's you do exactly that. Based on Lettering.js, it calculates the right rotation of each letter and distributes the letters equally across the imaginary arc of the given radius. View demo Download source While CSS3 allows us to rotate letters, it is quite complicated to arrange each letter along a curved path.
Arctext.js is a jQuery plugin that let’s you do exactly that. How it works The main idea behind the Arctext plugin is to rotate letters with CSS3 transforms in order to place them along a curved path. Options The following options are available: 10 Javascript Text Effects. There are many ways to enhance web typography, we used to use flash replacement script such as sIFR to change the font face by using flash embed, but the drawback is it’s using flash to replace existing font and it could slow down webpage. Now we moved on to font embedding service such as Typekit and the free Google font.
We love this solution because it’s easy to use and integrate into existing website. So, what if you want something a little bit more cooler without using those web services? Or perhaps, you can spice things up a little more by combining those fancy fonts you can find from web services and combine it with these cool javascript effects. In this post, we have collected 10 Javascript text effects. Depend on how you want to show it, just don’t abuse it because it can be quite irritating if overused. letteringjs A jQuery plugin for radical web typography Airport Airport is a rather simple text effect plugin for Jquery. About Kevin. JeComprendsPas.com - Tutoriels et formations, informatique, bure.
Animated CSS3 Calendar. JQuery Translate plugin – Google API based | Ajaxor. 25 jQuery Plugins to help with Responsive Layouts. The most popular topic of discussion at the moment is undoubtedly responsive layouts in web design. Without going into it too much, a responsive layout allows you to offer a specific and optimised screen size based on whatever device (mobile, tablet…) the visitor uses. You would typically use Media Queries to resize the overall layout, but what about all of those individual elements and features that make your page unique? Navigation, forms, images, sliders, carousels… they all need to be optimised as well. That is were this post comes in, by highlighting 25 jQuery plugins that will help you optimise and resize those trickier web elements.
Response.js Response JS is a lightweight plugin that gives you the tools for producing performance-optimized, mobile-first responsive websites. Response.js Responsly The Responsly plugin is a set of simple responsive widgets written using CSS3 transformations. Responsly Menu to a Dropdown for Small Screens Menu to a DropdownDemo Responsive Menu Doubletake. JavaScript++: New, Powerful Language for Better Web Development. New methods in jQuery 1.6 | Web development blog, news and reviews - Developer Drive. jQuery is an actively-developed JavaScript library with a fairly rapid release cycle. As well as general enhancements, performance tweaks and bug fixes, new methods are frequently added to the library. In this article we’ll take a look at the new methods that have been added to the 1.6+ release and some of the enhancements. Delaying the ready event with the holdReady() method The holdReady() method is used to delay the firing of jQuery’s ready event, a cornerstone event which is popularly used to execute custom code once the DOM is ready to be manipulated.
As of jQuery 1.6 we can now postpone the triggering of this event for an arbitrary length of time in order to wait for other conditions to be satisfied, such as the loading of a plugin. It’s a dual-purpose method, as is the jQuery way, and can be used to both delay the event and release the event using the same simple signature. jQuery.holdReady(true); jQuery.holdReady(false); Adding and removing element properties Promise objects Summary. JsMorph - javaScript motion framework. How to use Media Queries in JavaScript. Responsive design is one of the most exciting web layout concepts since CSS replaced tables. The underlying technology uses media queries to determine the viewing device type, width, height, orientation, resolution, aspect ratio, and color depth to serve different stylesheets. In the following example, cssbasic.css is served to all devices.
But, if it’s a screen with a horizontal width of 500 pixels or greater, csswide.css is also sent: The possibilities are endless and the technique has recently been exploited by sites such as The Boston Globe, Spark Box and Food Sense. Change the width of your browser to discover how the layout changes. It’s easy to adapt the design or resize elements in CSS. It’s possible to analyze the viewport size in JavaScript but it’s a little messy: Detecting screen dimension changes is also possible with window.onresize. Even if you successfully detect viewport dimension changes, you must calculate factors such as orientation and aspect ratios yourself. Essential jQuery Plugin Patterns - Smashing Coding.
Advertisement I occasionally write about implementing design patterns1 in JavaScript. They’re an excellent way of building upon proven approaches to solving common development problems, and I think there’s a lot of benefit to using them. But while well-known JavaScript patterns are useful, another side of development could benefit from its own set of design patterns: jQuery plugins. The official jQuery plugin authoring guide2 offers a great starting point for getting into writing plugins and widgets, but let’s take it further. Plugin development has evolved over the past few years. We no longer have just one way to write plugins, but many. In reality, certain patterns might work better for a particular problem or component than others. Some developers may wish to use the jQuery UI widget factory3; it’s great for complex, flexible UI components.
I began to think about plugin patterns after noticing a number of efforts to create a one-size-fits-all jQuery plugin boilerplate. Patterns. Portamento - easy sliding/floating panels in jQuery. Portamento is a jQuery plugin that makes it simple to add sliding (aka "floating") panel functionality to your web page. All that's needed is some simple CSS and one line of JavaScript, and you're away! It works fine with floated and absolutely-positioned layouts, in all modern browsers and some not-so-modern ones too. Portamento also has sensible behaviour if the user's viewport is too small to display the whole panel, so you don't need to worry about users not being able to see your important content.
Demos In the Wild Portamento is being used on real websites, right now. Take a look: Croydon Creatives Usage Using Portamento is easy. Options You can customise Portamento with the following options: wrapper - the element that you want to visually contain the sliding panel. Gap - the number of pixels to leave between the top of the viewport and the top of the sliding panel. DisableWorkaround - disable the workaround for not-quite capable browsers. What browsers will Portamento work with? jQuery Pagination revised - Code is Poetry. There are many nasty pagination implementations and certainly sooner or later I've also written such a cruelty. That's why I've been working on a generalized solution for long in order to combine the variety of needs that are imposed on such a navigation to finally put an end to blocks of code that are copied from one project to another with the consequence that it gets no longer understood over the time.
The result of these efforts is my third jQuery plugin that has another big advantage over server side pagination; by generating the links virtually on the client, the risk of duplicate content drops and the need of ugly follow, noindex link attributes left unnecessary. The pagination plugin also combines a varity of features. It can be used to divide long lists or areas of content into multiple seperate pages, load paged content with pre-calculated database offset-parameters via Ajax and anything with full control to adapt the style properly to your site-layout. Basic usage Examples <?
Clear default text in input boxes on click with jQuery. Essential JavaScript Design Patterns For Beginners. Design patterns are reusable solutions to commonly occurring problems in software design. They are both exciting and a fascinating topic to explore in any programming language. One reason for this is that they help us build upon the combined experience of many developers that came before us and ensure we structure our code in an optimized way, meeting the needs of problems we're attempting to solve. Design patterns also provide us a common vocabulary to describe solutions.
This can be significantly simpler than describing syntax and semantics when we're attempting to convey a way of structuring a solution in code form to others. In this book we will explore applying both classical and modern design patterns to the JavaScript programming language. Target Audience This book is targeted at professional developers wishing to improve their knowledge of design patterns and how they can be applied to the JavaScript programming language.
Acknowledgments Credits Reading We already use patterns everyday. Orbit and Reveal: jQuery Plug-Ins For Image Sliders and Modal Windows - Smashing Magazine. Advertisement A visitor comes to your website all giddy to learn more about your product, when suddenly a snazzy slideshow loads with some snap. Impressed, they go to register and are greeted by a most elegant modal window. At this point they are finally overjoyed by the velociraptor that suddenly charges across their screen. They don’t know why but they like it. Crafting a polished and unique experience for your users is becoming ever more critical as the Web gets more overloaded. Standing out is hard. To the rescue come frameworks such as jQuery, which offer a modular, highly customizable experience for your visitors. Today, we are thrilled to introduce two new jQuery plug-ins that were developed exclusively for Smashing Magazine readers to liven up your developer tool belts: Orbit, a new slider; and Reveal, a modal plug-in.
Why Create Our Own? Quickly, before diving into the details, some background would be helpful. Have a look at a couple of our previous articles: The Code Neato Options. For Your Script Loading Needs. As JavaScript usage has skyrocketed over the last few years, so has the sheer number of scripts that are being loaded in an average web page. With these script tags comes a lot of baggage, such as blocking and lack of dependency management. Today, I'd like to bring your attention to a number of JavaScript loaders, which are mini toolkits that significantly simplify how you add and load scripts. The Problem with Simple Script Tags They Block the Page The page stops 'happening' while the script is downloaded. JavaScript files loaded using the script tag are blocking by nature. No Easy Way to Manage Dependencies Lack of dependency management is a big drawback.
Next up comes the issue of handling dependencies. Available Choices The initial idea for this round up was sparked by a post over at Hacker News about making a list of JavaScript script loaders, roughly a month ago. Now that sufficient time has passed, I think that list is going to be quite massive. HeadJS Author: Tero Piirainen Size: 6.3 KB. Créer un menu déroulant “accordéon” avec jQuery.