URL为http://www.51.ca/house/rentmap.php?s=209275bb7635972510cff1bbccf44bc6,大家看一下它的源文件中的一个函数funSearchCity()在哪里定义的。

解决方案 »

  1.   

    <script language="JavaScript"  src="aa.js"></script>
    aa.js下载就可以了
      

  2.   

    有位大哥把funSearchCity()写出来了,但不知道他是从哪里找到的,大家再看看。
    function funSearchCity()
    {
    //|| !funCheckScope(theform.scope) 
    var theform = fetch_object('SearchForm');
    if(!validate(theform))
    {
    return false;
    }var citygeodata = theform.citychoice.value.split(',');mylongitude = citygeodata[0];
    mylatitude = citygeodata[1];
    myzoomlevel = citygeodata[2];
    loadpoints = 1;map.centerAndZoom(new GPoint(mylongitude, mylatitude), myzoomlevel);loadedbounds['init'] = 0;
    centerer = { 'init': 1, 'x' : mylongitude, 'y' : mylatitude, 'html' : langStr['citycenter'] };map.clearOverlays(); 
    plotVisibleMarkers(); return false;
    }