我有个问题,我不知道下一步该怎么办。我有一个网站使用jquerygalleria在一个HTML页面和10张图片自动播放在页面顶部滚动。它使用的是经典的主题,是非常基本的功能。
我在本地IIS服务器和IE7、Chrome、Opera、Firefox的内部构建服务器上进行了测试,效果很好。我在一个实时服务器上发布了它,它断断续续地出现在IE7中。它做了一些奇怪的事情:
-
尽管我在JS中加了“max\u scale\u ratio:1”,但它还是把图片放大了。
-
它在我的缩略图旁边添加了前进和后退箭头,这是其他浏览器所没有的。
-
它在第一张图片后停止显示缩略图。
我在页面上的JS代码如下:
<script type="text/javascript">
$(document).ready(function() {
// Load theme
Galleria.loadTheme('themes/classic/galleria.classic.js');
// run galleria and add some options
$('#galleria').galleria({
debug: true,
image_crop: true,
height: 397,
max_scale_ratio: 1, //Ensures the picture crop doesn't zoom the picture
autoplay: 8000, //Sets an autoplay interval of 8 seconds (8000)
transition: 'fade',
data_config: function(img) {
return {
description: $(img).next('p').html()
};
}
});
我不知道为什么它只是打破了现场服务器和其他工作。我找不到任何能说明同样问题的帮助来源。是服务器问题还是我可以在代码中修复的问题?