我正在使用 jquery 幻灯片。我必须将宽度和高度更改为百分比值。
jquerytransitions.js 包含以下代码
$.fn.jqFancyTransitions.defaults = {
width: 682, // width of panel
height: 268, // height of panel
strips: 10, // number of strips
delay: 5000, // delay between images in ms
stripDelay: 50, // delay beetwen strips in ms
titleOpacity: 0.7, // opacity of title
titleSpeed: 1000, // speed of title appereance in ms
position: 'alternate', // top, bottom, alternate, curtain
direction: 'fountainAlternate', // left, right, alternate, random, fountain, fountainAlternate
effect: '', // curtain, zipper, wave
navigation: false, // prev next and buttons
links : false // show images as links
};
})(jQuery);
我必须将宽度和高度更改为百分比..这可能吗?