You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
452 B
16 lines
452 B
// 下拉菜单
|
|
$(function () {
|
|
var objStr = ".topsr dl";
|
|
$(objStr).each(function (i) {
|
|
$(this).mouseover(function () {
|
|
$($(objStr + " dd")[i]).show();
|
|
$($(objStr + " dt")[i]).addClass("topsrdt");
|
|
});
|
|
$(this).hover(function () { }, function () {
|
|
$($(objStr + " dd")[i]).hide();
|
|
$($(objStr + " dt")[i]).removeClass("topsrdt");
|
|
});
|
|
});
|
|
});
|
|
// 顶部打开关闭
|