Html
User interactions with soma-template
As a reminder, soma-template is a DOM-based web template engine that will help you insert content in html pages with native DOM manipulation. Events have been added to soma-template. You can now...
read articlesoma-template seamless dom manipulation
soma-template is a web template engine. The library aims to help developers insert data in their html applications using native DOM capabilities. Most web template engine today are...
read articleSoma events native DOM 3 Observer pattern
At some points, any developer will read something about loose-coupling and the Law of Demeter. It is usually happening when you are writing code that becomes a bit larger and you start to have...
read articlesoma.js router plugin
I wrote a router plugin for soma.js to create internal routes in a web app. The plugin is based on the amazing library davis.js (thanks a lot to the author Oliver from New Bamboo for the help). It...
read articlejavascript motion detection
This is a motion detection experiment in javascript, and before starting any explanation: Click here to see the demo. To see this demo with your own webcam, you will need to download a browser that...
read articleFirefox 3.6 Mac bug with MouseEvent
Firefox 3.6 introduced a very annoying bug, and only on a Mac. If you're using somewhere a MouseEvent.ROLL_OUT or MouseEvent.MOUSE_OUT, this event will fired even if you only click on a object without...
read articleSomaText update and TextField bad behavior
I made a small update in the SomaText class (also Soma and SomaUI because of a bad behavior with the TextField class. The TextField instance is losing the HTML formatting in case you set the htmlText...
read articleBackground fitting the browser (html/css/javascript)
This has nothing to do with flash but I share this quick try as I saw a lot of people looking for a background that fit the browser in html. I used the ratio out I explained in this previous post,...
read article