onmouseout中的代码屏蔽了怎么打开;就是实现了一个js的效果内外一个js的效果实现不了 了 怎么实现呢
<scripttype="text/javascript"src="js/jquery-1.4.min.js"></script><scripttype="text/ja...
<script type="text/javascript" src="js/jquery-1.4.min.js"></script>
<script type="text/javascript" src="js/jquery.colorbox.js"></script>
<script type="text/javascript" src="js/prototype.js" ></script>
<script type="text/javascript" src="js/controls.js" ></script>
<script type="text/javascript" src="js/effects.js" ></script>
<script type="text/javascript" src="js/deprecation.js" ></script>
<script type="text/javascript" src="js/carousel-min.js" ></script>
<script type="text/javascript" src="js/validation.js" ></script>
<script language="javascript">
$(document).ready(function() {
$("#gallery_output img").not(":first").hide();
$("#gallery a").click(function() {
if ( $("#" + this.rel).is(":hidden") ) {
$("#gallery_output img").slideUp();
$("#" + this.rel).slideDown();
}
});
});
var diss = function(){$("#sub").show();};
var hidd = function(){$("#sub").hide();};
</script>
<li><a href="javascript:;" onmouseover="diss();" onclick="diss();" class="atop1 f14">产品中心</a>
<div class="sub" id="sub" onmouseover="diss();" onmouseout="hidd();">
<script type="text/javascript">
DeprecationNotifier.logDeprecation = false;
new Carousel($('carousel-1').down('.middle'), $('carousel-1').select('.slide'), $('tab-1').select('.control a'), {duration: 0.8, circular: true, auto: true, wheel: true, frequency: 6});
</script>
只实现了最后一个功能 展开
<script type="text/javascript" src="js/jquery.colorbox.js"></script>
<script type="text/javascript" src="js/prototype.js" ></script>
<script type="text/javascript" src="js/controls.js" ></script>
<script type="text/javascript" src="js/effects.js" ></script>
<script type="text/javascript" src="js/deprecation.js" ></script>
<script type="text/javascript" src="js/carousel-min.js" ></script>
<script type="text/javascript" src="js/validation.js" ></script>
<script language="javascript">
$(document).ready(function() {
$("#gallery_output img").not(":first").hide();
$("#gallery a").click(function() {
if ( $("#" + this.rel).is(":hidden") ) {
$("#gallery_output img").slideUp();
$("#" + this.rel).slideDown();
}
});
});
var diss = function(){$("#sub").show();};
var hidd = function(){$("#sub").hide();};
</script>
<li><a href="javascript:;" onmouseover="diss();" onclick="diss();" class="atop1 f14">产品中心</a>
<div class="sub" id="sub" onmouseover="diss();" onmouseout="hidd();">
<script type="text/javascript">
DeprecationNotifier.logDeprecation = false;
new Carousel($('carousel-1').down('.middle'), $('carousel-1').select('.slide'), $('tab-1').select('.control a'), {duration: 0.8, circular: true, auto: true, wheel: true, frequency: 6});
</script>
只实现了最后一个功能 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询