loopedSlider jQuery插件问题

loopedSlider jQuery插件问题,jquery,css,http,xhtml,jquery-plugins,Jquery,Css,Http,Xhtml,Jquery Plugins,嗨,我使用loopedSlider,还有html源代码 <div id="loopedSlider"> <div class="container"> <div class="slides"> <div><img src="01.jpg" alt="" /></div> <div><img src="02.jpg" alt="" /></div> <div><

嗨,我使用loopedSlider,还有html源代码

<div id="loopedSlider"> <div class="container">
<div class="slides">
  <div><img src="01.jpg" alt="" /></div>
  <div><img src="02.jpg" alt="" /></div>
  <div><img src="03.jpg" alt="" /></div>
  <div><img src="04.jpg" alt="" /></div>
</div></div><a href="#" class="previous">previous</a> <a href="#" class="next">next</a><ul class="pagination">
<li><a href="#">1</a></li>
<li><a href="#">2</a></li>
<li><a href="#">3</a></li>
<li><a href="#">4</a></li>

是否可以像这样插入div:

<div class="slides">
   <div>
     <div class="newdiv">Some text</div>
   </div>
</div>

一些文本
如果我在里面插入这个div“newdiv”不显示?
有解决方案吗?

它可能是嵌套的DIV。请尝试以下方法:

<div class="slides">
  <div>
    <span class="newdiv">Some Text</div>
  </div>
</div>

它的工作,但在您的代码是错误。 应该是:

<span class="newdiv">Some Text</span>
一些文本

我能问一下这个额外的内部div有什么意义吗?如果要提供额外的样式,当然可以通过内联元素(例如span、em)和CSS来实现

我以前使用过loopedSlider,在每个幻灯片的包含div中使用和元素,它工作得非常好

<span class="newdiv">Some Text</span>