It still does not work with my board
The maps link:
PHP Code:
<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&hl=en&geocode=&q=Singapore&sll=40.446947,-86.923828&sspn=0.040497,0.090723&ie=UTF8&ll=1.352083,103.819836&spn=0.0532,0.090723&z=14&output=embed&s=AARTsJqkLJNXPDqzeV-2S6QWBWQf58w4dg"></iframe><br /><small><a href="http://maps.google.com/maps?f=q&hl=en&geocode=&q=Singapore&sll=40.446947,-86.923828&sspn=0.040497,0.090723&ie=UTF8&ll=1.352083,103.819836&spn=0.0532,0.090723&z=14&source=embed" style="color:#0000FF;text-align:left">View Larger Map</a></small>
And the page source code:
PHP Code:
<script type="text/javascript">
function ckURL()
{ if ((u.indexOf("http://")!=u.lastIndexOf("http://"))||u.lastIndexOf("http://")!=0){return false;}
if (u.indexOf('"')>=0) {return false;}
if (u.indexOf("http://maps.google")!=0){return false;}
return true;
}
t='';incr=0;t_i="<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&hl=en&geocode=&q=Singapore&sll=40.446947,-86.923828&sspn=0.040497,0.090723&ie=UTF8&ll=1.352083,103.819836&spn=0.0532,0.090723&z=14&output=embed&s=AARTsJqkLJNXPDqzeV-2S6QWBWQf58w4dg"></iframe><br /><small><a href="http://maps.google.com/maps?f=q&hl=en&geocode=&q=Singapore&sll=40.446947,-86.923828&sspn=0.040497,0.090723&ie=UTF8&ll=1.352083,103.819836&spn=0.0532,0.090723&z=14&source=embed" style="color:#0000FF;text-align:left">View Larger Map</a></small>";
t_n_q=t_i.replace(/"/g,'"');
if(t_n_q.indexOf("91;url")>0)
{ if(t_n_q.indexOf('91;url="')>0){t=t_n_q.substr(t_n_q.indexOf('91;url="')+8,t_n_q.length);t_n_q='';}
if(t_n_q.indexOf('91;url=')>0) {t=t_n_q.substr(t_n_q.indexOf('91;url=')+7,t_n_q.length);t_n_q='';a=t.replace(/93;/g,'"');t=a;incr=2;}
if(t_n_q.indexOf('91;url')>0) {if (t_n_q.indexOf('93;')==(t_n_q.indexOf('91;url')+8)){t=t_n_q.substr(t_n_q.indexOf('91;url')+11,t_n_q.length);a=t.replace(/91;/g,'"');t=a;}}
}
else
{ t=t_n_q.substr(t_n_q.indexOf('src="')+5,t_n_q.length);}
u=t.substr(0,t.indexOf('"')-incr);
up=u.replace(/amp;/g,'');u=up;
if (ckURL())
{ document.write('<iframe width="640" height="480" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="'+u+'"></iframe>');}
else
{document.write("<p><b>Wrong map URL, edit the post to change it.</b></p>Reload the page when finished to check if correct.");}
</script>
Please help us look into it to see what's possibly wrong.
Thankssss!