background preloader

Java Script

Facebook Twitter

Changer le style de la page à la volée avec le plugin JQuery Style Switcher. Le plugin JQuery Style Switcher (par Kevinluck) permet, comme son nom l’indique, de changer le style de la page. Le plugin donne donc la possibilité de changer la feuille de style attachée à la page sans aucun rechargement de la page. Il est donc facile de mettre en place des liens pour permettre à l’utilisateur de sélectionner le style qu’il veut.

Le plugin se permet même de créer un cookie pour enregistrer le style préféré du visiteur pour l’afficher par défaut lors de la prochaine visite ! Voir la demo de JQuery Style Switcher La mise en place du plugin JQuery est très simple. Pour cela il suffit comme à chaque d’importer le framework JQuery et le plugin dans la page, d’ajouter la classe « styleswitch » aux liens sur lesquels on souhaite appliquer le styleswitch. Il faut également penser à mettre en attribut « rel » du lien le nom du style que l’on va activer : <a href="#" rel="style" class="styleswitch">style 1</a><a href="#" rel="style2" class="styleswitch">style 2</a>

jQuery Form Framework - jFormer. 10 Useful jQuery Plugins for Images. We all know and love jQuery for its flexibility and many uses. But some of the most impressive jQuery applications are those that involve images. It really can allow you to do some useful stuff and even add a “wow” factor to your project. So here we’ve rounded up 10 jQuery plugins to help you display images in your next project. Slides Slides is a crazy simple slideshow plugin for jQuery. With features like looping, auto play, fade or slide transition effects, crossfading, image preloading, and auto generated pagination. Face Detection Face Detection is an impressive plugin that does just what its name suggests. AviaSlider AviaSlider is a jQuery slideshow plugin with unique transition effects. Fullscreenr So you want to have a background image on your website, which always fills the screen and maintains its aspect ratio?

Slidy jQuery Slidy is a plugin that generates a customizable transitions automatically. MobilyNotes jQuery Easy Slides Booklet MobilySelect Pikachoose About the Author Related Posts. Apprendre et comprendre jQuery – 1/3 • Tous les articles. Tutoriels jQuery Introduction rapide et en douceur à l’utilisation d’une des bibliothèques JS à la mode. Ou comment ajouter une couche d’interactions simplement et proprement à vos pages. NB : ce billet sera divisé en trois parties. Publié il y a déjà trop longtemps… Introduction jQuery est une bibliothèque JS développée principalement par John Resig. Par bibliothèque on entend donc un ensemble cohérent de fonctions permettant de s’affranchir des tâches rébarbatives et répétitives de façon uniforme sur les navigateurs les plus courants. Elle est sous licence GPL et MIT, et donc complètement réutilisable sur des travaux professionnels.

Les navigateurs supportés sont : Firefox 1.5+Internet Explorer 6+Safari 2.0.2+Opera 9+ La bibliothèque est utilisée par exemple sur des sites comme : DellGoogle CodeDiggNBCAmazonMozillaWordPressDrupalSPIPThe Zend Frameworketc Par ailleurs cette bibliothèque est compatible (elle n’entre pas en conflit) avec d’autres. Pré-requis Bases Appel <! Compression Une fonction etc. 13 Excellent jQuery Animation Techniques | Tutorials. Only a few years ago, if something was animated on a website it was automatically assumed to be Flash.

However, this is not the case today. With the growing popularity and wide spread use of JavaScript frameworks, sometimes you have to take a closer look to find out what is powering all of those smooth animations. With several JavaScript frameworks available, jQuery is quickly becoming a favorite. If you are interested in using jQuery for animated effects, here are 13 excellent tutorials to get you on your way. Building an Animated Cartoon Robot with jQuery Animate a hover with jQuery How To Create A ‘Mootools Homepage’ Inspired Navigation Effect Using jQuery CSS Sprites2 – It’s JavaScript Time Build An Incredible Login Form With jQuery Learning jQuery: Revealing Photo Slider Learning jQuery: Fading Menu – Replacing Content Using jQuery for Background Image Animations Animated Menus Using jQuery Create a Cool Animated Navigation with CSS and jQuery Animated Drop Down Menu with jQuery Related Posts.

