Zoom Maps

ID #1059

13. How to change the actual size of the map on a webpage?

You can adjust the desired height and width of the map in the embedded HTML code:

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:

 

<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="500" height="400" id="world" align="middle">
...
<embed src="locator_map.swf" quality="high" bgcolor="#FFFFFF" width="500" height="400" name="world" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

 

In the above fragments, 500 corresponds to the width and 400 corresponds to the height of the map in pixels.

 

Tags: -

Related entries:

Last update: 2011-05-11 09:02
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