The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Google Map Help!
Hey everyone,
I have been trying to add a google map to <a href= "http://www.laclubchat.com">my site</a>. However, even the simplest map from google, directly copied and pasted, will not work. I did get the map to work well at <a href= "http://www.socalapartmentreviews.com">my other site.</a> I really want to launch my site soon and this map will be critical. Any advice will be helpful! Here is the code for a simple map that Im inserting in the Ad Location Footer Start section: <!DOCTYPE html PUBLIC "-//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...Q60UsZZ9aPnBBA" type="text/javascript"></script> <script type="text/javascript"> //<![CDATA[ function load() { if (GBrowserIsCompatible()) { var map = new GMap2(document.getElementById("map")); map.setCenter(new GLatLng(37.4419, -122.1419), 13); } } //]]> </script> </head> <body onload="load()" onunload="GUnload()"> <div id="map" style="width: 500px; height: 300px"></div> </body> </html> And here is the code Im using with the full footer: $ad_location[ad_footer_start] <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-4791596-1"; urchinTracker(); </script> <div align="center"> <div class="smallfont" align="center"> <!-- Do not remove this copyright notice --> $vbphrase[powered_by_vbulletin] <br />A <a href="http://vbskinworks.com">vBSkinworks</a> Design <!-- Do not remove this copyright notice --> </div> <div class="smallfont" align="center"> <!-- Do not remove $cronimage or your scheduled tasks will cease to function --> $cronimage <!-- Do not remove $cronimage or your scheduled tasks will cease to function --> $vboptions[copyrighttext] </div> </div> <br /> $spacer_close <!-- /content area table --> <form action="$vboptions[forumhome].php" method="get"> <table width="100%" border="0" cellpadding="0" cellspacing="0" background="$stylevar[imgdir_misc]/footer_left_bg.gif"> <tr> <td height="30" background="$stylevar[imgdir_misc]/footer_left.gif" style="background-repeat:no-repeat;"><div class="footerlinks" align="center"> <a class="footerlinks" href="index.php"><font class="footerlinks">Home</font></a> <a class="footerlinks" href="usercp.php"><font class="footerlinks">UserCp</font></a> <a class="footerlinks" href="register.php"><font class="footerlinks">Register</font></a> <a class="footerlinks" href="showgroups.php"><font class="footerlinks">Members</font></a> <a class="footerlinks" href="faq.php"><font class="footerlinks">F.A.Q.</font></a> <a class="footerlinks" href="search.php"><font class="footerlinks">Search</font></a> </div></td> </tr> </table> <table width="100%" border="0" cellpadding="5" cellspacing="0" background="$stylevar[imgdir_misc]/footer_bot_bg.gif"> <tr> <td width="10%"> <if condition="$show['quickchooser']"> <select name="styleid" onchange="switch_id(this, 'style')"> <optgroup label="$vbphrase[quick_style_chooser]"> $quickchooserbits </optgroup> </select> </if> <if condition="$show['languagechooser']"> <select name="langid" onchange="switch_id(this, 'lang')"> <optgroup label="$vbphrase[quick_language_chooser]"> $languagechooserbits </optgroup> </select> </td> </if> <td> <div align="right" class="smallfont"> <strong> <if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow" accesskey="9">$vbphrase[contact_us]</a> -</if> <if condition="$vboptions['hometitle']"><a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -</if> <if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if> <if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if> <if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if> <if condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> -</if> <a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a> </strong> </div> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td background="$stylevar[imgdir_misc]/footer_shadow.gif"><img src="$stylevar[imgdir_misc]/footer_shadow.gif" width="8" height="10"></td> </tr> </table> </form> $ad_location[ad_footer_end] </td> <td width="81" valign="top" style="background: url('$stylevar[imgdir_misc]/border_right_bg.gif') repeat-y top left;"><img src="$stylevar[imgdir_misc]/border_right.gif" alt="right"></td> </tr> </table> <if condition="$show['dst_correction']"> <!-- auto DST correction code --> <form action="profile.php?do=dst" method="post" name="dstform"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> <input type="hidden" name="do" value="dst" /> </form> <script type="text/javascript"> <!-- var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff]; var utcOffset = new Date().getTimezoneOffset() / 60; if (Math.abs(tzOffset + utcOffset) == 1) { // Dst offset is 1 so its changed document.forms.dstform.submit(); } //--> </script> <!-- / auto DST correction code --> </if> <script type="text/javascript"> <!-- // Main vBulletin Javascript Initialization vBulletin_init(); //--> </script> --------------- Added [DATE]1219969630[/DATE] at [TIME]1219969630[/TIME] --------------- No one? Bumb bumb... |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|