Booklet Plugin. jQuery : écrivez moins pour faire plus ! 35+ jQuery slideshow and gallery tutorials, plugins and premium slideshow plugins. Subscribe by RSS or Email 35+ jQuery slideshow and gallery tutorials, plugins and premium slideshow plugins Posted In: Jquery, By Samir, 9 Comments advertisement More and more websites are adapting jQuery featured area for slideshows or gallery for a website. Most of it is used to show featured content, portfolio design or even for a news scroller. jQuery is a good technique to present content in real convenient and intuitive way unlike Flash. Visual display is always attractive than texts, as it is eye-catching and people relate to visual more than that to text. You can make your website happening with infinite carousel that uses striking retract effect. 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. Advertisement 16. jQuery plugins for slideshow and gallery 1. 2. 5. 6. 7. iCarousel – Horizontal images slider 8. 9. 10. 11. jQuery Carousel 12. jQuery Blinds 13. jqFancyTransitions slideshow with strip effects 14. 15. 16.

Premuim jQuery slideshow plugins @Codecanyon 1. 2. 3. 5. 7. Related Posts. jQuery simplyScroll - Logicbox. Jump to: [Features] [Examples] [Download] [Configuration] This product is no longer supported! It was originally created in 2008 and web technology and processing speeds have increased to the point where this scrolling technique is no longer necessary. Please use something else! SimplyScroll is a scroll-tastic jQuery plugin that can animate (scroll) content either automatically or manually, horizontally or vertically, backwards or forwards. New Features in v2 Auto-scroll in either direction RTL support, normalises browser RTL scroll implementations Touch support Now automatically supports unequal sized elements in loop mode Pause/play button option Features Supports scrolling horizontally and vertically both forwards and backwards Uses DOM ScrollTop/ScrollLeft for optimal performance Supports looped scrolling (infinite effect) Fully customisable via CSS & HTML Supports jQuery 1.2.6 and higher (tested up to 1.7.1) Works on all major browsers (including IE6/7!)

Examples Download Configuration. A Simple jQuery Slideshow. In the interest of following jQuery’s motto of “writing less and doing more,” let’s write a simple slideshow using jQuery, JavaScript and a bit of CSS. Download the complete slideshow hereRead the FAQs For starters, our main goal should be keeping the markup as clean as possible: Now let’s use CSS to position the images on top of each other and bring the active image to the top level with z-index: Due to absolute positioning, we need to define the height of the slideshow DIV. Also, notice that we defined three different z-indexes—we will manipulate these soon using jQuery. For the slideshow animation we are going to switch between each photo at a set rate.

