How to sit at work :)

30.11.10

Aguirre, Wrath of God

24.11.10

A breathtaking journey into the heart of darkness.

The film is about a Spanish group of  expediters going in search of El dorado, the city of gold.

Dynamic imagemap with javascript/jquery

I had some difficulty in finding a cross browser method for creating image map dynamically, somehow managed to do with following code, I am not sure if a better cross-browser solution exists.

if ($.browser.msie){
map=$('<map name="somename_map"></map>');}
else{
map=document.createElement('map');
$(map).attr({'name':'somename_map'});
}

Later we can catch this element using following code.