试图修复幻灯片(水平+垂直)

时间:2013-02-28 04:43:12

标签: javascript html background slideshow background-color

脚本:http://jsfiddle.net/dt5Se/或以下:

var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [720, 478], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
    ["images/indeximages/1.jpg"],
    ["images/indeximages/2.jpg"],
    ["images/indeximages/3.jpg"],
    ["images/indeximages/4.jpg"],
    ["images/indeximages/5.jpg"],
    ["images/indeximages/6.jpg"],
    ["images/indeximages/7.jpg"],
    ["images/indeximages/8.jpg"],
    ["images/indeximages/9.jpg"],
    ["images/indeximages/10.jpg"],
    ["images/indeximages/11.jpg"] // no comma for last image
],
displaymode: {type:'auto', pause:4000, cycles:0, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 500, //transition duration (milliseconds)
descreveal: "ondemand",
togglerid: ""})

有没有办法可以让它同时适用于垂直和水平图像?它杀了我......

请参阅此处的实施:http://www.phillipehan.com/ 正如您所看到的那样,第三张图像的两边都是黑色的。我该如何解决这个问题?

谢谢!

0 个答案:

没有答案