/* Google maps fix, caused by bootstrap 2, img max width=100% breaks zoom in-out buttons */
div.gm-style img{max-width:none}
Google SMTP Information
SMTP Server: smtp.gmail.com
Port: 465
SMTP Connection Timeout: 60
SMTP Authentication: 1
Send Username: **Account**@gmail.com
Send Password: **password**
** = Your actual account information
Google Translate width fix
#nav ul li a{max-width:60px;}
.translated-ltr #nav ul li a{max-width:none;}
.translated-ltr #nav ul li a font{display:block!important; max-width:60px;}
Google click tag
//The Actionscript2 Part
on (release) {
getURL(clickTAG, "_blank");
}
//The Actionscript3 Version (This does not work for google, use the Actionscript2 version above)
var paramList:Object = this.root.loaderInfo.parameters;
buttonOverlay.addEventListener(MouseEvent.CLICK, openURL);
function openURL(evtObj:MouseEvent):void {
var request:URLRequest = new URLRequest(paramList["clickTAG"]);
navigateToURL(request, "_blank");
}
//The HTML part
<object type="application/x-shockwave-flash" data="http://url_of_the_banner.com/swf/banner1.swf?clickTAG=http://the_landing_page.com" width="728" height="90">
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="swfversion" value="6.0.65.0" />
<param name="expressinstall" value="scripts/expressInstall.swf" />
<param name="movie" value="http://url_of_the_banner.com/swf/banner1.swf?clickTAG=http://the_landing_page.com" />
</object>
Google Maps template
<!DOCTYPE html "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Google Maps JavaScript API Example</title>
<script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAaqyauoObSB9ajYS8fTVCHBQm2bG0UYNbc1ShLGlKVUcWZoBKOhTM9Nr8O4uNXzfVkhpZPva1Zd-zjg&sensor=false"
type="text/javascript"></script>
<script type="text/javascript">
function initialize() {
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map_canvas"));
map.setCenter(new GLatLng(41.165926,-105.355024), 14);
map.setUIToDefault();
}
//Coordinates
var point1 = new GLatLng(41.165926,-105.355024);
var point2 = new GLatLng(41.16598,-105.356);
//Baloon Text
var point1Text = "<strong>The Devils Playground</strong><br /><br />Vedawoo, Buford Wyoming";
var point2Text = "Campsite 02/03/05<br />Watch out for the Rods!!";
// Setup marker 1
var marker1 = new GMarker(point1);
map.addOverlay(marker1);
marker1.openInfoWindowHtml(point1Text);
GEvent.addListener(marker1, "click", function() {
marker1.openInfoWindowHtml(point1Text);
});
// Setup marker 2
var lightRailIcon = new GIcon(G_DEFAULT_ICON);
lightRailIcon.image = "http://hyperspatial.com/image-bin/camp1.png";
lightRailIcon.iconSize = new GSize(93, 45);
lightRailIcon.shadowSize = new GSize(0, 0);
lightRailIcon.iconAnchor = new GPoint(93, 45);
lightRailIcon.infoWindowAnchor = new GPoint(93,45);
lightRailIcon.imageMap = [0,0, 93,0, 93,45, 0,45];
markerOptions = { icon:lightRailIcon };
var marker2 = new GMarker(point2, markerOptions);
map.addOverlay(marker2);
GEvent.addListener(marker2, "click", function() {
marker2.openInfoWindowHtml(point2Text);
});
}</script>
</head>
<body onload="initialize()" onunload="GUnload()">
<div id="map_canvas" style="width: 460px; height: 335px"></div>
</body>
</html>