gpt4 book ai didi

php - 后台 & php/jquery

转载 作者:太空宇宙 更新时间:2023-11-04 04:54:56 24 4
gpt4 key购买 nike

我正在使用 jquery 插件创建一个带有缩略图的图像 slider 。我的目标是让主图像的背景为 bg.png,缩略图部分的背景为 wood.png

我已将 CSS 更改为我认为正确的内容(见下文),但缩略图部分的背景并未扩展完整的 961px,它仅限于 921px 宽度我已经建立了主图像。我感觉这可能是由于嵌套在插件的 php/jquery 中,我只是不确定如何改变它才能工作。如果是这种情况,我该如何解决?如果是其他原因,我如何确定它是什么/如何修复它?

thethe-image-slider.php

timthumb.php

live site

谢谢。

CSS

.thethe_image_slider.white-square-1{
background: url('../images/bg.png');
}
.white-square-1 .thethe-image-slider-thumbnails{
background: url('../images/wood.png');
margin-top: 20px;
margin-bottom: 40px;
width: 961px;
}

最佳答案

找到这一行

<div class="thethe_image_slider white-square-1" id="thethe_image_slider323" style="width:921px;"><div class="thethe_image_slider_inner" style="width:921px; height:392px;">

然后改成这个

<div class="thethe_image_slider white-square-1" id="thethe_image_slider323" style="width:961px;"><div class="thethe_image_slider_inner" style="width:921px; height:392px;margin:0 auto;">

在你的代码中

关于php - 后台 & php/jquery,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12665454/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com