background preloader

JavaScript

Facebook Twitter

Comment déminifier un code Javascript - Korben. Comment déminifier un code Javascript Vous avez enfin trouvé le JavaScript qu'il vous faut, mais Ô rage, Ô désespoir, celui-ci est tellement minifié qu'il en est incompréhensible !

Comment déminifier un code Javascript - Korben

Minifié, pour ceux qui l'ignorent, ça veut dire que le code a été compacté tout simplement en supprimant tout l'indentation, les espaces et en réduisant le nom des variables. Arrêtez donc de vous lamenter sur ce monde cruel et sur le statut précaire des développeurs face à toutes ces minifications sauvages ! Dites stop et adoptez JS Nice. Non, ce n'est pas un service mis au point par Bono.

Language (javaScript JS)

Javascript tools. Microjs: Fantastic Micro-Frameworks and Micro-Libraries for Fun and Profit! Testing. HTML Javascript CSS for Mobile. 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.

External Interface Tip « ActionScript 3, Flash, Flex Reflections

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). Now in this example the flash function is called the onClick event of form button is fired: 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”. Android-scripting - Scripting Layer for Android brings scripting languages to Android. SL4A's source has moved to github.

android-scripting - Scripting Layer for Android brings scripting languages to Android.

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. Python, Perl, JRuby, Lua, BeanShell, JavaScript, Tcl, and shell are currently supported, and we're planning to add more. 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? Douglas Crockford - Google+ - JSDev JavaScript is a difficult language to test with.… JSDev JavaScript is a difficult language to test with.

Douglas Crockford - Google+ - 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. Douglas Crockford.

Convert

Chart - ELYCHARTS. JS examples. Methodology (JS) Javascript - les boîtes de dialogue. Octobre 2012 Qu'est-ce qu'une boîte de dialogue? Une boîte de dialogue est une fenêtre qui s'affiche au premier plan suite à un événement, et qui permet Soit d'avertir l'utilisateur Soit le confronter à un choix Soit lui demander de compléter un champ pour récupérer une information Ce type de boîte est à utiliser avec parcimonie car elle oblige une action de la part de l'utilisateur, et est à terme très énervante... Window.document.getElementById() - Référence Tout JavaScript. Lib (JavaScript) Others lib. Ajax (informatique) Un article de Wikipédia, l'encyclopédie libre.

Ajax (informatique)

Pour les articles homonymes, voir Ajax. PolyCrypt (a WebCrypto / Web Cryptography implementataion) Comparison of JavaScript frameworks. W3Schools Online Web Tutorials. Html - Inline onclick JavaScript variable. DLFP: WebODF et Sylpheed. WebODF.

Tuto

Javascript/AJAX. 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.

jQuery Before/After Plugin

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? The possibilities for this plugin are endless. Download. 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. Jsdo.it - Share JavaScript, HTML5 and CSS. Tipped - The Javascript Tooltip Framework.

Tipped allows you to easily create beautiful tooltips using the jQuery Javascript library.

Tipped - The Javascript Tooltip Framework

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. This means that tooltip styles can easily be changed without having to create any images. Canvas based tooltips also have the advantage that they look great in every browser, even in IE6!