SHARE
Facebook X Pinterest WhatsApp

So, You Want A Scrolling JavaScript, Huh?

Written By
thumbnail
Joe Burns
Joe Burns
Jan 4, 2005







What is the difference between Java and JavaScript?



Disclaimer! Read this right now!



Please read this before we go any further.

  • If you wish to use this script you will have to follow the rules laid out by the author. He, Chris Skinner, wishes to be given credit in your source code. (If you don’t know what that means–stay with me here–I’ll walk you through it.)
  • Okay then, let’s get started!


    First: You will need the script to place on your HTML
    page. I have it right here in a simple text format (if you’re using IE, just click View, Source to get the text). I will refer to the script often, so click to see the script, look it over, and come back for instructions on how to use it for yourself.


    Welcome back. Looks like strange chicken scratch? Yeah, it does to me, too. But it works great. Here’s what you do.


    • It would be easiest if you would open a text file and create a new HTML document right along with this tutorial. Just click between the three pages (this page, the JavaScript, and the text editor).
    • Open the text editor. Mark the page <HTML> and then put in a <TITLE> and </TITLE> commands, just as you would start any other basic HTML document.
    • Now highlight and copy the ENTIRE java.txt file you
      just looked at.
    • Paste the entire deal immediately following the <TITLE> you just made on the text editor.
    • Look again at the script; the author has allowed you
      permission to use it as long as you leave in his name. That is
      already done for you if you paste the whole deal like I asked you to. In addition, I’ve placed a line in there for you to enter your name as the one who hacked the program for yourself. See it? It says:

      Hacked by YOUR NAME HERE–THE DATE HERE


    • Go ahead and place your name and today’s date there replacing “your name here–the date here”
    • Now look a little farther down the JavaScript. You’ll see
      three lines marked:


      FIRST LINE OF TEXT HERE

      SECOND LINE OF TEXT HERE

      THIRD LINE OF TEXT HERE


    • Go ahead and put in whatever three lines of text you want.
      Let’s keep this clean, huh?

      Note: If you only use one or two of the lines of text, put a period as the third line of text. This script requires all three lines to have something.
    • Now look toward the bottom of the JavaScript. Note I have
      entered BODY BACKGROUND=######. That’s where you place your BGCOLOR, LINK, VLINK, BODY BACKGROUND, etc., etc. commands.
      Get them in the front part of the command before the “onLoad”
      command starts.


    Disclaimer!


    I did not write this JavaScript. A person named Chris
    Skinner
    did and he has graciously allowed us to use it as long as you include his name in the source code. If you follow this tutorial, you will do that. In addition, neither I nor Chris assume any responsibility for any damage this code does to your hard- or software. You use it at your own risk. You may want to contact your Webmaster to see if any problems may arise in the use of this JavaScript.
    Back Up To The Top To Get Started

    That should do it. It’s the first Java I have gotten to
    work consistently and the author said I can distribute it–so I did. I hope you get it to work. I can answer questions only
    about the installation, but not about the JavaScript itself. Good luck and happy scrolling!

    Recommended for you...

    The Revolutionary ES6 Rest and Spread Operators
    Rob Gravelle
    Aug 23, 2022
    Ahead of Time (AOT) Compilation in Angular
    Tariq Siddiqui
    Aug 16, 2022
    Converting a JavaScript Object to a String
    Rob Gravelle
    Aug 14, 2022
    Understanding Primitive Type Coercion in JavaScript
    Rob Gravelle
    Jul 28, 2022
    HTML Goodies Logo

    The original home of HTML tutorials. HTMLGoodies is a website dedicated to publishing tutorials that cover every aspect of being a web developer. We cover programming and web development tutorials on languages and technologies such as HTML, JavaScript, and CSS. In addition, our articles cover web frameworks like Angular and React.JS, as well as popular Content Management Systems (CMS) that include WordPress, Drupal, and Joomla. Website development platforms like Shopify, Squarespace, and Wix are also featured. Topics related to solid web design and Internet Marketing also find a home on HTMLGoodies, as we discuss UX/UI Design, Search Engine Optimization (SEO), and web dev best practices.

    Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

    Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.