我想设置一个 slider 的格式,使文本标题出现在图像上方,按钮出现在下方。是否可以创建一个类似于所附屏幕截图的 slider ?
最佳答案
您可以在每张幻灯片中放置任何 html 代码,
<div u="slides">
<div>
<img u="image" src="url" />
<div style="position: absolute; top: npx; left: npx; width: npx; height: npx;">
Your text here
</div>
<div class="yourbutton" style="position: absolute; top: npx; left: npx; width: npx; height: npx;">
Your button text
</div>
</div>
</div>
关于jssor - 如何添加文本和标题 Jssor slider ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28977446/