Function slideSwitch() { var $active = $('#slideshow IMG.active'); var $next = $active.next(); $next.addClass('active'); $active.removeClass('active'); } $(function() { setInterval( "slideSwitch()", 5000 ); }); Here we set a JavaScript interval to call slideSwitch() every 5 seconds. Next we should incorporate a fade animation. 10 awesome flip plugins using jquery and css. Paper.js will be with us shortly. But now for a musical interlude: jQuery : Les bonnes pratiques. Parce que beaucoup de développeurs se frottant à jQuery ne l’utilise pas forcément comme il faut et se plaignent souvent des performances médiocres obtenues, il était temps de remettre l’église au centre du village. Ce mémo est une traduction de ce très bon article anglais. Bonne lecture ! Toujours faire une recherche à partir d’un ID Le sélecteur le plus rapide de jQuery est le sélecteur d’ID ($(‘#mon-id’)) car elle est directement mappée sur une méthode Javascript native : getElementById().

Sélection d’un élément unique Une sélection comme celle-ci est plus rapide :var traffic_button = $(‘#traffic_button’); Que celle-ci :var traffic_button = $(‘#content .button’); Sélection d’éléments multiples La sélection d’éléments multiples parcours le DOM de manière transversale, cela peut être très long et très couteux en ressources. Utiliser des balises avant les classes Le second sélecteur le plus rapide de jQuery est le sélecteur de balises ($(‘head’)). Cacher les objets jQuery (Dé)chaînez la fureur. 60 Useful JQuery Tutorials From 2010. 60 Useful JQuery Tutorials From 2010 Posted by Prakash on December 7th in Tutorials.

Web developer created some great jQuery tutorials and today we just want list some of the 2010 tutorials which really stand out from the tradition javascript effect tutorials. In today’s post we have compiled 60 the best and useful jQuery tutorials from 2010. Enjoy! Animate Panning Slideshow with jQuery Beautiful Background Image Navigation with jQuery Coding a Rotating Image Slideshow w/ CSS3 and jQuery How to Create a jQuery Confirm Dialog Replacement Making an Apple-style Splash Screen Do you want to clear the 3101.1 exams successfully in the first attempt? Elements with jQuery and CSS3 Making an Interactive Picture with jQuery Creating a Stylish Coming Soon Page with jQuery Create Custom PopUp (Modal Window) with jQuery Content Slider Using CSS and Jquery Tabbed Content with Navigation using jQuery UI Crafting an Animated Postcard With jQuery Lights Out – Dimming/Covering Background Content with jQuery Prakash.

7 Free Page Flip (flipbooks) Flash & JQuery | Web Design Today. Pageflip is a beautiful way to present images on your website. Its also used on many websites to present catalog. By using mouse pages can be flipped like a real book pages with realistic animations. These flipbooks are used not only to showcase images but also, flash (swf), and videos. Below are 7 free flipbook tools build with flash and jQuery. PixelWit’s Free PageFlip A very simple pagflip in flash.

Free Pageflip 2.25 This free flash pageflip is not a simple images flip book but it also allows to add swf movies, transparent pages and also allows to peel any page. FlippingBook HTML Edition There is a free demo and paid version for this flipping book. Flash Pageflipping free This free version is missing lots of options from the pro version of this pageflip but still you can zoom, navigate, add swf and enable disable sound.

PDF to Flash Page Flip This unique tool allows youto convert your pdf files into flash page flip book movie fro free. imBookFlip. jQuery & CSS Sprite Animation Explained In Under 5 Minutes. Today we’re going to take a look at sprite animation. There’s been a lot of talk this year about the future of technologies like Adobe’s Flash and for good reason – with the performance of JavaScript frameworks having come so far since they were first conceived, it’s now possible to create equally as powerful animations and effects without needing to use any third party plugins.In today’s screencast I’m going to show you what a sprite is and just how easy it can be to create an entire animated scene using jQuery, CSS & Sprites.

You’ll also get to see some pretty cool out-in-the-wild examples of jQuery Sprite Animation in action, so why not check it out in my screencast below! Demos and text are available for anyone that wants to read/see them in the rest of the post. View Demo Download Source Today’s animations are created using a really useful jQuery plugin called Spritely. You can download the Spritely plugin here. Basic Example using Pan() The jQuery The HTML The CSS And thats it!. jVectorMap. Moleskine Notebook with jQuery Booklet. Today we will show you how to use and customize the brilliant jQuery Booklet Plugin by talented Will Grauvogel. We will create a virtual Moleskine notebook with latest posts from the blog. You can find the beautiful Moleskine Photoshop file by Dennern at deviantart here: My Moleskine (PSD) For the navigation arrows […] View demoDownload source Today we will show you how to use and customize the brilliant jQuery Booklet Plugin by talented Will Grauvogel.

We will create a virtual Moleskine notebook with latest posts from the blog. You can find the beautiful Moleskine Photoshop file by Dennern at deviantart here:My Moleskine (PSD) For the navigation arrows we used the pixel perfect PSD provided by premiumpixels.com underSimple Little Arrows (PSD) Ok, so let’s get started!

The Markup The HTML structure will be made up of the booklet plugin markup which includes the div with the id “mybook”. Each page of the booklet will be placed in a div element inside of the element with the class “b-load”. Zoomy | jQuery Plugin | E-Magnification. 15 Handpicked Fresh and Useful jQuery Tutorials. jQuery has really simplified the work flow for web designers. Even someone with basic javascript understanding can use it. These tutorials are proof of that. In this post you will find 15 really useful jQuery tutorials that has been published in the previous month or so.

Hope the readers learns something new with these tutorials . 1. Beautiful Slide Out Navigation Demo This tutorials shows how to create a slide out menu that stays on the left of the webpage. 2. Demo We have seen some sliding background with jQuery before. 3. jQuery AJAX Tabs Demo A neat, simple, fast jQuery tabs tutorial. 4. Demo This menu tutorial is in two parts and really an awesome menu tutorial. 5. Demo An easy to understand jQuery Pagination tutorial. 6. DemoIf you are thinking why would anyone one want to do this, here is an example: if you are running a music website, need people to vote for albums or lets say a wallpaper website, you can use the technique for this tutorial. 7.

Demo 8. Demo 9. Demo 10. Demo 11. 12. 13. Demo.