jquery - Text on each image in image carousel -
i want change text on each image in image carousel. i've tried using separate <div>
each image, it's still not working. type of image carousel:space gallery source code available. not able implement desired. possible solution?
<div id="mygallery" class="spacegallery"> <div> <img src="images/bw3.jpg" alt="" /> <!--this text want 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>
i tried this:
<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%; }
follow below url may help. http://jsfiddle.net/technotarek/gxn2u/
Comments
Post a Comment