background preloader

Javascript

Facebook Twitter

Jonahvsweb/touchpoint-js. Yeti - A command-line tool for launching JavaScript unit tests in a browser. VVVV.js. Combiner HTML 5, les APIs de géolocalisation et des web services pour créer des mashups mobiles | Le Torréfacteur Java. Trouver et tracer les coordonnées géographiques pour les utiliser avec toutes sortes de web services Résumé: Dans la première des cinq parties de cette série, vous utiliserez une plus populaires des nouvelles technologies disponibles pour les applications web mobiles: la géolocalisation.

Les smartphones haut de gamme incluent tous un GPS, et vous verrez comment le mettre à profit dans une application web. Vous comprendrez comment vous servir de différentes facettes du standard de géolocalisation et comment l'associer à un web service bien connu pour créer un mashup mobile intéressant. Prérequis Au cours de cet article, vous allez développer des applications web utilisant les technologies les plus récentes. Le plus gros du code est constitué de HTML, de Javascript et de CSS - les technologies de base de tout développeur web.

Les bases: se repérer La géolocalisation en elle-même est quelque chose d'assez nouveau. Listing 1. C'est l'API de base de la géolocalisation. Intégration avec Twitter. Online JavaScript beautifier. Anima.js — Animate lots of objects at once. Textillate.js. QuoJS - Micro JavaScript Library. Dat.GUI. Framer: Modern Prototyping. Photobox - CSS3 image gallery modal viewer. A lightweight image gallery modal window script which uses only CSS3 for silky-smooth animations and transitions, utilizes GPU rending, which can be completely controlled and themed directly from the CSS. Lightweight! Jquery.photobox.js is only 5kb (gziped & minified) Hardware accelerated, CSS3 transitions and animations Mobile friendly Support videos via iframe embedding Stunning UI and user-friendly UX Images & videos can be zoomed using mousewheel Thumbnails can be zoomed using mousewheel Keyboard & mouse navigation.

Even using mousewheel left/right ;-) Exposed UX control up to 99%. No need to mess with the source code Observes DOM changes (if images were added/removed) Event-delegation on all thumbnails events (obviously...) HTML5 History support: update location with the currently viewed image No images at all! Supports: Firefox, Chrome and IE8+ (This plugin has nothing to do with Flickr) Github project page. Online JavaScript beautifier. Polymaps. Our 50 Favorite Web Development Resources from 2012. Let’s keep it simple: last year, we did a roundup of 50 of the most useful web development resources.

Today, we bring to you the 2012 edition, but only better. And what can you expect to find in this years roundup? Pretty much everything a developer could ever need: CSS frameworks & tools, HTML5 resources, JavaScript frameworks & tools, web editors, mock-up tools, application frameworks, responsive layout tools and resources… and on and on. This post does not include any jQuery resources as we published its own round-up last week, you can check it out here Top 50 Useful jQuery Plugins from 2011. CSS Frameworks Base Framework Base is a 12 column 960px grid (max) responsive CSS framework that contains everything you need to get up and running quickly. Bourbon Neat Neat is a simple grid framework built on top of Sass and Bourbon using em units and golden ratios. Kube CSS Framework The Kube Framework is certainly not an overblown responsive CSS framework with multiple layouts and styles.

RWD Grid. Awesome Bubble Navigation with jQuery. In this tutorial we are going to create a bubbly navigation with jQuery. The idea is to have some round navigation icons that release a bubble when hovering over them. We will use the jQuery Easing Plugin for a even nicer effect. Ok, so let’s get started. The Markup The HTML will […] View demoDownload source In this tutorial we are going to create a bubbly navigation with jQuery. Ok, so let’s get started. The Markup The HTML will consist of a main div that we will give the class navigation and the id nav. As an example, we just show the first two items here. Further elements inside of the item element are the image for the bubble, the icon as link element, the heading and the list of links. The CSS Let’s take a look at the styling. Now, we will use absolute positioning for the item: Since we gave the div two classes, we will now define the respective positions for each navigation item. The link elements of the icons will have the following general style: The JavaScript And that’s it!

JsAnim - Free JavaScript Animation Library. Raphaël—JavaScript Library. Demos - Chaining. MooTools - a compact javascript framework. 10 Super JavaScript Animation Frameworks. JavaScript allows you to do a wide range of animations and effects that would otherwise be very hard to achieve with minimal overheads. Below is a list of JavaScript animation frameworks that will allow you to rapidly develop animations with ease. Have fun! Related Posts: 1. Raphaël Is a small JavaScript library that should simplify your work with vector graphics on the web. Source + Demo 2. Is an open programming language for people who want to program images, animation, and interactions for the web without using Flash or Java applets.

