» home
» contact
» terms of use

FREE SCRIPTS
» new
» text
» image
» utility
» background
» animation
» date/time

FREE ONLINE TOOLS
» code generators
» text animator
» drawing animator
» color animator
» slideshow factory
» javascript speed test

FREE BASIC SNIPLETS
» alert box
» image: multi-rollover
» pop-up: centering
» more

FREE'N'CRAZY
» realtime death counter
» eyeQ
» fun ticker

RECOMMENDED LINKS
» www.dynamicdrive.com
» www.hotscripts.com

CSS-controlled animations: stretch ticker
What's so special about this text ticker? Each frame of the animation can be controlled and defined by CSS. The principle is quite simple: Each CSS-class acts like a frame in a movie. JavaScript has only two jobs to do: connecting the CSS-frames into an animation and changing the messages. That's it. The advanatges: less JavaScript code, less bugs, much more style-control. The ticker works with Internet Explorer 5x/6x/7x/8x/9x, Firefox 2x/3x, Opera 8x/9x/10x/11x, Google Chrome 3x/4x/5x/6x/7x/8x/9x.



Configuration:

Step 1: Open your webpage and paste the following code anywhere between <body> and </body>:




Step 2: Go inside the <style>-tags and configure the style according to the instructions

Step 3: Go into the <script>-code and configure the messages, links and speed.