[Mapbender-users] Problem with mod_usemap in 2.7

Kai Behncke Kai-Behncke at gmx.de
Mon Mar 28 02:49:27 EDT 2011


Dear users,

I tried to use mod_usemap in Mapbender 2.7
(http://www.mapbender.org/Modules#UseMap).

Where in Mapbender 2.6.2 it works great, it does not in 2.7.

I get: "document.getElementById("um_img") is null"

The error occures because of http:/javascripts/mod_usemap.php

in line 40 (var myImg = document.getElementById("um_img").style;)


In Mapbender 2.6.2 "um_img" was declared in 
.../http/php/mod_map1.php

In 2.7 that file does not exist any more.
Has anybody an idea for a workaround?

Thank you very much, Kai
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de


More information about the Mapbender_users mailing list