Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Message When a Part of a Graphic is Clicked

New Here ,
Aug 15, 2019 Aug 15, 2019

I have a map of the state of Oklahoma. 10 of the counties are a different color. When a viewer clicks on one of those differently-colored counties, I want a message block to pop up that tells some details about that county. I thought that it was a "Disjointed Rollover" and when I followed the directions, it only allowed me to swap out images. Is this the right thing and I need to make each "details block" a graphic? If not - how can I get this to work?

Thanks!

Brad

[email address removed by Mod]

293
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 15, 2019 Aug 15, 2019

These 'hotspots' are image maps, see How to include interactive hotspots in your web site​. On the link that is used for the 'hotspot', you can use a tooltip or popover to show more detail

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 15, 2019 Aug 15, 2019

Or you can add a title="something here..." attribute to the hotspot.  It's nothing fancy but it works.

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 15, 2019 Aug 15, 2019
LATEST

completing what Ben and Nancy said, does this help you

SVG scripting example: an interactive map

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines