public marks

PUBLIC MARKS with tags javascript & js

June 2009

jQuery TOOLS - The UI library for the Web

by Xavier Lacot & 13 others
jQuery Tools is a collection of the most important js user-interface components. It defines itself as THE web js UI library, and explains that "do you really need drag-and-drop, resizable windows or sortable tables in your web applications? Websites are not desktop applications. They are different.". Just a pinch at jQuery UI ?

May 2009

Dynamically Created Radio Buttons - Another IE Gotcha

by astrochoupe
As soon as I think I have it all worked out I bump into another oddity between Firefox and IE and handling the DOM. Specifically adding a radio button (or set of them) dynamically. My initial javascript went something like this: # var rdo = document.createElement('input'); # rdo.type = 'radio'; # rdo.id = 'someUniqueID'; # rdo.name = 'myRadio'; # rdo.value = 1; # # myDocumentsBody.appendChild(rdo); This almost worked perfectly. The input was added, it was a radio button, but it was totally unselectable. I could select it via javascript but the normal "click" event didn't cause the radio button to assume the "selected" state in IE? What gives?

March 2009

gnome-shell under Seed (not)

by greut
Differences between GJS (spidermonkey) and Seed (webkit) regarding the existing work on the next gnome-shell.

PhoneGap

by greut & 8 others (via)

PhoneGap is a development tool that allows web developers to take advantage of the core features in the iPhone, Android, and Blackberry SDK using JavaScript.

abstraction layer to the many phone APIs around there.

February 2009

Regex tester en Javascript

by sdaclin & 1 other
Un outil super utile : un testeur de regex en Javascript. Si comme moi vous préfèrez procéder pour itérations pour affiner une regex et arriver au résultat voulu, vous apprécierez cet outil qui permet comme le regexcoach de tester vos regex au fur et à mesure.

January 2009

Raphaël—JavaScript Library

by Xavier Lacot & 14 others
A js library which goal is to provide an adapter that will make drawing cross-browser and easy. Its capabilities are SVG and VML.

Datejs - A JavaScript Date Library » About…

by Xavier Lacot & 11 others
A comprehensive javascript date library. A large panel of syntaxes are supported ("today", "next thursday", "last june", "2009/12/28", "2009/28/11é, etc.

December 2008

Memoizing recursive functions via the fixed-point Y combinator: Applying functional programming techniques to Javascript

by greut

Is it possible to express a "recursive" function like factorial without using recursion or iteration? The answer--often surprising--is yes. The technique involved--expressing recursive functions as fixed-points--leads to a more fundamental understanding of recursion.

Wow, there's a lovely world that needs to be explored

Prototip 2 - JS Tooltips with Prototype

by eaque & 3 others
Libraire pour créer des tooltips facilement.

November 2008

JS-909 : JavaScript drum-machine

by xibe & 6 others, 1 comment
blogpost : http://www.themaninblue.com/writing/perspective/2008/11/17/

File I/O

by greut, 1 comment

This document describes an interface for an abstract File I/O interface where web applications can interact with a file system, without any prior knowledge about the underlying filesystem. This interface can be used for e.g. an image preview before submitting a form or for saving a drawing from a canvas painting web application locally.

open the web

simpleCart(js) PayPal = E-commerce in minutes | The Wojo Group

by camel & 5 others (via)
SimplaCart (js) est un script très léger (10,5 Kb) qui permet d’ajouter la fonction “achat en ligne” en quelques lignes de codes. Il utilise les cookies pour garder les références des articles dans le panier d’achat. SimplaCart (js) n’exige pas de bases de données ou de connaissance élevé en programmation : vous devez simplement être a l’aise avec l’HTML de base et avoir de bons reflexes pour “copier/coller”!

obtrusivejavascriptchecker - Google Code

by greut & 1 other

Goes through all the HTML code in a web page, and outlines any HTML element with inline events with a red border.

nifty idea (via codepo8)

Recharger le cache CSS ou JS à chaque mise à jour des fichiers - Le Potlatch

by daxlebo & 1 other
Votre site accueille des visiteurs réguliers et vous devez modifier une feuille de style CSS ou un script JS. Problème : ces fichiers sont mis en cache sur le navigateur (côté client), et les utilisateurs risquent de ne pas bénéficier des modifications avant plusieurs jours. Ou pire, pour peu que le source HTML ait changé, l'affichage sera illisible ou les fonctions totalement inutilisables ! Voici une solution simple qui ne demande qu'une ligne de PHP et se mettra à jour automatiquement par la suite.

October 2008

Éviter les événements trop fréquents — Performance web

by claire_ & 1 other
Les bons développeurs javascript utilisent les événements, à toutes les sauces. En fait quasiment tout ce qui est fait en javascript est en réaction à un événement. On arrive à deux problématiques qui ont un un impact plus ou moins important sur les performances :

SitePen Blog » The Cross-Browser Window Focus Blues

by greut

you want it to lock the user out when the browser hasn’t had focus after 15 minutes? Well that’s easy you think, I’ll just connect to the document’s blur and focus events and be good to go.

msie6 quirkiness

Speeqe – Trac

by greut (via)

Speeqe is a web based, group chat client that works with the XMPP/MUC protocol.

and open source since a couple of days.

September 2008

dW - Article Archive - Tweet from Opera’s Address Bar 2

by greut

A week ago I wrote about tweeting from Opera’s address bar and presented a method for doing so without aid for external scripts or services such as a method given a couple of months ago. Since then my method has made its way across the interwebs even being posted on My Opera, but there’s a better way to do it.

nice hack.

JavaScript Events - Zürich WebTuesday 9.9.08

by greut, 3 comments

JavaScript Events: What can we learn from Desktop Applications?

presentation I gave at the 9.9.08 webtuesday, everything is in the page.

August 2008

July 2008

Yahoo UI vs JQuery : quel framework Javascript pour vos applications Web 2.0 ?

by daxlebo
Yahoo UI et JQuery sont deux frameworks Javascript qui simplifient la gestion d'Ajax, la mise en place d'interfaces clients riches et les interactions au sein des pages Web. La ressemblance s'arrête là. Car c'est un peu comme si on comparait une multinationale à la start-up du coin (comme leurs créateurs d'ailleurs). A ma gauche, YUI, solide, bien structuré, dont chaque extension est calibrée à la ligne de code près ; à ma droite, JQuery, rapide, dynamique, et doté d'une armada d'extensions de qualité très variable. Petite revue de détail.