PDA

View Full Version : Stardust Background Script:



supergirl
07-25-2005, 06:35 AM
Hello ~

Stardust Background:
http://rainbow.arch.scriptmania.com/scripts/star_dust.html

-------------------------------

This is a very pretty javascript I would like to modify a little bitů

May I ask how to:

1) make all the stars the same size (1px, the smaller one shown);
2) keep the twinkling even when you choose only one color?

Thank you for your time!
SuperGirl

IanMarlowe
07-25-2005, 08:24 AM
what color?

supergirl
07-25-2005, 10:43 PM
Oh, actually I got it - may I share this with you?

If you would like to customize your background image (relatively simple one, like stardust), you can opt for saving a gif image on the current background color (*not* transparent), FTP it, then, include the following in the <head> section:

<!--
body { margin-top: 10px; margin-right: 10px; margin-bottom: 10px; margin-left: 10px; background-repeat: repeat ; background-image: url(images/bg.gif);}
-->

-----------------------------------

(if you prefer not to repeat background, change "repeat" to "no-repeat")

-----------------------------------

After that, add the following to your <body> tag:

<BODY BGCOLOR="#000000" LEFTMARGIN="10" TOPMARGIN="10" MARGINWIDTH="10" MARGINHEIGHT="10" TEXT="#FFFFFF" BACKGROUND="images/bg.gif">

-----------------------------------