我想创建一个按天排序的菜单.一切正常,除了寻呼机不会在工作日输出.我的代码如下:@H_301_2@
@H_301_2@
var days = new Array("Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday" );
$('#main')
.before('<div id="nav">')
.cycle({
fx: 'toss',timeout: 0,pager: '#nav',options: {
pagerAnchorBuilder: function(i,el) {
return '<a href="#">'+document.write(days[i+1])+'</a>';
}
}
});
但是,它仍然默认为数字.有人可以指出我正确的方向吗?
最佳答案
原文链接:https://www.f2er.com/jquery/530954.html