jQuery 鼠标滑过??
$(document).ready(function(){$("#c").hover(function(){$(".box").slideDown("slow");},f...
$(document).ready(function() {
$("#c").hover(
function() {
$(".box").slideDown("slow");
},
function() {
$("#c").mouseout(function() { $(".box").slideUp("fast") });
}
);
});
和
function MM_showHideLayers(_a, _b, _c) { //v9.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3)
with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
obj.visibility=v; }
怎么能结合?? 展开
$("#c").hover(
function() {
$(".box").slideDown("slow");
},
function() {
$("#c").mouseout(function() { $(".box").slideUp("fast") });
}
);
});
和
function MM_showHideLayers(_a, _b, _c) { //v9.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3)
with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
obj.visibility=v; }
怎么能结合?? 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询