You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello and thanks to anyone that has a suggestion...
My project is a city map of neighborhoods along with a list of consolidated areas that include several individual neighborhoods. Each individual neighborhood in the city as well as lines in the list of consolidated areas are defined in the markup portion. I'm trying to cause a click within any defined area to open up a webpage in a new window (as in target="_blank"). Below are one relevant line from the markup (for one of my "consolidated" areas) as well as my script.
Currently ImageMapster functionality works fine except that the webpage opens in the same window as my imagemap and replaces it. I've tried using onClick: within the 'Central Charm' area in the script, for instance, to include some variation of but can't seem to get the syntax right. No matter how I try to use onClick it kills ImageMapster (highlighting disappears) although the referenced page does open in a new window (probably just from the markup). What's aggravating is that I thought I had it working with a test file but lost that and now can't recreate it. Any suggestions would be appreciated and I'm very much of a noob. Thanks!
Hello and thanks to anyone that has a suggestion...
My project is a city map of neighborhoods along with a list of consolidated areas that include several individual neighborhoods. Each individual neighborhood in the city as well as lines in the list of consolidated areas are defined in the markup portion. I'm trying to cause a click within any defined area to open up a webpage in a new window (as in target="_blank"). Below are one relevant line from the markup (for one of my "consolidated" areas) as well as my script.
Currently ImageMapster functionality works fine except that the webpage opens in the same window as my imagemap and replaces it. I've tried using onClick: within the 'Central Charm' area in the script, for instance, to include some variation of but can't seem to get the syntax right. No matter how I try to use onClick it kills ImageMapster (highlighting disappears) although the referenced page does open in a new window (probably just from the markup). What's aggravating is that I thought I had it working with a test file but lost that and now can't recreate it. Any suggestions would be appreciated and I'm very much of a noob. Thanks!
<area target="_blank" alt="Central Charm" title="Central Charm" data-key="Central Charm" href="http://www.tkhrealty.com/listing-report/Central-Charm/290059" coords="26,503,203,520" shape="rect">
The text was updated successfully, but these errors were encountered: