Important information about cookies
This website uses it's own and third party cookies to provide a better service. Cookies are not used to collect personal information. If you continue browsing it is considered that you accept this use. For more information, check our cookies policy.

| català | english | español |
Sale of computer equipment
Computer repair and assembly
Network administration and maintenance

Tooltip over SVG

In the svg file, each layer is specified by naming its class (class='class_name').
Outside the svg, there are hidden layers that relate to those of the svg with the same layer name as id (id='class_name').
When hover the layers are shown following the movement of the mouse pointer.
It uses a javascript script, without any libraries, to show and hide layers of information and to track the mouse.

Example on the map of the "Vegueries of Catalonia".
  Download [ca]
44 kb
The SVG map design and the javascript code to show the Tooltips, are originals from BinariEM.
You are free to use it for any purpose, as long as you cite the authorship and source.
Created by arnAu bellavista; original code from BinariEM.
Alt Pirineu i Aran
· Sort
· Girona
· Manresa
· Lleida
· Barcelona
Camp de Tarragona
· Tarragona
Terres de l'Ebre
· Amposta