JavaScript Scrollers |
|||||
|
|
Featuring:
Various Scrollers - SlideShow/Flip
Chart Version Dynamic Drive has delivered a scroller that is easy to setup and code but it is not a smooth scroller - but rather more a slideshow displayer or flip chart tool. However it is very simple to setup. The scroller uses <div id="dropcontentsubject"> to position the subject header and then a series of <div class="dropcontent" id="dropmsg1"> containers with the individual messages. Note how class=dropcontent has been defined at the top <style> header. It is here you can make this any size and formatted however desired. But the name of each dropcontent div must be of the id="dropmsgn" where n must start at zero and continue incrementing by 1 in that order.So the layout will look like this: <div id="dropcontentsubject"></div> <div id="dropmsg2" class="dropcontent"><a href="#"><img src=pic2.gif></a></div> <div id="dropmsg3" class="dropcontent"><a href="#"><img src=pic3.gif></a></div> This would allow a slideshow of pictures to also be buttons for where to go on say a travel website. The possibilities are pleasantly endless. |
||||
Top of Page Tutorials Home Javascript References JavaScript Books |