I'm trying to build or implement a headline/image rotator. The user will click on a number (1, 2, 3) and an image will fade out/fade in as well as make a headline change(some text in a span element) based on the number selected.
Is there a plugin existing that will do this? If not, what would be the best way to accomplish this using jQuery?
Thanks!
From stackoverflow
-
the easiest way to do this is to append all the images into your document, hide them, and then $().fadeIn() them one by one and hide them.
actually, there is probably already a plugin that does this.
-
Try looking at this:
-
Is this what you're looking for?
http://malsup.com/jquery/cycle/
Steve Horn : The pager on this page: http://malsup.com/jquery/cycle/int2.html is exactly what I was looking for. Thanks!
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.