在我点击链接之前,背景是半黑的

时间:2012-12-05 14:42:02

标签: javascript iframe

在我的网站上,我们正在追踪一艘船(http://marineops.mlml.calstate.edu/ptsur1),现在该船已离开港口,出现黑色背景。我知道修复它的唯一方法是单击弹出窗口中描述船舶的链接(链接是“显示船只的轨道距离......”。之后,我无法删除弹出窗口。

这是一个drupal 6网站和创建地图的代码(我从http://marinetraffic.com/ais/addyourarea.aspx?level1=150获得此代码“在您的网站上放置您所在地区的实时地图”:

如果背景是黑色,请点击“显示船只的轨道距离......”

<script type="text/javascript">
        width='100%';           //the width of the embedded map in pixels or percentage
        height=400;             //the height of the embedded map in pixels or percentage
        border=1;               //the width of border around the map. Zero means no border
        notation=false;         //true or false to display or not the vessel icons and options at the left
        shownames=true;         //true or false to dispaly ship names on the map
        latitude=36.676;        //the latitude of the center of the map in decimal degrees
        longitude=-124.405;     //the longitude of the center of the map in decimal degrees
        zoom=12;                //the zoom level of the map. Use values between 2 and 17
        maptype=2;              //use 0 for Normal map, 1 for Satellite, 2 for Hybrid, 3 for Terrain
        trackvessel=366974890;  //the MMSI of the vessel to track, if within the range of the system
        fleet='';               //the registered email address of a user-defined fleet to display
        remember=false;         //true or false to remember or not the last position of the map
</script>
<script type="text/javascript" src="http://www.marinetraffic.com/ais/embed.js"></script>

请访问网站http://marineops.mlml.calstate.edu并提供任何建议。 感谢

0 个答案:

没有答案