!!--COLOR-->
###### REMOVE THIS LINE AFTER YOU GRAB THE SCRIPT ######
artmann@worldnet.att.net
second
This scrolling credits window is not
something you see every day on the
Web, but we thought it was
sufficiently stupid to include. Created
by BUILDER.COM producer Paul
Anderson, it pops up a window with
scrolling credits, just like at the end
of a big-budget movie. (Note: This
trick works only in Navigator 3.0
and later and Internet Explorer 4.0
and later.)
SEE IT IN ACTION
Step one:
First, set the link to the popup
window in your existing page. To do
this, you need to add the following
JavaScript to that page's
:
Password please
It's about time
Good morning Web
surfers!
Count your visitors
Ladies and
Gentlemen,
choose your
backgrounds
Go for a scroll
Would you like to
sign my
guest book?
Roll credits!
Red alert!
Build better buttons
Then add a link to this window somewhere in the
body of your
document:
Want to see the credits? Click here.
This link will open up a small popup window. In
our example, the
HTML document credits.html is being called for
that window. You
should either name the next document you create
credits.html, or
be sure to make the link consistent with the
filename you use.
Step two:
Now create the document that contains the credits.
This will be a
standard HTML page; you can set the background as
you would
with any page, as well as the font colors and
sizes. There are just a
few things you need to add.
This code goes in the of your page:
You will need to adjust the number in the
statement vPos%=1000,
which determines when the credits restart. In our
example, it's set
to 1000. The figure you choose may cause the
screen to reset
before the credits are done, or the process may
wait too long to
start over, depending on how much content you put
in the window.
Play with the value until you get the effect you
want.
Step three:
Add the following event to the tag of
credits.html:
Step four:
Add the text to the page. To smooth out the
scrolling effect, you
may want to add extra space at the top and bottom
of the page.
Just add a series of
tags.
Third