/*代码整理:/ $(document).ready(function () { $(".classical-tag li a").mouseover(function () { $(this).parents("ul").children("li").removeclass("on"); $(this).parent("li").addclass("on"); var a = $(this).attr("projectid"); $("#classproject").html(getclassicalinfo(mydata, a)).show() }); }); function getclassicalinfo(d, g) { var a; for (var c = 0;c < d.l.length;c++) { if (d.l[c].p == g) { a = d.l[c] } } var e = a.p; var b = math.ceil(e / 100) - 1; var h = ""; var f = ""; if (a.c == 0) { f = "待定" } else { f = '¥' + a.c + "起" } h = h + '
电话:0512-6260' + a.t + "
"; h = h + '传真:0512-62605100、62605101转' + a.f + "
"; h = h + '邮箱:' + a.e + "@wanlongjituan.com
"; h = h + ''; h = h + "