Posts Tagged: javascript

Event-driven programming in the browser

On the front end we use events every day but without jQuery many of these wouldn’t exist. DOM Ready has only recently become a real browser event, before that libraries like jQuery and Prototype created and fired it for us. DOM Ready was a custom event and the functionality for creating custom events exists for… Read more »

Beware of getScript callbacks when document.write and eval get involved

Update, 10/11/11: Since I first wrote this post several excellent script loaders have been released, notably YepNope.js and the defer and async attributes have made it into the webkit builds so the problems described above will become easier to cause! Event driven programming can work around this problem and maintain the structure of your files…. Read more »

Google Map

Background. Google Maps has a really well documented API, and the maps are really cool. I wanted to see quite how easy it all was. Google Maps API. The solution I’ve created uses the API to display and customise a map, adding markers and descriptive text. It uses the marker manager to control which markers… Read more »