Source + Demo 3. script.aculo.us Provides you with easy-to-use, cross-browser user interface JavaScript libraries to make your web sites and web applications fly. SourceDemo 4. Is an experimental library which allows you to perform a variety of operations on images using just a bit of JavaScript. SourceDemo 5. moo.fx Is a superlightweight, ultratiny, megasmall javascript effects library, to be used with prototype.js or the mootools framework. Source + Demo 8. 10. jQuery Easing Plugin. Description A jQuery plugin from GSGD to give advanced easing options. Please note, the easing function names changed in version 1.2. Please also note, you shouldn't really be hotlinking the script from this site, if you're after a CDN version you could do worse than try cdnjs.com Download Download the following: Example Click on any of the yellow headers to see the default easing method in action (I've set as easeOutBounce for the demo, just because it's obviously different).

Select easing types for the demo first one for down, second one for up. The Clicker Updates 12/11/07 1.3 jQuery easing now supports a default easing mode. 04/10/07 1.2 Updated to include all methods from Robert Penners easing equations. 28/06/07 1.1.1 Updated the method to not overwrite the newly renamed 'swing', or the new 'linear' style coming in 1.1.3. 22/06/07 Rewritten the above to include callback syntax, nothing else has changed.

Advertisements Need reliable hosting for your blog? Credits Donate Usage Default Custom. 31 days of Canvas tutorials. Tutorials. Advanced Uploading Techniques — Part Two Continuing from our last tutorial, we discuss how to automatically pause and resume your uploads using the online and offline events. Advanced Uploading Techniques — Part One Uploading large files or over slow connections makes your uploads vulnerable. Learn how to break your files into smaller pieces using the File API and how this enables users to pause and resume their uploads. Web Audio API — Part Two Continuing from our previous tutorial, we now introduce the concepts of position, convolution and impulse responses. Web Audio API – Part One The Web Audio API is one of two new audio APIs designed to make creating, processing and controlling audio within web applications much simpler.

RequestAnimationFrame Learn the secret to silky-smooth JavaScript animation! Create an iPad optimised game HTML5 canvas is of course brilliant. Three.js part 1 – make a star-field Remember FastKat? Make an explosive firework display Box2D JavaScript tutorials by Seth Ladd. TypeScript - Samples. Using JavaScript to Control the Audio Object. This section includes the following topics: Playing and pausing audio playback in JavaScript All other functionality of the audio player is controlled from JavaScript, as shown in the following script. Specifying audio files and managing playback in JavaScript In the next example, a text input element is added in the HTML portion where you can paste in the path of an MPEG-Layer 3 (MP3) audio file.

Catching errors Writing error-free code is difficult. In the JavaScript section of the code, there are areas where errors are likely. In this example, the buttons are disabled if support does not exist, so the functions would not be called. If HTML5 audio is supported, there are other errors that might happen. With the try/catch statements, these conditions fail silently, but you can see the errors if you open either the Console or Script tab in Internet Explorer 9 F12 tools.

The following code example explains all concepts of this topic. Related topics. 360° MP3 player UI demo (SoundManager 2): Javascript + Canvas Visualization. Edit this Fiddle. Les Ressources Web du Lundi #37 - ressources-web. 8 Responsive jQuery Slider Plugins. Whether you’re already a pro at creating responsive web sites or your just learning what it’s all about, it’s good to have some scripts handy that you can easily integrate into your site.

We all know how popular image and content sliders are now, and for good reason. So we decided to round up some jQuery slider plugins that are already responsive – meaning they will adapt to the size of their container. Flexslider FlexSlider is an awesome, fully responsive jQuery slider plugin. In other words, it resizes to fit the screen on which it is displayed, and looks good doing it. Blueberry Blueberry is an experimental opensource jQuery image slider plugin which has been written specifically to work with fluid/responsive web layouts. unoslider unoslider is a fully responsive, touch enabled, mobile optimized jQuery slider plugin. Responsive Thumbnail Gallery Plugin jQuery Plugin for creating image galleries that scale to fit their container. wmuSlider Elastislide – A Responsive jQuery Carousel Plugin.

