background preloader

Javascript

Facebook Twitter

Photobooth with PHP, jQuery and CSS3. In this tutorial, we will be building a jQuery and PHP powered photobooth. It will allow your website visitors to take a snapshot with their web camera and upload it from a neat CSS3 interface. As you might know, it is not possible to access web cameras and other peripheral devices directly from JavaScript (and it won't be for some time). However there is a solution to our problem - we can use a flash movie. Flash has perfect web camera support, and is installed on nearly all internet - enabled computers. The solution we are going to use for this app is webcam.js. It is a JavaScript wrapper around flash's API that gives us control over the user's webcam. The first step to building our Photobooth is laying down the HTML structure of the main page. Index.html <! There are three main divs in the page: The control buttons are divided in two .buttonPane divs. At the bottom of the body, we are including a number of JavaScript files.

Upload.php browse.php jQuery assets/js/script.js - Part 1 Conclusion. 45 jQuery Plugins And Tutorials To Enhance Your Forms. Don't Forget to participate in a contest where you can win an amazing e-Commerce template from TemplateMonster. Creating awesome and appealing forms for your website has now become easy, thanks to jQuery plugins.

Here we are sharing with you a collection of some extremely useful plugins and tutorials to help you create beautiful and awesome web forms. Web forms are the crucial element for any website as website visitors use such forms to interact with the webmaster. Therefore, keeping them neat and functional while maintaining their aesthetic appeal is important. Here is the complete list. Enjoy! Boxy –Facebook-like dialog/overlay ( Demo | Download ) Boxy is a flexible, Facebook-style dialog box for jQuery with support for dragging and size tweening. A jQuery Inline Form Validation ( Demo | Download ) When it comes to form validation, it’s hard to have a versatile solution that works with every form.

LightForm ( Demo | Download ) LightForm is a free Ajax/PHP contact form. 33 Excellent jQuery Tutorials. RSS Feeds Reader Plugin for jQuery - Zazar Website Builder. This plugin will read RSS feeds from website URL using the Google Feeds API. It produces structured HTML with in-built CSS classes for styling. Simple and easy to use. Features Supports Atom 1.0, RSS 2.0, RSS 1.0 & RSS 0.9x. For jQuery versions 1.4, 1.5, 1.6 and 1.7. Specify the number of feeds to return. Choose to include header, date and description. Specify the title HTML tag. Choose to use either a brief or full description (when available). Produces all HTML code and style classes. Customised error message. Support for SSL requests. Specify the target for feed links.

Supports media attachments using the enclosure tag. User callback function. Sort by title or date. Demonstrations Basic RSS feed example Animating RSS feeds with zFramework RSS feed with media attachments Multiple RSS feeds with ticker animation Selecting RSS feeds from a menu RSS feed with images and ticker animation RSS feed with custom fonts using Cufon Displaying RSS feeds with jQuery Mobile How to sort feeds by title and date Download No.

Horizontal Sub-nav with CSS & jQuery - Subnavigation Tutorial - CSS Tutorial - jQuery Tutorial. Portfolio Image Navigation with jQuery. Today we want to create a portfolio image navigation template with jQuery. The idea is to show some portfolio items in a grouped fashion and navigate through them in all 2D ways (horizontal/vertical). Either the arrows or the little boxes below the current image can be used in order to navigate. View demo Download source The beautiful photography is by Angelo González. The Markup For the markup, we’ll have a main wrapper div with the background, the arrows and the gallery containers inside: Now, let’s take a look at the style. The CSS First, let’s define the style for the main container. The background will also be fixed and we’ll add a background image that creates the spotlight effect: The gallery will be positioned absolutely, just like it’s inner div: The gallery will also occupy all the space of the portfolio: We’ll fix the z-index of the inside div in order for keeping the stacking right: Now, we’ll style the arrows.

And then we’ll style all the single arrows: Each image will be centered. Craftyslide, un slideshow jQuery simple et léger - Megaptery. Les plugins jQuery qui génèrent un diaporama sont nombreux, mais ils sont souvent lourds à charger du fait des nombreuses options qui ne sont pas forcément utilisées. Avec Craftyslide, on va à l’essentiel : un slideshow simple, léger et efficace ! Pourquoi Craftyslide ? Craftyslide est né d’une raison assez originale. En effet, l’auteur en avait marre de devoir utiliser des plugins trop lourds pour ses besoins : un code superflu et parfois non-sémantique, beaucoup d’options peu utilisées, des transitions de plus en plus complexes… En s’inspirant du plugin jQuery Slides qui a été conçu avec le même objectif, Craftyslide permet de mettre en place un diaporama simple, avec seulement cinq options de base.

Utilisation de Craftyslide Utiliser Craftyslide sur votre site est facile ! Puis définissez la structure HTML du slideshow. Et pour une initialisation basique du plugin : C’est fini. Quelques options Vous avez à disposition cinq options de base pour personnaliser au mieux votre diaporama : 10 Excellent Tools for Responsive Web Design. By Jason Gross So, you’ve decided to venture into the creation of responsive web designs. Wonderful!

With the browsing landscape diversifying into mobile devices, netbooks, desktops and so forth, responsive web designs allow web designers to provide different layouts for specific devices (based on screen size and browser features) giving site visitors an optimal user experience. So now, you’ve determined that it would be beneficial to create responsive web designs. What tools can help you get the job done? Tools have started to spring up to provide us with shortcuts and helpers for common responsive web design tasks. I divided the tools in this list into four categories: Responsive typographyFlexible imagesResponsive web page layoutsTesting and cross-browser support Responsive Typography First, let’s look at two tools (out of the many out there) that allow us to create beautiful, adaptive typography. 1. 2.

Another jQuery plugin, FitText helps you make your headlines responsive. 3. imgSizer.js. 40 Best Free jQuery Plugins For Web Developers. 20 jQuery Tutorials Teaching Super Cool Visual Effects. Tweet! Put Twitter on your site with this simple, unobtrusive jQuery widget. Inline form validation - un plugin de validation de formulaire jquery. Lors de la création d'un formulaire en ligne, vérifier que tous les champs sont remplis correctement peut être une véritable corvée. La pénibilité croit exponentiellement avec la taille du formulaire. Heureusement, ce plug-in jquery permet de vous faciliter la tâche en ajoutant un contrôle sur chaque champ de votre formulaire. Il existe différents types de validateurs : requislongueur min et maxnombre de checkbox à cocherégalité de deux champs (mot de passe par exemple)type de valeur (numérique...)... Il est aussi possible de valider le champ en fonction d'un retour Ajax, pour tester la disponibilité d'un pseudo par exemple. Le rendu par défaut est plutôt agréable et est lui aussi personnalisable pour les fans de customisation.

La mise en place est assez simple, il suffit d'inclure les fichiers js requis 2. 3. On insère ensuite le fichier css du thème que l'on veut utiliser 1. On instancie le moteur de validation 1. 2. 3. 5. 1. 2. 3. 4. 5. Et voilà, votre validateur est en place. Site Officiel. Vertical Sliding Accordion with jQuery.

Today we want to share a slick and flexible vertical jQuery accordion with you. The main idea is to expand the accordion slices on click and show some more information. The other slices will become less opaque and squeezed. When navigating to the next slice using one navigation arrows, a new slice will slide in from the top or the bottom. Once a slice is open and we navigate, the subsequent slice will open on slide. View demo Download source The beautiful portrait photography is by Images by Alan Turkus. We also use the jQuery Mousewheel Plugin by Brandon Aaron which allows us to navigate through the accordion using the mouse wheel.

The options for this plugin allow to customize the height and width, the number of slices visible, the height of an expanded slice and others. Examples Take a look at all the examples (you can also navigate from them to all the other demos): For the HTML structure we have the accordion container, the navigation spans and the wrapper with the slices: Highcharts - Interactive JavaScript charts for your webpage. Animated Text and Icon Menu with jQuery. Today we want to show you how to create a slick menu with a nice animation feature on hover. The idea is to make some elements slide out, change and animate the background color of the item and then slide the elements back in with a different color. View demoDownload source The inspiration for this menu comes from the website of the Pelican Miami Beach Hotel: The icons are taken from the incredible Noun Project that “collects, organizes and adds to the highly recognizable symbols that form the world’s visual language, so we may share them in a fun and meaningful way”.

Visit the website of The Noun Project. So, let’s get started! The Markup Our HTML will be an unordered list where each list item will contain an anchor element with the three elements inside that we’ll animate: The data-hovercolor will be used to set the color of the text on hover. Now, let’s make it stylish! The CSS Remember, we always reset our CSS with a reset.css that we’ll add to our main style. LeanModal - a JQuery modal plugin that works with your CSS. Blueberry - A simple, fluid, responsive jQuery image slider. What is Blueberry? Blueberry is an experimental opensource jQuery image slider plugin which has been written specifically to work with fluid/responsive web layouts. A brief history With the popularity of smart phones and tablet devices responsive/fluid web layouts have become an important part of modern web design.

Working on a new project I decided to use the 1140px grid from cssgrid.net. The design I was working on included a large image slider on the front page. As I set about choosing a jQuery plugin to use, I started to realise that very few are compatible with responsive/flexible layouts (at least not without some hacking) as most require a fixed width. So, I decided to start writing a basic plugin with the aim of making it suitable for responsive web design.

The goal The hope is that I can at least nudge developers of more popular slider plugins to think about responsive web design, and make their plugins compatible. Check out the contribute section to find out how you can help. Wishlist. 10 jQuery Custom Scrollbar Plugins. 10 jQuery Scrollbar Plugins to help you display present whatever content you have in a more interactive & more responsive way. The solution is jQuery, we’d like to present custom scrolling content using the power of CSS and the beauty of jQuery. Update 29/09/13: Added 11. jQuery NiceScroll Plugin Premium – VenScrollBar – A jQuery Scrollbar Plugin VenScrollBar is a jQuery plugin that allows web designers to replace the ugly, default OS scrollbar with custom ones that they create. 2. This tool brings HTML5 range input to all browsers in such a way that you can make it look and behave like you want. Source 3. Scrollbar Paper does not replace browser’s default scrollbar.

Source 4. jQuery Scrollbar Replacements These scrollbars are fully themable allowing their behavior to be determined as well as their look. Source 5. jQuery Custom Content Scroller A custom content scroller created with jquery and css that supports mousewheel, scroll easing and has a fully customizable scrollbar. Source 6. Source 8. Untitled. Jquery.qrcode.js is jquery plugin for a pure browser qrcode generation. It allow you to easily add qrcode to your webpages. It is standalone, less than 4k after minify+gzip, no image download. It doesnt rely on external services which go on and off, or add latency while loading. It is based on a library which build qrcode in various language. jquery.qrcode.js wraps it to make it easy to include in your own code.

Show, dont tell, here is a example How to Use It Let me walk you thru it. Then create a DOM element which gonna contains the generated qrcode image. Then you add the qrcode in this container by jquery('#qrcode').qrcode("this plugin is great"); This is it. see it live. Conclusion jquery.qrcode.js is available on github here under MIT license. Image Wall with jQuery. Today we want to show you how to create a neat image wall with jQuery.

The idea is to scatter some thumbnails with different sizes on the page and make a ribbon slide in when we click on the picture. The ribbon will show some description next to the picture and […] View demo Download source Today we want to show you how to create a neat image wall with jQuery. The idea is to scatter some thumbnails with different sizes on the page and make a ribbon slide in when we click on the picture. To scatter the images we will be using the CSS3 child selector property and the jQuery Masonry plugin by David DeSandro. The beautiful photos are by Mark Sebastian and you can see his Flickr photostream here. Let’s start with the HTML structure. The Markup The HTML structure is pretty straightforward: we will have a wrapper for our unordered list of images and their descriptions and a ribbon element where we will add a closing span and a help text span: The CSS First, we will define the style of the wrapper.

Ajax AutoComplete jQuery Plugin for Textfields. Ajax Autocomplete for jQuery allows you to easily create autocomplete / autosuggest boxes for text input fields. It is built with focus on performance. Results for every query are cached and pulled from local cache for the same repeating query. If there are no results for particular query it stops sending requests to the server for other queries with the same root. It has been tested on IE 7+, FF 2+, Safari 3+, Opera 9+. And it is is freely distributable under the terms of an MIT-style license.

Requirements: jQuery Framework Demo: License: MIT License. Sliding Letters with jQuery. Today we have a neat little effect for you. We want to bring some life to the standard hover effect by playing around with the letters in an anchor word. The aim is to slide in letter by letter when hovering over a link element. We can either have the same word or a different […] Today we have a neat little effect for you. We want to bring some life to the standard hover effect by playing around with the letters in an anchor word. The aim is to slide in letter by letter when hovering over a link element. We will be using the Lettering.js jQuery Plugin which you can find on Github. Example In the following we will go through an example and we’ll start by the html for a little menu: We will use data-hover to indicate the word that should appear on hover. So, “sl-w1″ is the class for the first word letters and “sl-w2″ is the class for the second word letters.

Finally, we call the plugin: The following settings can be used: We hope you liked this little experiment and find it useful! Case Study: jQuery Fixer Upper. Awkward Showcase – A jQuery Plugin | Awkward Group - A Digital Agency. JbhSlider, un slider en jQuery - par Jacques Bodin-Hullin. Apprise - The attractive alert alternative for jQuery. Apprise - Une alternative élégante aux alert Javascript en jQuery. 35 plugins jQuery rien que pour vos sites web ! Rotating Image Slider with jQuery. Convert Elements into Mini Canvas Charts with jQuery. 8 ressources Jquery pour sites fullscreen. Circular Discography Template with jQuery. DiagonalFade : A jQuery plugin. jRumble | A jQuery Plugin That Rumbles Elements.

Superfish - Suckerfish on 'roids. Overlay Effect Menu with jQuery. Magnet letters tentative with JQuery and CSS3 | Jérôme Sénaillat. jQuery : écrivez moins pour faire plus ! IxEdit. Expanding Image Menu with jQuery. Effet de transition de couleur sur les liens avec jQuery. Dynamisez vos sites web avec Javascript ! Create a Slick and Accessible Slideshow Using jQuery. CoffeeScript.

Better Check Boxes with jQuery and CSS. 15 Plugins jQuery utiles à connaitre pour janvier 2011 - ressources. 10 jQuery Plugins for Easier Google Map Installation. Moving Boxes Content with jQuery. jQuery Masonry · David DeSandro. How to Create a Slick Animated Content Menu with jQuery.