gpt4 book ai didi

jquery - 我如何删除 jquery 循环插件中寻呼机的号码

转载 作者:太空宇宙 更新时间:2023-11-04 05:18:41 24 4
gpt4 key购买 nike

我正在尝试从使用 jquery 循环插件时生成的寻呼机中删除数字。这些数字似乎只出现在 IE 中,但我仍然需要删除它们。我的代码是:

<div class="feature_span" style="background-color:#000000; background-image: url(images/banner-one.jpg); background-position:top center; background-repeat:repeat-x;" ></div>
<div class="feature_span" style="background-color:#000000; background-image: url(images/banner-two.jpg); background-position:top center; background-repeat:repeat-x;" ></div>
<div class="feature_span" style="background-color:#000000; background-image: url(images/banner-one.jpg); background-position:top center; background-repeat:repeat-x;" ></div>
<div class="feature_span" style="background-color:#000000; background-image: url(images/banner-two.jpg); background-position:top center; background-repeat:repeat-x;" ></div>

</div><!--End Homepage Slider-->

<div class="feature_nav"></div>

<script>
// start slideshow
$('#homepage_slider').cycle({
timeout: 7000,
// before: onBefore ,
next: '.feature_next',
prev: '.feature_prev',
pager: '.feature_nav'
});
</script>

我确定有一种我缺少的简单方法可以做到这一点。有人可以帮忙吗?

最佳答案

此处提供了一些文档:http://jquery.malsup.com/cycle/pager2.html

$('#homepage_slider').cycle({ 
timeout: 7000,
// before: onBefore ,
next: '.feature_next',
prev: '.feature_prev',
pager: '.feature_nav',
pagerAnchorBuilder: function(idx, slide) {
return foo; //Where foo is whatever contents you want in each pager anchor.
}
});

关于jquery - 我如何删除 jquery 循环插件中寻呼机的号码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7165008/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com