jquery slider,怎么设置那些按钮的图标?
就是下面这些按钮,比如下一张,前一张,怎么设置他们的图标呢?下面是代码。<html><head><style>/*Preventsslidesfromflashing*/...
就是下面这些按钮,比如下一张,前一张,怎么设置他们的图标呢?下面是代码。
<html>
<head>
<style>
/* Prevents slides from flashing */
#yy{
display:none;
}
</style>
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script src="jquery.slides.min.js"></script>
<script>
$(function(){
$("#yy").slidesjs({
effect: {
slide: {
// Slide effect settings.
speed: 2000
// [number] Speed in milliseconds of the slide animation.
},
fade: {
speed: 3000,
// [number] Speed in milliseconds of the fade animation.
crossfade: true
// [boolean] Cross-fade the transition.
}
}
});
});
</script>
</head>
<body>
<div id="yy">
<img src="1.jpg">
<img src="2.jpg">
<img src="3.jpg">
<img src="4.jpg">
</div>
</body>
</html> 展开
<html>
<head>
<style>
/* Prevents slides from flashing */
#yy{
display:none;
}
</style>
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script src="jquery.slides.min.js"></script>
<script>
$(function(){
$("#yy").slidesjs({
effect: {
slide: {
// Slide effect settings.
speed: 2000
// [number] Speed in milliseconds of the slide animation.
},
fade: {
speed: 3000,
// [number] Speed in milliseconds of the fade animation.
crossfade: true
// [boolean] Cross-fade the transition.
}
}
});
});
</script>
</head>
<body>
<div id="yy">
<img src="1.jpg">
<img src="2.jpg">
<img src="3.jpg">
<img src="4.jpg">
</div>
</body>
</html> 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询