WEBINAR: On-demand webcast
How to Boost Database Development Productivity on Linux, Docker, and Kubernetes with Microsoft SQL Server 2017 REGISTER >
Use these to jump around or read it all...
[Activating The Script] [Go Faster!]
- If you want to use this script, you must have at least Netscape browser version 2.02 or equivalent. If you don't, head to the Netscape Home Page and pick one up. The 2.02 browser works on Windows 3.x, W95, and MAC platforms.
- This is not an applet! This is a script.
- Bill Welliver and Cameron Gregory wrote and modified this script and have offered it to you. However, they ask that their names appear in the source code. If you follow my directions, you will do that.
- This script has been known to crash Netscape. I've never seen it, but apparently it has. Take caution using it.
- As always, you use this at your own risk. Neither Bill, Cameron, nor I will accept any responsibility for any crashing or other problems you experience.
- I've gotten it to work consistently. You can, too!
The ScriptIn order to do this, you need the script! This script is basically a little program that sits on your page and performs tricks when you ask it to. It is different from an applet in that it accompanies the HTML page, whereas the applet is its own small object-oriented program.
I'm getting ahead of myself... the script! Yes, the script. I have it here for you in basic text. When it comes up on your browser, grab it one of two ways: (1) Copy and paste it or (2) download it by choosing FILE and SAVE AS. Just remember to save it as TEXT!
Now that you have it, don't mess with it. You see, not only is the script in a certain language, but it is also in a certain format. If you click around with it making things closer together or changing the look... well... basically you mess it up. So, as your mother once told you, leave it alone or it'll just get worse.
- This page (you may want to save it first).
- A text or HTML editor (whatever you use to write HTML).
- The Java Ticker Tape script.
Here we go....
- Open the text editor and start a new page. Mark it <HTML> and put up a full <TITLE>.
- Open the Java Ticker Tape script, highlight it, and copy it.
- Paste the entire script -- just as I presented it -- after the TITLE commands. This will ensure that you give Bill and Cameron credit. It's written right into the script.
Please note: Do not add to the script. What words the ticker tape will scroll comes later. Hey! I told you not to touch it! I do and I do and I do for you and what thanks do I get?
- Write the rest of your page as you would any page, remembering where you want the ticker to sit. For the sake of argument, this one will sit at the top like the ticker on this page does.
Notice that the script is set off by a couple of strange commands that look like this:
Activating The ScriptHere's what is required to activate the script:
ticker ("THE SCRIPT GOES HERE");
You can take it right from here by copying the text, or retype it on your own page. It's not that long.
See where it says "THE SCRIPT GOES HERE"? Uuuuuh, that's where your script goes. Clever, huh? Just make sure to leave all the other good stuff. Only replace "THE SCRIPT GOES HERE". You need the ( ) marks and the semicolon following. There may be a limit to the number of characters you can have on the ticker line, but I haven't found it yet. Bill Welliver keeps a local newspaper home page and he puts in full paragraphs, so I wouldn't be too concerned.
Go Faster You Script You!I'll tell you a few changes Bill said can be made, but remember I said right here that you're at your own risk when you start messing with the program itself. Here are a few things you can play with:
- In the script it says "tt_speed=250". That tells the script how fast to scroll. Think of it as 250 ticks per minute. That's not exactly right, but it's a good way of judging speed. Lower numbers go faster -- higher numbers go slower.
- In the script is says "tt_len=35". That's the size of the little window box that appears on your page. Play with it if you want.
- You cannot change the scrolling text to bold or italic or make it bigger using this script. This script is a very simple scroll and you'd need a more fancy piece to play with the text.
Can I Get A Second Script On The Same Page?No. How's that for an answer? One script, one activation. I've tried it. What happens is the last of the scripts takes over. You get two boxes, but only the final script runs. The first box remains empty.
Well... that's it. The thing should be working provided you didn't alter the shape of the script or forget to activate it. I wish you good scrolling.
[Activating The Script] [Go Faster!]