可以提交到数据库中了,为什么模板调用不出来呢?模板这样写的 <script language="javascript" src=http://api.51ditu.com/js/maps.js></script> <div id="map"></div> <script language="JavaScript" type="text/javascript"> var map = new LTMaps("map"); map.centerAndZoom(new LTPoint([!--long_x--],[!--lat_y--]),0); var marker1 = new LTMarker( new LTPoint([!--long_x--],[!--lat_y--]) ); var c = new LTSmallMapControl(); map.addControl(c); map.addOverLay(marker1); LTEvent.addListener(marker1, "mouseover" , function(){ marker1.openInfoWinHtml( "[!--title--]" ) }); </script>
|