Tag Archives: html
Angry Birds as a Web App
Really, really cool, Rovio has released Angry Birds (and all the game assets) as a web app, Javascript and Canvas based. I can’t wait to see clones of Angry Birds with custom assets, maps and sounds. via Angry Birds as a Web App.
Finding duplicate ID’s on an HTML page
Looks like sometimes we forgot element ID’s are meant to be unique on a HTML page. Here is a little bit of code I just wrote to find duplicate ID’s on a page (run the code on your browser’s javascript console): var idList = {}; var nodes = document.getElementsByClassName(''); for (var i in nodes) { [...]
Mooml 1.1 – No more eval(), say Hi to Mooml.Template and Mooml.Templates
Mooml 1.1 has been finally released today and made available to everybody via Github and Mootools Forge plugin repository. What is new in Mooml 1.1 Mooml 1.1 has a lot of new features, but these are worth to mention: No more eval() Mooml.Template Mooml.Templates Pass functions as arguments to template functions References to elements with [...]
Creating HTML blocks with Mootools
Sometimes we need to create HTML from JS. There are multiple ways to do this, from using innerHTML to creating element by element appending child to parents, setting attributes, etc. And there are as many different opinions about what is the right way to do it. Meanwhile, once thing I missed from jQuery, not available [...]
Handling events on iPhone webapps
This week I have been working on a website for iPhone phones and I have discovered some interesting things about events. I am using plain Javascript, with no third party libraries, so I don’t know if they have any fix for these issues or if they affect them. For example, a couple of days ago [...]
