
Javascript: Rafraichissement d' image. | CommentCaMarche Crée une page HTML dans laquelle tu places le codeci-dessous. Crée deux images dans le même répertoire que cette page. Nommes-les "green.gif" et "red.gif". Pour changer la source d'une image, donne un id à ta balise image: <img id="img_01" /> et utilises la fonction suivante Javascript pour la modifier: document.all("img_01").src="uneimage.gig" où "img_01" est l'id de l'image et "uneimage.gif" est le fichier contenant l'image à afficher. <html> <head> <title>Untitled</title> <script> var firstImage; var secondImage; function loadImages(){ firstImage=new Image(); firstImage.src="red.gif"; secondImage=new Image(); secondImage.src="green.gif"; } function showImages(){ document.all("img_01").src=firstImage.src; } loadImages(); </script> </head> <body> <img id="img_01" onMouseOver="javascript:this.src=secondImage.src" onMouseOut="javascript:this.src=firstImage.src"/> <script>showImages();</script> </body> </html> ;-) HackTrack
A library of DHTML and Ajax scripts - DHTMLgoodies.com jQuery Webcam, contrôler une webcam en Javascript De nos jours, les webwares deviennent interactifs et sociaux. Il n’est pas rare que les utilisateurs soient amenés à se servir de leur webcam pour communiquer. Mais l’intégration de fonctionnalités tirant partie d’une webcam n’est pas une chose aisée. jQuery Webcam est un plugin jQuery qui permet de créer une interface transparente pour communiquer avec une caméra directement en Javascript. Le script est construit sur une couche en Flash ou HTML5, qu’il contrôle directement afin d’afficher ou manipuler les images issues de la webcam. Le plugin est capable de streamer les images, d’en faire des captures et de les stocker sur un serveur distant. L’appel est on ne peut plus simple. Bien entendu, les possibilités de personnalisations et de paramétrage sont nombreuses. Un très bon plugin qui permet d’ajouter très rapidement et sans gros développement des fonctionnalités multimédia à son site ou son webware. Téléchargez le plugin jQuery Webcam
Highslide JS - JavaScript thumbnail viewer jQuery webcam plugin - Code is Poetry The jQuery webcam plugin is a transparent layer to communicate with a camera directly in JavaScript. As there is native support for webcams in modern browsers, it would be great if you could add this feature to the project and use the flash-version as a fallback for older ones. I don't have time for this project at the moment, so a pull request would be great! Overview This plugin provides three different modes to access a webcam through a small API directly with JavaScript - or more precisely jQuery. jQuery webcam example error: No camera was detected. Available Cameras If you activate the filter with the button on the right side of the picture, methods of my already published jQuery plugin xcolor will be used to distort the colors of the Canvas. General information about the interface The following snippet describes the interface of the webcam API: Config Parameter widthThe width of the flash movie. heightThe height of the flash movie. Callback Interface Save Interface webcam.save('/upload.php');
CSS Dock Menu May 08, 2007 270 Comments Tags: Javascript If you are a big Mac fan, you will love this CSS dock menu. It is using Jquery library and Fisheye component from Interface and some of my icons. It comes with two dock position: top and bottom. CSS dock menu screenshot Update: I no longer support the questons regard this dock menu. View Demo | Download 1. Download the CSS dock menu zip package. 2. In between the HTML <head> tag, add the following code The first part is the Javascript, second part is CSS stylesheet, and last part is the PNG hack for IE 6. 3. Don’t forget to add the following code to anywhere within the <body> tag: 4. To add menu item to the top dock (note: span tag is after the img tag): <a class="dock-item" href="#"><img src="images/home.png" alt="home" /><span>Home</span></a> To add menu item to the bottom dock (note: span tag is before the img tag): <a class="dock-item2" href="#"><span>Home</span><img src="images/home.png" alt="home" /></a> Browser Compatibility Collapse All Expand All
comment installer une webcam sur un site internet Installer une webcam sur votre site Pour installer une webcam sur un site internet il vous faudra le matériel ci-dessous : - un ordinateur pentium 3 minimum - une webcam pour capturer les images - un logiciel html pour réaliser la page web qui comprendra l'image de la webcam - un hébergeur internet pour stocker les images capturés - le logiciel java d'installé, si vous ne l'avez pas cliquer içi - un logiciel spécialisé de webcam içi "easy free webcam" En admettant que vous ayez le matériel nécessaire on peut passer à la première étape : télécharger easy free webcam sur le site de l'éditeur. Une fois le téléchargement terminé, vous pouvez installer le logiciel et redémarrer ensuite l'ordinateur ! On peut commencer à configurer le logiciel, s'il n'est pas lancé aller dans > démarrer > tous les programmes > easy free webcam Pour configurer le logiciel vous devez aller dans l'onglet "ftp" et remplir les champs comme ci-dessous : après la balise <head> le code suivant : exemple
21+ beautiful Javascript and Ajax based solutions to our gallery requirements Maybe you are believe that a picture is worth a thousand words, so you need a powerful gallery in order to show your excellent pictures well. Or you need to add a gallery into your blog or homepage. Javascrip or AJAX technology is a better choice since they don’t need extend plugin. The following is a list of beautiful Javascript and Ajax based solutions to our gallery requirements. No.1 Galleria Galleria is a javascript image gallery written in jQuery. No.2 LightWindow If fact software of lightwindow is a No.3 (E)2Photo Gallery (E)2 Photo Gallery is a open source gallery built with Mootools Javascript Library the compact, modular, Object-Oriented javascript framework. No.4 Spry pry is a JavaScript-based framework that enables the rapid development of Ajax-powered web pages. No.5 Imago Imago is an Ajax Image Gallery with focus on simplicity and ease of use. No.6 slideViewer a jQuery image slider built on a single unordered list No.7 Minishowcase No.8 AJAX Image Gallery Powered by Slideflow