General
Add a banner roll to your Web site with this easy-to-use script. Each banner can also include a URL. The size can be set in the script file.
Notes
- Created by: Jeroen Haan
- Web Site: http://www.haan.net/
- Posted: April 9, 2007
In order the have the script working in FireFox as well you need a proper "DTD" to prevent the browser's "quirksmode". See http://www.quirksmode.nl/ for more details.
Or in case you experience problems, copy and paste next line on top of your Web page:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Source Code
Paste this source code into the designated areas.
External file
Paste this code into an external JavaScript file named: banner.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
Do you write JavaScripts?
If you do, why not submit them to us?
We'll give you credit and a link back to your Web site.


