background preloader

Outils et ressources

Facebook Twitter

Wordpress

Vidéos. Pinboard. Facebook. Install. YUI 3.x: CSS Grids Units Example. Beachfront B-Roll. Animating Along a Curved Path. This demonstrates how to animate the position of an element along a curve. Click the button or drag the dots to see the animation. You can use this example as a tool to find the right XY values for start, end, and control points that will give you the right shape path for your own animation on a curve.

The curved line shown here between points 0 and 3 is just for preview purposes, and is not part of animation on a curve. The draggable points 0 - 3 are displayed only for UI interactivity. To see anim along a path, click the button above, or drag point 0, 1, 2, or 3. The X and Y of point 0 is [92,103] The X and Y of 1, 2, and 3, are the sub-arrays in array value of "curve:" in the anim.set() Setting up the HTML First we add some HTML to animate. <div class="example"><button id="btn-animate" class='yui3-button'>Animate On Path</button><div id="demo">A</div></div> Creating the Anim Instance Changing Attributes A click handler will set the to value before run is called.

Running the Animation. Graphics Path Tool. Carte de France cliquable en SVG avec la librairie js Raphaël. Je vous propose de faire une carte cliquable des régions françaises (hors Dom Tom), le but ici est d’avoir une carte compatible avec les anciens navigateur (oui même notre ami IE) et sur un maximum de terminaux, donc adieu flash (Flash n’étant pas supporté sur les ipad, iphone et Android). On va donc se concentrer sur le format SVG (wikipédia) et surtout pour assurer la compatibilité avec les anciens navigateurs on va utiliser la librairie JS Raphael.

Voici les étapes * Volontairement je ne m’étendrais pas sur la création du fichier SVG, mais sachez qu’avec un logiciel de dessin vectoriel comme inkscape, en sélectionnant un objet (les contours des départements par exemple) et en faisant Ctrl+ Maj + X (Editeur XML) la première ligne « d » correspond aux coordonnées dont nous avons besoin. Ici une belle carte existe déjà profitons en ! Voilà vous avez téléchargé les fichiers, nous allons créer une simple page web nommée index.html, et un répertoire « js » pour nos fichiers javascript. <!

Icones

Patterns. Polices. Images LDD. 7 Gorgeous icon fonts to speed up your site and your design process. TNW first covered the growing popularity of icon fonts back in January, and since then the Web has practically exploded with impressive icon fonts for use in Web design. For those that are out of the loop, you can think of an icon font as a grown-up version of dingbats…with an actual use-case. The core idea is to take a set of icons or pictograms that would normally be implemented as an image or vector file and then convert it into a font. There are many reasons to do this too, according to Pictonic, as an icon font can load as much as 14% faster than images and can to be as much as 90% smaller than SVG files.

Now that a ton of options have emerged as popular choices among Web designers, we’ve made this brief list of 7 typefaces to point you in the right direction. Font Awesome (free) Font Awesome is an icon font that was designed to work perfectly with Twitter Bootstrap. Fontello (free) Modern Pictograms (free) Typicons (free) Yet another set of well-made, clean icons for Webfont use. CSS Layout: A collection of 224 Grid and CSS Layouts. Check Browser Compatibility, Cross Platform Browser Test - Browsershots. Favicon Generator.

Couleurs

YSlow for Safari.