Navigation
1 user online :: 1 Guest and 0 Registered
Records in this category
- What are the requirements to install and use Locator Maps?
- How do I install "USA Map Locator 3.0" on a webpage?
- Is it possible to install "USA Map Locator 3.0" to WordPress (Joomla, Drupal, other CMS) website?
- How to change the background color of the Locator Map?
- How to make the background of the map transparent?
- How to set an image as a background for the map?
- How to change the actual size of the map on a webpage?
- What is the difference between Locator Map 3.0 and 4.0?
- How to open some URL when a user clicks on the map?
- How can I change the color of specific states?
Tags
Locator Maps » Version 3.0
ID #1049
How to open some URL when a user clicks on the map?
In order to assign some URL to the click on a particular region, do the following.
1. Open the usa_locator.xml in any code/text editing application.
2. Find the desired region section and look for the <link> tag there.
... <state> <id>6</id> <name>Colorado</name> <link></link> <info></info> <color_map>0x7798BA</color_map> <color_map_over>0x366CA3</color_map_over> <frame></frame> <image></image> </state> ...
Write the URL you need within this tag:
... <link>http://www.yoururl.com/Colorado_dealers/</link> ...
Any valid URL will suite here. Additionally, you can specify custom JavaScript code here:
...
<link>javascript:window.alert('Hello world!')</link>
...Tags: -
Related entries:
- What are the requirements to install and use Locator Maps?
- How to change the background color of the Locator Map?
- How to make the background of the map transparent?
- How can I change the color of specific states?
Last update: 2011-04-28 08:01
Author: Fla-shop Team
Revision: 1.0
You cannot comment on this entry