You have some javascript errors. Missing ; or )<br><br>Please go to <a href="http://www.jslint.com/">http://www.jslint.com/</a> and paste the content of site.js there.<br>-------------------------------------<br>The biggest problems are:<br>
<p class="evidence">Problem at line 31 character 3: Mixed spaces and tabs. $('map').style.bottom = "";</p><p class="evidence">Problem at line 41 character 6: Missing semicolon. }</p><p class="evidence">Problem at line 83 character 40: Extra comma. location: "/markers/mobility.txt",</p>
<p class="evidence">-------------------------------------</p><p class="evidence"></p><p class="evidence">They will probably cause openlayers to behave oddly.</p><p class="evidence"><a href="http://jslint.com">jslint.com</a> and firebug (the firefox addon) are tools that you cannot do without when working with javascript and openlayers.</p>
<p class="evidence"><br></p><p class="evidence">Good luck!<br></p><br><div class="gmail_quote">2011/1/20 Robin Paulson <span dir="ltr"><<a href="mailto:robin.paulson@gmail.com">robin.paulson@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">hi all,<br>
i put together the osm new zealand site the last week - i learnt a bit<br>
of javascript along the way, but unfortunately not enough. could<br>
someone take a look, and help with the problem i'm having?<br>
<br>
<a href="http://bumblepuppy.org/osm_nz/" target="_blank">http://bumblepuppy.org/osm_nz/</a><br>
<br>
(this address is temporary, until i figure out virtual hosts in apache)<br>
<br>
the problem is with the map layers - i added a custom layer i created,<br>
but it displays over the top of other maps sometimes. try selecting<br>
the various maps, and using the 'permalink' function, and you'll see<br>
what i mean.<br>
<br>
cheers<br>
<br>
--<br>
robin<br>
<br>
<a href="http://tangleball.org.nz/" target="_blank">http://tangleball.org.nz/</a> - Auckland's Creative Space<br>
<a href="http://bumblepuppy.org/blog/" target="_blank">http://bumblepuppy.org/blog/</a><br>
<br>
_______________________________________________<br>
talk mailing list<br>
<a href="mailto:talk@openstreetmap.org">talk@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/talk" target="_blank">http://lists.openstreetmap.org/listinfo/talk</a><br>
</blockquote></div><div style="margin: 0pt;" name="sig_3ae25cf131"></div><br>