KineticJS - HTML5 Canvas JavaScript Library Framework. Responsive 3D Panel Layout. A responsive layout experiment where we arrange panels in a grid-like structure and transition the elements with 3D effects. View demo Download source Today we want to share a creative grid layout with you. The layout will contain slides where each one consists of up to four panels. When navigating through them, we’ll animate some separation lines (the “grid”), adjusting the size of the next slide’s panels. The panels will appear with a 3D effect which we will define for each panel. Please notice that this is very experimental. It will only work as intended in browsers that support the new CSS properties used here. Some of the jQuery plugins used for this: jQuery Transit for most of the CSS transitionsModernizr for checking browser support of the CSS properties The placeholder text is from Veggie ipsum.

An example for the HTML structure is the following: The first slide, which is a list item, will contain four images in this example. To call the plugin, simply do: Demo's. Version 0.2.2 update explanation and demonstration of new features Jarallax 0.2.2 view Jarallax controllers introduction A Quick introduction to Jarallax controllers. View What is Jarallax? A Introduction of Jarallax. View. Untitled. Sketch.js – A tiny boilerplate for creating JavaScript based coding experiments. Mousetrap – Keyboard shortcuts in Javascript.

Hacking for Artists. Ember.js - About. Magnifying glass for image zoom using Jquery and CSS3. View codePlay Walkthrough Description Learn to make a realistic magnifying glass using Jquery and CSS3. Hover above the image to see the action. The code uses CSS3 box-shadow and border-radius properties to create the magnifying glass. Jquery is used to position it at the cursor coordinates and change the background position accordingly. Moving the cursor away from the image gently fades out the magnifying glass bringing the image back to the default state. Kartograph – rethink mapping. WebGL Water. Loading... Made by Evan Wallace This demo requires a decent graphics card and up-to-date drivers. If you can't run the demo, you can still see it on YouTube.

Interactions: Draw on the water to make ripples Drag the background to rotate the camera Press SPACEBAR to pause and unpause Drag the sphere to move it around Press the L key to set the light direction Press the G key to toggle gravity Features: Raytraced reflections and refractions Analytic ambient occlusion Heightfield water simulation * Soft shadows Caustics (see this for details) ** * requires the OES_texture_float extension** requires the OES_standard_derivatives extension Tile texture from zooboing on Flickr. PhiloGL: A WebGL Framework for Data Visualization, Creative Coding and Game Development.

Processing.js. TUTORIAL 01_INTRODUCTION. Augmented Reality with #Processing - Tutorial by Amnon Owed. All of the visuals in the above video were created using NyArtoolkit for Processing. NyARToolkit is an augmented reality toolkit built with 100% pure Java. It is derived from ARToolkit-2.72.1. Like Processing itself it’s open source and free! In this tutorial you will learn how to use it to place computer generated imagery correctly onto real world footage. To do this in real-time NyArtoolkit uses markers – black and white images – to determine the three-dimensional position and orientation in the real world. All right so let’s start with the general setup. 1. 2. 3. 4.

All right, time to recap. Example 1: Basic The first example is basic, but holds all of the important techniques that are necessary for more advanced uses of the NyArtoolkit. If you input the following image (place it in the sketch’s data subdirectory)… …into the first code example, you should end up with something like this… Example 2: Dynamic Time to get a little more dynamic.

Main Sketch ARObject. Tutorials. Senior Project: Wavemap CA. 8 Visually Impressive Javascript Powered Websites. Web design has evolved into a whole new level of sophistication. Flash lost the war and HTML, CSS and Javascript overtook its place. Comparing to flash, flash has its advantages of being consistent across different platforms, and maintainability is lesser than HTML/CSS/JS. However, adobe's decision in stop supporting mobile flash has killed it. With the fall of flash, HTML, CSS and Javascript have became the best alternative solution to cater for both mobile and desktop users. Here in this post though, we aren't talking about responsive layout, it's more about the animation effects and the wow factors that can be done without flash. It's a custom made full screen carousel landing page. 28 Exciting New jQuery Tutorials & Plugins. WebGL Reader. Animating a Million Letters Using Three.js. Dart: Structured web apps.

Paper.js. Paper.js, canvas, html5 - pinocchio 2012 : les présidentielles 2012 façon Goo - Pixup. Prism - coloration syntaxique. 31 days of Canvas tutorials. Kube CSS-framework for professional developers. Duri.me - A beautifully simple image-to-DataURI converter. Node.js. Express - node.js web application framework.