Zoom Maps

ID #1058

12. 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 type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
	var params = {
	wmode: "transparent"
	};
	swfobject.embedSWF("locator_map.swf", "Map", "500", "400", "9.0.0", "", "", params);
</script>

 

Non-SWFObject code:

 

...
<param name="wmode" value="transparent" />
...

 

Tags: -

Related entries:

Last update: 2011-05-11 08:59
Author: Fla-shop Team
Revision: 1.0

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