gpt4 book ai didi

jquery - 图片轮播中每张图片上的文字

转载 作者:行者123 更新时间:2023-11-28 16:34:07 26 4
gpt4 key购买 nike

我想更改图像轮播中每个图像上的文本。我试过使用单独的 <div>对于每个图像,但它仍然无法正常工作。这是图像轮播的类型:Space Gallery源代码可用。我无法按要求实现。谁有可能的解决方案?

<div id="myGallery" class="spacegallery">
<div>
<img src="images/bw3.jpg" alt="" />
<!--This is my text that i want to put-->
<p class="gh"><strong>Here</strong></p>
</div>
<img src="images/lights3.jpg" alt="" />
<img src="images/bw2.jpg" alt="" />
<img src="images/lights2.jpg" alt="" />
<img src="images/bw1.jpg" alt="" />
<img src="images/lights1.jpg" alt="" />
</div>

我什至试过这个:

<div id="myGallery" class="spacegallery">
<div>
<img src="images/bw3.jpg" alt="" />
<span> <marquee behavior="slide" direction="left">HTML slide-in text...</marquee></span>

</div>
<div>
<img src="images/lights3.jpg" alt="" />
<span><br/>Tadad</span>
</div>
<img src="images/bw2.jpg" alt="" />
<img src="images/lights2.jpg" alt="" />
<img src="images/bw1.jpg" alt="" />
<img src="images/lights1.jpg" alt="" />
</div>
</div>

CSS:

span{
position:absolute;
z-index:1;
top:100px;
left:30%;
}

The Result for the other code with<code><marquee></code>tag

最佳答案

Follow below url may be help.
http://jsfiddle.net/technotarek/gXN2u/

关于jquery - 图片轮播中每张图片上的文字,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31290802/

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