MaxxBlade's PC Stuff
 
 

Stars v2.0

[ Download .ZIP ] :: [ Example Page ] :: [ Support Forum ]

Stars is exactly what it sounds like, a star field for your web page. Using images as stars you can create a nice, zooming in effect. The same can be achieved using text only with the alternative to this script, StarsT.

Download this zipped version (contains: script, readme & star.gif)

Variables you can edit:
They're all on the first line.

  • m = number of stars (objects)
  • pic = 3filename of your "star" can be anything really
  • pw = width (in pixels) of your star image
  • ph = height (in pixels) of your star image
  • dist = how far (depth) each star should travel before being reset
  • stdep = how far away the stars should begin their path
    eg if the dist is set to 200 and the stdep is set to 100 this means that the stars start at a depth of 100 below the normal page layer i.e. behind the text, and when they have travelled 100 of the 200 they will appear on top of the normal page layer (currently this is only in IE)
  • spin
    set to 0 for no spin
    set to positive number for clockwise spin (0.01 is good)
    set to negative number for anti-clockwise spin (-0.01 is good)
    set to 999 for random spin changes
  • cdelay = time in milliseconds between random spin changes
  • ss = spin speed for random spins

 


JavaScripts

Bak2Top
Fall
FallT
Feed
Stars


Generators

Clock
Fade
Q3A Config
Safe


Script Bits

Window Dims
Window Offsets
Leading Zeros
Submit1ce


Games

DiRT 3
SongPop