- UID
- 123012
- 热情
- 118
- 人气
- 490
- 主题
- 4
- 帖子
- 45
- 精华
- 0
- 积分
- 332
- 分享
- 0
- 记录
- 0
- 相册
- 0
- 好友
- 4
- 日志
- 0
- 在线时间
- 384 小时
- 注册时间
- 2010-12-15
- 阅读权限
- 20
- 最后登录
- 2024-2-29
 
升级   44% - UID
- 123012
- 热情
- 118
- 人气
- 490
- 主题
- 4
- 帖子
- 45
- 精华
- 0
- 积分
- 332
- 阅读权限
- 20
- 注册时间
- 2010-12-15
|
喜欢在realestate网站使用地图看搜索结果的的朋友们,如果你觉得那个地图太小, scrollbar又不能放大/缩小地图,很不不方便。不防试试这个小方法,能让你有个更好的空间方位感,帮你找到你喜爱的房产。
效果图
小代码,一会儿再用
- $("#logoBannerBox").hide();
- $("#nav").hide();
- $("#breadcrumbsControllers").hide();
- $(".tinyCarousel").hide();
- $(".headerDetails ").hide();
- $("#footer").hide()
- $("#container").height($(window).height() -100);
- $("#container").width($(window).width()-100);
- $("#map").height($(window).height() -100);
- google.maps.event.trigger(map, 'resize');
- map.setOptions({scrollwheel:true});
复制代码
在Realestate的搜索房子的地图页面(如:上图的Before那页)
IE 8+ 用户:
F12 -〉在弹出的窗口点Console -〉Copy 上面的代码 -〉Run Scirpt
如图:
Chrome 用户:
F12 -〉在弹出的窗口点Console -〉Copy 上面的代码 -〉Run Scirpt by Press the Enter Key
Firefox, Safari, Opera and etc 用户:
你应该是懂得,跟上面一样 |
附件: 你需要登录才可以下载或查看附件。没有帐号?注册
-
2
查看全部评分
-
|