Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Marc4

macrumors member
Original poster
Apr 14, 2008
54
0
HTML:
<script type="text/javascript" src="http://www.interactivemaps.org/visited_countries/swfobject.php"></script>
<div id="visitedcountries">
This application is created by <a href="http://www.interactivemaps.org" target="_blank">interactive maps.</a><br>	You can also have your <a href="http://www.interactivemaps.org/visited_countries/" target="_blank">visited countries map</a> on your site.<br><br>	If you see this message, you need to <a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" target="_blank">upgrade your flash player.</a></div>

<script type="text/javascript">
var so = new SWFObject("http://www.interactivemaps.org/visited_countries/visited_countries.swf", "visitedcountries", 1000, 600, "7", "#000000");

addLocation('BW', '', '', '');	//Botswana 
addLocation('CM', '', '', '');	//Cameroon 
addLocation('CF', '', '', '');	//Central African Republic 
addLocation('EG', '', '', '');	//Egypt 
addLocation('GQ', '', '', '');	//Equatorial Guinea 
addLocation('GW', '', '', '');	//Guinea-Bissau 
addLocation('GN', '', '', '');	//Guinee Conakry 
addLocation('CI', '', '', '');	//Ivory Coast 
addLocation('KE', '', '', '');	//Kenya 
addLocation('MG', '', '', '');	//Madagascar 
addLocation('ML', '', '', '');	//Mali 
addLocation('MU', '', '', '');	//Mauritius 
addLocation('NE', '', '', '');	//Niger 
addLocation('RE', '', '', '');	//Reunion 
addLocation('SN', '', '', '');	//Senegal 
addLocation('ZA', '', '', '');	//South Africa 
addLocation('IN', '', '', '');	//India 
addLocation('JP', '', '', '');	//Japan 
addLocation('PH', '', '', '');	//Philippines 
addLocation('SG', '', '', '');	//Singapore 
addLocation('AU', '', '', '');	//Australia 
addLocation('NZ', '', '', '');	//New Zealand 
addLocation('DM', '', '', '');	//Dominica 
addLocation('DO', '', '', '');	//Dominican Republic 
addLocation('SV', '', '', '');	//El Salvador 
addLocation('GT', '', '', '');	//Guatemala 
addLocation('HN', '', '', '');	//Honduras 
addLocation('JM', '', '', '');	//Jamaica 
addLocation('MQ', '', '', '');	//Martinique 
addLocation('NI', '', '', '');	//Nicaragua 
addLocation('PR', '', '', '');	//Puerto Rico 
addLocation('KK', '', '', '');	//Saint Kitts and Nevis 
addLocation('AT', '', '', '');	//Austria 
addLocation('BE', '', '', '');	//Belgium 
addLocation('CZ', '', '', '');	//Czech republic 
addLocation('DK', '', '', '');	//Denmark 
addLocation('EE', '', '', '');	//Estonia 
addLocation('FI', '', '', '');	//Finland 
addLocation('FR', '', '', '');	//France 
addLocation('DE', '', '', '');	//Germany 
addLocation('GR', '', '', '');	//Greece 
addLocation('IE', '', '', '');	//Ireland 
addLocation('IT', '', '', '');	//Italy 
addLocation('LV', '', '', '');	//Latvia 
addLocation('LT', '', '', '');	//Lithuania 
addLocation('NO', '', '', '');	//Norway 
addLocation('PL', '', '', '');	//Poland 
addLocation('PT', '', '', '');	//Portugal 
addLocation('RO', '', '', '');	//Romania 
addLocation('SK', '', '', '');	//Slovakia 
addLocation('ES', '', '', '');	//Spain 
addLocation('SE', '', '', '');	//Sweden 
addLocation('CH', '', '', '');	//Switzerland 
addLocation('UK', '', '', '');	//United Kingdom 
addLocation('JO', '', '', '');	//Jordan 
addLocation('TR', '', '', '');	//Turkey 
addLocation('CA', '', '', '');	//Canada 
addLocation('US', '', '', '');	//United States 
addLocation('MX', '', '', '');	//Mexico 
addLocation('AR', '', '', '');	//Argentina 
addLocation('BR', '', '', '');	//Brazil 
addLocation('CL', '', '', '');	//Chile 
addLocation('CO', '', '', '');	//Colombia 
addLocation('EC', '', '', '');	//Ecuador 
addLocation('GF', '', '', '');	//French Guiana 
addLocation('PY', '', '', '');	//Paraguay 
addLocation('PE', '', '', '');	//Peru 
addLocation('UY', '', '', '');	//Uruguay 
addToFlash();

so.addVariable("stageWidth", 1000);
so.addVariable("stageHeight", 600);
so.addVariable("infoOver", "enabled");
so.addVariable("zoomFunction", "checked");
so.addVariable("bgColor", "666666");
so.addVariable("visitedColor", "5EB7DE");
so.addVariable("notVisitedColor", "CDCDCD");
so.addVariable("countryBordersColor", "666666");
so.addVariable("helpTextColor", "000000");
so.addVariable("helpText", "Mark the area you wish to zoom in");

so.addParam("scale", "noscale");
so.addParam("salign", "lt");

so.write("visitedcountries");
</script>

<table width="1000" bgcolor="#333333" border="0" cellspacing="4"><tr><td style="color: #FFFFFF; font-face: Arial; font-size: 12px;">  Make your <a href="http://www.interactivemaps.org/visited_countries" target="_blank" style="color: #FFCC33; font-face: Arial; font-size: 12px;">visited countries map</a></td><td align="right"><a href="http://www.amcharts.com/" target="_blank" style="color: #FFCC33; font-face: Arial; font-size: 12px;">Flash stock charts</a></td></tr></table>
 
hosted the script on my server at http://boxgamex.net/iphone/

Nice job Marc4!

I like how you can see the name of the country offering the iPhone when you mouse over it. a suggestion for improvement though - can you make it show every country's name (and maybe have the box that the name appears in be grey or blue depending on status)? As I moused around the map, it made me curious what some of the countries on the map were that do not have the iPhone available (especially when most around it did have it).
 
Nice, nice.

Can you add under the country's name what carrier won? :)

What if no carriers won? We're going to have at least two official carriers here if not more. We'll most likely have unlocked phones as well like every other phone here that can be sold and put onto any network.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.