...

Film credits....

JAVAEOC
03-23-2004, 02:21 AM
this is just a little stupid script i wrote for my "Computer Programming Tacher", well I thought somebody might be interested in it.....

hope it helps anybody.

Garadon
03-23-2004, 05:52 AM
Altered it just a little for fun :)

glenngv
03-23-2004, 07:47 AM
You don't have to split the the top coordinate by "px" before doing the parseInt.

At=parseInt(credits.style.top.split('px'),10);

parseInt already discards non-numeric characters after the integer.

This is enough:

At=parseInt(credits.style.top,10);

Garadon
03-23-2004, 08:31 AM
lol was there cause I didn't use parseint to begin with :P

JAVAEOC
03-23-2004, 11:15 PM
mhhh, very nice, I like it it is a way different approach to it, but it works AND it seems to be more efficent :D

thunderbox
04-08-2004, 02:43 AM
i love it mate, i used it on my website in the creadits section, hope thats ok with u. i put ur name in the credits!!

JAVAEOC
04-10-2004, 05:35 PM
thanks ok with me, im glad somebody uses it :D

ssskaya
04-14-2004, 11:53 PM
I was wondering how you can make it slow down a little bit.

the speed is so fast for the place that I want to use it.

thanks.

JAVAEOC
04-15-2004, 12:20 AM
really easy, just open the file and look for this:

setTimeout('StartCredits()', 1)

replace the one with something else to make it faster liek this:

setTimeout('StartCredits()', 30)

have fun

Garadon
04-15-2004, 07:16 AM
the higher the number the slower it runs, but be aware that at a certain point u will get to a place where the animation goes from looking like it floats to being jumpy



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum