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
436 B
16 lines
436 B
// 指定所有链接方式(只为测试,实际文档中可去除)
|
|
$(document).ready(function(){
|
|
|
|
$("html").find("img").attr("alt","爱购商城");
|
|
});
|
|
// 下拉菜单
|
|
$(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();
|