background preloader

jQuery Before/After Plugin

jQuery Before/After Plugin
About a month ago I was reading the New York Times online and they had an article which showed a road in Brooklyn that had been reconstructed to make it safer and more pleasing to the eye. To show the difference in the reconstruction project, they showed a before and after picture using Flash that let the visitor drag a slider over the images, which were sandwiched with one on top of the other, so that you could easily see how dramatic the changes were. I immediately thought that this could be done in JavaScript using jQuery, so I set out to do it. Here’s the result: Pretty slick no? Download Go to the Before/After download page What’s So Great About this Plugin? Slick effect, no Flash neededIt’s just 7K (4K compressed)Reusable on multiple containersDegradable. How to Use First, your before and after images must be the same size. All images *MUST* have the width and height declared otherwise the plugin won’t work in Safari, Chrome, and any other webkit-based browsers. That’s it! Options Demos Related:  JavaScript

Tipped - The Javascript Tooltip Framework Tipped allows you to easily create beautiful tooltips using the jQuery Javascript library. Evolved from the popular Prototip library, Tipped takes tooltips to the next level by using HTML5 to give you full control over the look and feel of your tooltips. Canvas graphics The entire skin of the tooltip, from shadow to loading icon, is drawn using Canvas. Canvas based tooltips also have the advantage that they look great in every browser, even in IE6! Javascript API With the powerful API provided by Tipped it's possible to quickly create and control tooltips customized to your site, all it takes is a few lines of Javascript. And more... Check out the demonstrations below or head over to the documentation to discover more awesome features.

JuxtaposeJS Juxtapose does not support uploading images. The URLs for the left and right image should be direct URLs to images, except if you are using Flickr to host images, in which case Juxtapose can transform the Flickr image page URL to the correct format. You can also use images stored on Dropbox.com by clicking on the button with the Dropbox logo. Services like Imgur and Photobucket generally prohibit 'hotlinking' to images they serve, which is what Juxtapose does, so those will not work, or will stop working after appearing to work. This page describes a method for using images stored on Google Drive, but this is not technically supported, and could stop working at any time. This page describes a method for using images stored on Box.com, but this, also, is not technically supported, and could stop working at any time.

AutoSuggest: An AJAX auto-complete text field : CSS . XHTML . Javascript . DOM, Development : Brand Spanking New kk said Jeffrey Ropp said Nicely done. For some reason, my results dont appear within a scroll area? I copied most of your CSS and still can't get it to work. I've also found that my results aren't always qualified by the first character provided. Try an "S" first. Any thoughts would be appreciated! Thanks, Jeff Robert said Very interesting. peter said Hi, is it possible to submit the form after clicking on some of the results? Josh said I tried that, I can't seem to get it to respond right. in order for the dropdown to be clickable you must change the code above from: this.fld.addEventListener('blur',function () { pointer.clearSuggestions() },false); to this.fld.addEventListener('blur',function () { setTimeout(function () { pointer.clearSuggestions() }, 300) },false); I figured out how to make the autosuggest show on when focused and clear when the field loses focus. replace line 24: this.toID = setTimeout(function () { pointer.clearSuggestions() }, this.oP.timeout); with return element; } Enjoy

