时间:2021-07-01 10:21:17 帮助过:18人阅读
- $("#idGlideView img").each(function(){<br>
- $(this).css('opacity', '0.5');<br>
- }).hover(function(){<br>
- $(this).animate({opacity:1.0});<br>
- }, function(){<br>
- $(this).animate({opacity:0.5});<br>
- });
- /*#idGlideView div img{filter:alpha(opacity=70); -moz-opacity:0.7; -khtml-opacity: 0.7; opacity: 0.7;}*/<br>
- #idGlideView div img{filter:alpha(opacity=50); -moz-opacity:0.5; -khtml-opacity: 0.5; opacity: 0.5;}<br>
- #idGlideView div.focus img{filter:alpha(opacity=100); -moz-opacity:1; -khtml-opacity: 1; opacity: 1;}
- //相关设置<br>
- Set: function (index) {<br>
- if (index < 0) {<br>
- //鼠标移出容器返回默认状态<br>
- this.Each(function (oList, oText, i) {<br>
- oList._target = this._width * i;<br>
- if (oText) { oText._target = this._height_text; } <br>
- })<br>
- } else {<br>
- //鼠标移到某个滑动对象上