Example 7: Using hotspots to switch regions and more!
This example illustrates the use of clickable regions on
the images that can trigger
loading a different file_of_filenames, show a pop-up message,
or present a different web page.
Be sure to click on the white triangle(s) in the corner(s)!
Here is the very basic configuration file:
bottom_controls = startstop, overlay, looprock, step, speed, refresh
controls = framelabel
active_zoom = true
overlay_static = y,n,y,n
overlay_zoom = y,y,y,n
overlay_labels = Topo/on, Radar/on, Counties/on, nesw/always
file_of_filenames = mpx_NCR_overlayfiles.txt
For those who want to switch file_of_filenames from their
own HTML, you can do that! Here's an example that you might
include on your page (with some styling, of course!):
<button onclick="HAniS.newFOF('mystuff/fof.txt')">Show New
File_of_Filenames</button>