求大神指教。。。首页轮播在IE6、8不显示。
http://www.szzmzb.com/
<div id="slides" class="slider">
<ul class="bxslider">
<volist name="list" id="vo">
<li>
<a href="{$vo.url}" title="{$vo.title}"><img src="Public/{$vo.images_path}" width="100%" /></a>
</li>
</volist>
</ul>
<div class="clear"></div>
</div>
<script>
$(document).ready(function () {
init();
});
$(function () {
$('.bxslider').bxSlider({
auto: true,
autoControls: true
});
var name = $("#name"),
password = $("#password"),
allFields = $([]).add(name).add(password),
tips = $(".validateTips");
function updateTips(t) {
tips.text(t).addClass("ui-state-highlight");
setTimeout(function () {
tips.removeClass("ui-state-highlight", 1500);
}, 500);
}
function checkLength(o, n, min, max) {
if (o.val().length > max || o.val().length < min) {
o.addClass("ui-state-error");
updateTips("Length of " + n + " must be between " + min + " and " + max + ".");
return false;
}
return true;
}
function checkRegexp(o, regexp, n) {
if (!(regexp.test(o.val()))) {
o.addClass("ui-state-error");
updateTips(n);
return false;
}
return true;
}
</script>