我想创建一定大小的公司标签幻灯片。我使用脚本camera.js
创建幻灯片,我需要更改图像大小:
<link
rel='stylesheet'
id='camera-css'
href='/html/themes/classic/css/camera.css'
type='text/css' media='all'>
<style>
.fluid_container {
margin: 0 auto;
max-width: 1000px;
width: 100%;
}
</style>
<script>
jQuery(function(){
jQuery('#camera_wrap_3').camera({
height: '50%',
pagination: true,
thumbnails: false,
imagePath: '/html/themes/classic/images/'
});
});
</script>
<div class="fluid_container">
<div
class="camera_wrap camera_emboss"
id="camera_wrap_3">
<div
data-thumb="/thumbs/1.jpg"
data-src="/slides/1.jpg"
data-time="1500"
data-trasPeriod="4000"
data-link="some link here"
data-target="_blank">
<div
class="camera_caption fadeFromBottom">
some text here
</div>
</div>
<div
data-thumb="/thumbs/2.jpg"
data-src="/slides/2.jpg"
data-time="1500"
data-trasPeriod="4000"
data-link="some link here"
data-target="_blank">
<div
class="camera_caption fadeFromBottom">
some text here
</div>
</div>
</div>
</div>
<div style="clear:both; display:block; height:100px"></div>
这是一些屏幕截图。
对于max-width == 400px
:
对于max-width == 100px
:
如何更改尺寸?我需要一个较小的容器,幻灯片应该是310x82
.