Locator Maps » Version 4.0

ID #1015

16. How to set an image as a background for the map?

To use an image as a background of the map, do the following:

1. Make the background of the map transparent.

2. Wrap the Locator Map embedded HTML code with any <DIV> tag that has a background image.

3. In the Locator Map embedded HTML code add the wmode: "transparent" parameter as follows:

 SWFObject code:

<script src="swfobject.js" type="text/javascript"></script>
<script type="text/javascript">
		var params = {
		  wmode: "transparent",
		  menu: "false"
		};
		var flashvars = {
		  datafile: "data.swf",
		  xmlfile1: "locator_map.xml"
		};		
		swfobject.embedSWF("locator_map.swf", "locator_map", "500", "400", "9.0.0", "", flashvars, params);
</script>
<div id="locator_map">Alternative content</div>


Tags: -

Related entries:

Last update: 2011-04-28 07:47
Author: Fla-shop Team
Revision: 1.2

Digg it! Share on Facebook Print this record Send FAQ to a friend Show this as PDF file
Please rate this FAQ:

Average rating: 0 (0 Votes)

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry