jquery图像滑块问题 [英] jquery image slider problem
本文介绍了jquery图像滑块问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想通过jquery制作一个图片滑块,但是我无法这样做,
i试了很多但是失败了..
请有人给我看任何视频制作jquery图像滑块的教程..我需要它很多..请smone帮帮我,
asp.net c#
i want to make a image slider by jquery, but i m unable to do so,
i tried a lot but failed..
please can someone gv me any video tutorials for making a jquery image slider..i need it alot..please smone help me,,
asp.net c#
推荐答案
请尝试如下。
HTML
Please try is as below.
HTML
<div id="slideshow">
<img src="img/img1.jpg" alt="" class="active" />
<img src="img/img2.jpg" alt="" />
<img src="img/img3.jpg" alt="" />
</div>
CSS
CSS
#slideshow {
position:relative;
height:350px;
}
#slideshow IMG {
position:absolute;
top:0;
left:0;
z-index:8;
}
#slideshow IMG.active {
z-index:10;
}
#slideshow IMG.last-active {
z-index:9;
}
Jquery
Jquery
function slideSwitch() {
var
active =
(' #slideshow IMG.active'跨度>);
if (
这篇关于jquery图像滑块问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文