Thomas Aylott, the author of the JavaScript Bundle for Textmate, announced that he added the completion feature to his package. This is great news. as far as I know, this is the first completion made available for Textmate and I understand it is easily extended so we could see several other languages being supported soon. […]

This week I’ve worked on a social lightbox for Teeorama allowing our visitors to tweet or write on their Facebook walls from our tee-shirt shop.The lightbox itself is built using ColorBox, a powerful and customizable lightbox library built on JQuery (MIT License). The Twitter tool is fairly easy to setup, I used bit.ly to generate […]

Firefox est depuis longtemps le navigateur par defaut du web developeur, et pour cause, il s’accompagne de deux outils incontournables : firebug et la web developper toolbar. Cependant, de plus en plus d’outils permettent, sinon de developper completement sous IE, de debugguer ses scripts et ses styles plus facilement. Jash, le javascript shell est l’un […]

J’ai décidé de mettre mon pseudo Skype sur mon site perso et je souhaitais en faire un lien direct permettant de lancer Skype et de m’appeler… une rapide recherche sur Internet et je trouvais un script Javascript (mis à disposition des développeurs par Skype) permettant de lancer un appel, de visualiser un profil ou d’ajouter […]

getElementsByClass

January 26, 2007 | Leave a Comment

Lors du développement de mon site perso, j’ai eu besoin d’une fonction javascript qui retourne une liste d’éléments dont le nom de classe est passé en paramètre. J’ai utilisé le code ci-dessous : 123456789101112131415document.getElementsByClassName = function(className) { var expression = new RegExp(‘(^| )’+className+'( |$)’); var allelements = document.body.getElementsByTagName(‘*’); var elements = []; for(var i=0; i […]

  • About Me


    photo of Samantha Halfon Samantha Halfon
    Software Engineer
    blueKiwi software
    Paris, France
    I enjoy playing with my computer(s), listening to Bob Dylan (and related artists) and watching movies (especially if they were directed by Martin Scorsese or John Cassavetes). Sometimes, I play a little guitar... If not doing any of the above, I am either riding a small red bike around Paris, or, making videos. About my videomaking please check out World Wide Angle and its blog.