$(function () { $("#mytab div").hover(function () { $(".tenr").hide(); $(".s1").removeClass("s1").addClass("s2"); $("#" + this.id).removeClass("s2").addClass("s1"); $("#ti" + this.id).show(); }); }); (function () { //id1是tab的开头,id2是content的开头,index是当前的位置,count是总的tab个数,classname没选中tab的样式中的样式类 ///交换样式 window.show_menuc = function (id1, id2, index, count, classcurrent, classname) { for (var i = 0; i < count; i++) { document.getElementById(id2.toString() + i).style.display = "none"; document.getElementById(id1.toString() + i).className = classname; } document.getElementById(id2.toString() + index).style.display = "block"; document.getElementById(id1.toString() + index).className = classcurrent; } })(); //滚动条 function startSelection(event) { var xx = event.originalEvent.x || event.originalEvent.layerX || 0; var yy = event.pageY - $("#ee_jscroll").offset().top; $('.jscroll-h').css("top", yy + "px"); $('.jscroll-c').css("top", -yy * 1.2 + "px"); } //解除移动时的处理函数; function cancelSelection() { $(document).unbind('mousemove', startSelection).unbind('mouseup', cancelSelection); } //鼠标在按下时调用的函数 function imgMouseDown(event) { startSelection(event); $(document).mousemove(startSelection).mouseup(cancelSelection); } $(function () { $('#ee_jscroll').bind("mousedown", imgMouseDown); }) //新房右边切换 $(function () { initFeatureSlide(); }); //二手房切换 $(function () { $(".oldhouse-nav li").hover(function () { $(".oldhouse-nav li").removeClass("active"); $(this).addClass("active"); $(".oldhouse-con div").css({ "display": "none" }); $(".oldhouse-con div:eq(" + $(this).index() + ")").css({ "display": "block" }); }) });

经纪人信息

樟树房产中介入驻

18107958576

房源信息快速搜索

(根据多项表现指标综合计算排名)