【发布时间】:2014-04-26 05:49:52
【问题描述】:
我正在使用来自http://www.jssor.com/ 的 jQuery 图像滑块插件。 现在,插件需要滑块中缩略图的宽度和高度。
我想知道我可以为每个图像设置不同的缩略图图像大小,因为我有图像 不同的尺寸,固定的宽高会改变图像的比例。
<div u="slides" style="cursor: move;">
<div u="prototype" class="p" style="POSITION: absolute; WIDTH: 100px; HEIGHT: 50px; TOP: 0; LEFT: 0;">
<div class="o" style="position:absolute;top:1px;left:1px;width:100px;height:50px;overflow:hidden;">
<ThumbnailTemplate class="b" style="width:100px;height:50px; border: none;position:absolute; TOP: 0; LEFT: 0;"></ThumbnailTemplate>
<div class="i"></div>
<ThumbnailTemplate class="f" style="width:100px;height:50px;border: none;position:absolute; TOP: 0; LEFT: 0;"></ThumbnailTemplate>
</div>
</div>
</div>
【问题讨论】:
标签: jquery jquery-plugins slider image-scaling