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

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

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.

40 Useful jQuery Techniques and Plugins - Smashing Magazine Over the last year, Smashing Magazine has evolved. We’ve been publishing fewer lists and more in-depth articles about design and Web development. We have invited professionals and high-profile developers to write for us. We’ve been investing more resources in the quality and relevance of our articles. We’ve tried our best to fuel the growing appetite of our readers for more advanced articles, but recently we’ve been receiving more requests for carefully selected, useful round-ups. In this post, we present 40 useful but obscure jQuery plug-ins that will hopefully help you improve the user experience on your websites. TipTip jQuery PluginTipTip detects the edges of the browser window and will make sure the tooltip stays within the current window size. Contextual Slideout Tips With jQuery and CSS31A set of contextual slideout tips with jQuery and CSS3, which are ideal for product pages and online tours. jQuery MegaMenu Plugin8 Forms Link Slideshows and Galleries Link Layouts Link

Evolution des prix de l'immobilier : simulez votre pouvoir d'achat Mis à jour le , publié le Combien avez-vous perdu ou gagné de mètres carrés depuis 2000 ? C'est ce que francetv info vous propose de calculer grâce à un moteur de recherche exclusif. Comment ça marche ? Puis sélectionnez les dates que vous souhaitez comparer. A noter que nous n'avons pas pris en compte un éventuel apport personnel. Exemple : à Lyon (Rhône), avec un revenu mensuel de 3 000 euros, vous auriez pu acheter 122,51 m2 en 2000 au lieu de 51,8 m2 en 2011.

10 jQuery Transition Effects: Moving Elements with Style Whatever content you have to present, you can present them in a more interactive & more responsive ways. In this article we’d like to present 10 Brilliant techniques using some jQuery magic to grab the attention of your users with a simple, rich user experience that gets them excited about your website. 1. Fluid Navigation – How to create an informative menu-bar with jQuery & CSS Learn how to create a menu that appears like a standard menu bar in it’s default state, but which on rollover pulls down an information area that covers both the original menubar item and has an expanded section containing the text we want to display. 2. Roundabout is a jQuery plugin that converts a structure of static HTML elements into a highly customizable turntable-like interactive area. 3. A simple image slider using HTML/CSS/Javascript. 4. jQuery Quicksand Plugin With Quicksand you can reorder and filter items with a nice shuffling animation. 1. 5. jQuery Magic Line Sliding Style Navigation 6. 8. 9. 10.

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.

About Tableau's Products Tableau Software offers a full range of business intelligence and visualization tools that enable anyone to see, understand and share their data. Solutions range from free visualization software for bloggers and journalists, to a full featured business intelligence suite for organizations. As long as you have a desire to find and share answers with your data, Tableau can help. Tableau Public Visualize and share public data in minutes... for free! Create beautiful visualizations with your dataPublish your creations to the web for freeEmbed your views in any blog or websiteView any visualization through a browser or mobile deviceLearn More About Tableau Public Tableau Public Premium Share findings while protecting your underlying data Utilize all of the storytelling power of Tableau PublicUpgraded storage limits so you can share more dataDisable data download to protect your underlying rowsAccess to Tableau Customer SupportLearn More About Tableau Public Premium

WebODF 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.