background preloader

Glossy.js (javascript glossy image effect)

Glossy.js (javascript glossy image effect)
<form name="lst" id="lst" method="post" action=".. glossy.js 1.8 allows you to add corners and shading and shadow to images on your webpages (alternatively: corner.js). It works in all the major browsers - Mozilla Firefox 1.5+, Opera 9+, Safari and IE6+. On older browsers, it'll degrade and your visitors won't notice a thing.CVI-lab: Get a fast impression of the effects and their illustration qualities. Shows some of the things glossy.js does. 6 images with class = "glossy iradius50" cvi_glossy_lib.js supports additional appearances. Empty gif with class = "glossy ibgcolor00aa00 igradient00aaaa horizontal noshadow" 3 images with class = "glossy" Images used are copyrighted and are used for demonstration only. Related:  HTML5 - CSS

Réduire et redimensionner des images en PHP - Userland Si je ne devais citer qu’un seul défaut de PHP, ce serait son incohérence. Les noms de fonctions manquent de logique, l’ordre des arguments n’est jamais le même, et la liste pourrait continuer longtemps encore… Voici quelques informations à connaître pour travailler avec les images. 1. Ouvrir l’image Les fonctions s’appliquant aux images demandent une ressource (resource en anglais) qui est un type particulier de variable. // Déterminer l'extension à partir du nom de fichier$extension = substr( $img_src_chemin, -3 );// Afin de simplifier les comparaisons, on met tout en minuscule$extension = strtolower( $extension ); Ouvrir l’image avec la fonction appropriée en fonction de l’extension : switch ( $extension ) { case "jpg": case "peg": //pour le cas où l'extension est "jpeg" $img_src_resource = createimagefromjpeg( $img_src_chemin ); break; case "gif": $img_src_resource = createimagefromgif( $img_src_chemin ); break; case "png": $img_src_resource = createimagefrompng( $img_src_chemin ); break;

Getting Started With Datejs - An open-source JavaScript Date Library November 27th, 2007 | Tutorial Welcome . Let us begin. Step #1 - Pick your weapon In order to move safely through the shadowy world of the JavaScript Date Class you must add the date.js file to your arsenal of tools. Example You can download the latest release from datejs.com/download/ or connect directly to the SVN source repository via datejs.com/svn/ . The date.js file can be found within the /build/ folder. Datejs has traveled to many lands and returns with knowledge of over 150 individual Cultures. en-US [English (United States)] de-DE [German (Germany)] fr-FR [French (France)] All 150+ CultureInfo files have been pre-compiled and are available within the same /build/ folder as date.js . Step #2 - Start your training The Datejs library includes many helpful functions for easing the pain of developing with Dates and Times in JavaScript. If you have not already done so, we highly recommend installing FireBug for FireFox . Let's Get Started Date.today(); Date.today().add(5).days(); Date.friday();

Home 20 Free Fonts Just Perfect for Retro and Vintage Designs Awww, vintage and retro style designes are simply awesome. By using various design elements such as textures, patterns and brushes to add an aged or used appearance designers can easily pull of timeless look. To compliment retro/vintage appearance it’s also important to use proper typography from the time period you are trying to represent. I’m hoping that you found at least one new font to add to your collection. A Beginner’s Guide To jQuery-Based JSON API Clients Are you fascinated by dynamic data? Do you go green with envy when you see tweets pulled magically into websites? Trust me, I’ve been there. The goal of today’s tutorial is to create a simple Web app for grabbing movie posters from TMDb731. I hope to convince you that APIs aren’t scary and that most of the time they can be a developer’s best friend. APIs Are The Future But, More Importantly, The Present Link JSON-based APIs are a hot property on the Web right now. Developers are allowing us to get at their data much more openly now; no longer is everything under lock and key. This article is aimed at people who are competent in HTML and CSS and have basic knowledge of jQuery techniques. APIs in a Nutshell Link In basic terms, an API enables you to access a website’s data without going near its databases. Sure, Great, But What Code Do I Need? Like many developers, I bounce merrily between back-end and front-end development, and I am as happy working in PHP as in jQuery. Player 1: JSON Link

table plug-in for jQuery) X11 color names In computing, on the X Window System, X11 color names are represented in a simple text file, which maps certain strings to RGB color values. It is shipped with every X11 installation, hence the name, and is usually located in <X11root>/lib/X11/rgb.txt. The web colors list is descended from it. The list does not show continuity either in selected color values or in color names, and many color triplets have multiple names. Despite this, graphic designers and others got used to them, making it practically impossible to introduce a different list. In some applications multipart names are written with spaces, in others joined together, often in camel case; this article uses spaces and uppercase initials. Color names are not standardized by Xlib or the X11 protocol. The list first shipped with X10 release 3 (X10R3) on 7 June 1986, having been checked into RCS by Jim Gettys in 1985.[2] The same list was in X11R1 on 18 September 1987. Clashes between web and X11 colors[edit] Shades of gray[edit]

Colllor - Turn one color into many alternative ones HTML5 Please - Use the new and shiny responsibly Réaliser une application offline en HTML5 Cet article va vous apprendre à gérer trois technologies : HTML5 gérant le mode offline, le cache du navigateur et le stockage local. Notre exemple est une gestion de « to-do list » qui utilise trois technologies : HTML5 et JavaScript/jQuery pour le côté client et PHP pour le côté serveur. Le code est simple. La page HTML contient une liste non numérotée contenant les tâches, ainsi qu'un formulaire. Dès que celui-ci est activé, le JavaScript intercepte le formulaire et l'envoie au fichier PHP pour qu'il l'enregistre dans un fichier texte. Code HTML : Code CSS : Code JavaScript : script.js Sélectionnez Code PHP : III.1. Le mode hors-ligne intervient quand votre ordinateur n'a plus de réseau ou que votre téléphone se situe dans une zone sans réseau. Pour que ce fichier soit bien déclaré au niveau du serveur, il nous faut déclarer son MIME-TYPE via un fichier .htaccess : AddType text/cache-manifest manifest manifest.manifest Ce fichier MANIFEST est divisé en quatre parties : III.2. IV.1. IV.2. IV.3.

Related: