Open anrainer opened 6 years ago
The name
attribute is what makes an image map work. The spec says:
The name attribute gives the map a name so that it can be referenced. The attribute must be present and must have a non-empty value with no space characters. The value of the name attribute must not be a compatibility-caseless match for the value of the name attribute of another map element in the same document. If the id attribute is also specified, both attributes must have the same value.
Hi Stowball,
May I suggest to make your script reacting on attribute "id" also? I think it's around line 44.
You made a great script, thanks for sharing!
Andreas