World Maps » Zoom World Map

ID #1001

How to change the size of the map?

Sample Map with width=400 and height=200 :

 

The size of our Flash map can be easily altered by adjusting the ‘height’ and ‘width’ tag values in the HTML code for the flash map.

  Non-SWFObject Code:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="400" height="200" id="world" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="locator_map.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#FFFFFF" />
<embed src="locator_map.swf" quality="high" bgcolor="#FFFFFF" width="400" height="200" name="world" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

SWFObject Code:

<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
	var params = {
	wmode: "transparent"
	};
	swfobject.embedSWF("locator_map.swf", "Map", "400", "200", "9.0.0", "", "", params);
</script>
<div id="Map">&nbsp;</div>

Tags: height, HTML, size, width

Related entries:

Last update: 2011-08-07 06:27
Author: Fla-shop Team
Revision: 1.10

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