Make Me Droid - Création gratuite d'applications Android/IPhone en ligne. Ajax (informatique) Un article de Wikipédia, l'encyclopédie libre. Pour les articles homonymes, voir Ajax. L'architecture informatique Ajax (acronyme d'Asynchronous JavaScript and XML) permet de construire des applications Web et des sites web dynamiques interactifs sur le poste client en se servant de différentes technologies ajoutées aux navigateurs web entre 1995 et 2005. Ajax combine JavaScript, les CSS, XML, le DOM et le XMLHttpRequest afin d'améliorer maniabilité et confort d'utilisation des Applications Internet Riches (abr. RIA)[1],[2] : DOM et JavaScript permettent de modifier l'information présentée dans le navigateur en respectant sa structure ;L'objet XMLHttpRequest sert au dialogue asynchrone avec le serveur Web ;XML structure les informations transmises entre serveur Web et navigateur. Outre le XML, les échanges de données entre client et serveur peuvent utiliser d'autres formats, tels que JSON. Dialogue entre serveur et navigateur L'interface de programmation Document Object Model (abr.

Top 10 des outils no-code pour créer une App mobile 1# Bravo studio Bravo Studio propose un logiciel de création d’application mobile très intéressant puisqu’il est capable de se connecter à presque tous les outils externes d’API tels que Bubble, Airtable, Stripe, Notion, Salesforce, et bien d’autres. L’application offre la possibilité de transformer un design Figma en application. Le processus de création consiste ensuite à ajouter des tags à son design, de connecter l’application à ses sources de données pour enfin publier son application mobile. C'est vraiment notre coup de cœur de cette sélection. Il s'agit pour nous de l'équivalent de Webflow pour créer des applications mobiles. Par ailleurs ils ont des équipes en internes capables de vous accompagner pour créer votre application de A à Z. Bref, « Real apps, real fast » : le logiciel tient sa parole en termes de rapidité avec la possibilité de créer une application en quelques heures. Exemples d'applications mobile Bravo : 👉 Cut my Garden👉 Keyper👉 Kick-off 2# Adalo 3# Glide 7# Stage

WebODF  : Meilleur constructeur d'applications sans code | Aucune création d'application de code android-scripting - Scripting Layer for Android brings scripting languages to Android. SL4A's source has moved to github. The issue tracker, wiki, and downloads will continue to be hosted here. Scripting Layer for Android (SL4A) brings scripting languages to Android by allowing you to edit and execute scripts and interactive interpreters directly on the Android device. These scripts have access to many of the APIs available to full-fledged Android applications, but with a greatly simplified interface that makes it easy to get things done. Scripts can be run interactively in a terminal, in the background, or via Locale. SL4A is designed for developers and is alpha quality software. To install SL4A, you will need to enable the "Unknown sources" option in your device's "Application" settings. Still have questions? Want to learn more? Start by reading "Introducing SL4A: The Scripting Layer for Android" by Pieter Greyling and "Packaging and Distributing" by Paul Ferrill. You can buy "Practical Android Projects" on Amazon or directly from Apress. What's Powered by SL4A? Rockets Oplop

External Interface Tip « ActionScript 3, Flash, Flex Reflections This article will treat solutions to “swfObject.callback() is not a function” problem when using ExternalInterface in Flash/Flex. Ok, not so long ago I had to test some interaction between JavaScript and ActionScript. It wasn’t the first time I was using EI, and since it’s always good to start from a working examle, I set up the one provided by Adobe, test it – works fine. (An important note – you have to run it from a web server and add it to flash player’s security domain. I’ll show you how later). while what I needed was to call the AS function as soon as the document loads. and SURPRIIIIIIIISSEEEEEEEE !!!! setTimeout('callAsFunction();', 100) TADAAA, it worked, BUT, only in 9 out of 10 page refreshes. function onFlashReady() { sendToAS("another test message"); } function callJS(value) { onFlashReady(); return "Hi Flash and AS code: Note that you need a TextField on the stage with the name “tf”. Have fun coding! Like this: Like Loading...

Douglas Crockford - Google+ - JSDev JavaScript is a difficult language to test with.… JSDev JavaScript is a difficult language to test with. Unit testing wants to pull each function out to be tested individually, but that extraction can break the amazing implicit structures that nesting can produce. So I'm thinking that I want to insert some testing infrastructure directly into my program, delivering direct, explicit access to the private material. So I want to code that stuff as tagged comments (similar to the /*jslint*/ comments) and have a tool that converts the comments into executable forms automatically at development time. The program that does this is a companion to JSMin called JSDev.

Related: