Handy
Tip : Javascript
code can be used to scroll your text upwards on your webpage.
When your website visitor hovers their pointer over the text,
it automatically stops. This is handy for when your text needs
to include a clickable link within the code.
|
Bookmark
This Page
Scrolling Vertical
Text Javascript
You can make text scroll upward using the marquee html tag, but the tag
is not Netscape compatible. So to get that text scrolling upward in a
way that is cross browser compatible you can use this javascript below.
The script is a one step script and was updated on 24/2/04 by a messageboard
member so that it is truly crossbrowser compatible. Thanks guys!
A "pause on mouseover"
function was added to the script on 26/2/04. Thanks David.
Just copy and paste the script from the text box below, straight into
the body of your page where you want the scrolling text seen.
There are comments within the script to indicate where to change the scripts
width and height attributes, the scrolling speed and the content you desire.
You can add hyperlinks to your content and color the text whatever you
need. The script will blend into whatever background you use.
Do not place
apostrophes in your message words such as I'm or haven't. They will make the
script void and unworkable. If
you want a border around the text place the script inside a table and assign the
table border width. If you have any trouble installing the vertical text
javascript, don't hesitate to contact me. Here is an example of the
Upward Scrolling Text Javascript.
Simply copy and paste
the javascript code below into your HTML editor
|
|
Website
Design
|