Global.helma.Html.map (name, param)
Renders an image map from an array each array contains an object describing the parameters for the area of the image map

  • Parameter String:
    name of the image map
  • Parameter String:
    array of image map objects
Sourcecode in /home/hannes/helma/modules/helma/Html.js:
476:   this.map = function(name, param) {
477:           self.openTag("map", {name: name});
478:           var areas = Object.clone(param);
479:           for (var i in areas) {
480:               if (!areas[i].alt)
481:                   areas[i].alt = "";
482:               if (!areas[i].shape)
483:                   areas[i].shape = "rect";
484:               self.openTag("area", areas[i]);
485:          }
486:          self.closeTag("map");
487:          return;
488:      }