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
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?
Do not use the "Save-As" SVG export, instead use the Web Optimized SVG Export from the Export menu item. The "Save-As" version mangles up a lot of the svg code. Still, check your tag names to verify that your layer names carried over like you expected.