HTML Block Scroller & Marquee
General
This small script will animate a series of blocks of HTML, scrolling them up, down, left or right dynamically and then pausing before starting the next scroll. The script will also pause on mouseover, and resume scrolling on mouseout. Since it scrolls HTML instead of just images, you can include just about anything that can be ordinarily placed in a static HTML document: links, images, graphics, tables, backgrounds, etc.
Submit them to us and they can be featured on JavaScript Source!
Notes
- Created by: Brian Huisman
- Web Site: http://www.greywyvern.com/
- Posted: April 30, 2008
Complete instructions included in script
Source Code
Paste this source code into the designated areas.
External file
Paste this code into an external JavaScript file named: blockFader.js
CSS
Paste this code into your external CSS file or in the <style> section within the HEAD section of your HTML document.
Head
Paste this code into the HEAD section of your HTML document.
Body
Paste this code into the BODY section of your HTML document


Leave a Response
(6 comments)Your question is beyond the scope of these comments. You will need to post it over on [a href="http://www.webdeveloper.com/forum/forumdisplay.php?f=3"]the JavaScript forum[/a]. Thanks!
In order to better help you, you'll need to post your question [a href="http://www.webdeveloper.com/forum/forumdisplay.php?f=3"]over on the forums[/a].
IE throws an error on line 192 for me.[br /] this.main.style.overflow = "hidden";[br /][br /]Not at all sure how to resolve this issue.
Not sure of the problem as it works fine for me in IE. You should submit your question to the [a href="http://www.webdeveloper.com/forum/forumdisplay.php?f=3"]JavaScript forums[/a].
This code does not seem to work on IE. It works very well on Mozilla Firefox.