2 Replies Latest reply on Feb 21, 2017 7:10 AM by Silly-V

    SVG and JS problem


      i am making a world map in SVG and i have to make such dialog boxes with some contact info and stuff... the text in the boxes are typography elements and every country has its own dialog box


      for instance norway: dialog-no


      and they are all grouped




      then i go into javascript


      and use this code










      to show the boxes, but when i click inspect it says that the id of the norway country is something with polygon #norway .st7


      so i tried type that inside the click function, but still nothing appears! what the heck is wrong here?