ie6开发的js在360浏览器 搜狗浏览器不能看到晃动的js的经纬度坐标?
arcserver9.3 sde asp.net c# (地理信息系统 地图 )
当 鼠标在地图map上晃动可在 ie6状态栏上看到 经纬度坐标
后来找机器 装ie6 发现正常
但是现在 大都机器装 win7 都需要另外装 360浏览器或者搜狗浏览器 才能看到地图 (ie8连图都看不到 map.add_mouseMove(MapCoordsMouseMove);
js代码如下
主程序
<script language="javascript" type="text/javascript">
self.moveTo(0,0);
self.resizeTo(window.screen.availWidth,window.screen.availHeight);
Sys.Application.add_init(startUp);
他调用的js 代码
function startUp() {
if (isRTL) document.images["CollapseImage"].src = "images/expand_right.gif";
arcgisWebApp.MapId = "Map1";
arcgisWebApp.map = $find(arcgisWebApp.MapId);
map = arcgisWebApp.map;
// set up references to the console panels
arcgisWebApp.ResultsPanelResize = $find("Results_Panel_ResizeBehavior");
arcgisWebApp.TocPanelResize = $find("Toc_Panel_ResizeBehavior");
// set up task results panel to auto open on update...
var taskResults = $find("TaskResults1");
var adjustMapDisplay = false;
taskResults.add_taskResultNodeInserted(function() {
var panel = $get("Results_Panel_Collapse");
if (panel && panel.style.display=="none") {
expandConsolePanel("Results_Panel");
arcgisWebApp.MapDisplay.style.left = getMapLeft(); + "'px";
adjustMapDisplay = true;
} else
arcgisWebApp.adjustMapSize();
if (!isRTL) adjustMapAndCopyrightPosition(adjustMapDisplay);
});
var panel = $get("Results_Panel_Collapse");
if (panel!=null) panel.style.display = "none";
var panel2 = $get("Results2_Panel_Collapse");
if (panel2!=null) panel2.style.display = "none";
var panel3 = $get("Results3_Panel_Collapse");
if (panel3!=null) panel3.style.display = "none";
// because the toolbar is listed before the map control,
// make sure toolbar will be listening to changes in map extent
var toolbar = $find("Toolbar1");
if (map != null && toolbar!=null)
{
map.remove_extentChanged(toolbar._toolbarExtentChangedHandler); // just in case it is already present
map.add_extentChanged(toolbar._toolbarExtentChangedHandler);
toolbar.add_onToolSelected(OnToolSelectHandler);
window.setTimeout("resetMapHistory();", 1500);
}
// hide identify window when extent changes, especially when back or forward are clicked
map.add_extentChanging(function() {if (arcgisIdentifyTool!=null) closeIdentifyPanel();} ); // for start of continuous panning or zoom animation
map.add_extentChanged(function() {if (arcgisIdentifyTool!=null) closeIdentifyPanel();} ); // extent changes that do not trigger ExentChanging
// set the copyright callout template
window.setTimeout("setupCopyrightText();",100);
arcgisWebApp.setTocHeight();
if (arcgisWebApp.Toc==null)
arcgisWebApp.TocPanel.style.display = "none";
map.add_mouseMove(MapCoordsMouseMove);--------------确认360浏览器 搜狗浏览器不能执行这个
//alert("mv"); -----------------------------
function MapCoordsMouseMove(se