View Full Version : Snow Javascript

Sweeper Steve
11-06-2004, 10:36 AM
Hi, i have made a christmas themed webpage and have used the Dynamic Drive snow script but with my own image...a white circle. Because the background of my webpage is lightskyblue i made the background of the snow lightsnowblue, but when it hovers over my images, you can see the blue square around it. Is their any way of changing this so you can only see the white circle, and nothing else around it?

11-06-2004, 11:57 AM
Can you post a link to the script as requested in the forum stickies please?
In this case, http://www.dynamicdrive.com/dynamicindex3/snow.htm

I can't understand what you mean, as this shouldn't happen at all (unless the snow is in some way hyperlinked). Can you link us to an online example?


Sweeper Steve
11-07-2004, 08:54 AM
Well why it happens is i swapped the image for my own, and i made my own image in paint, a small white circle with a lightskyblue background, and linked that image to a website.


11-07-2004, 09:08 AM
Ah, I'm getting what you mean, thanks for the screenshot.
(You seriously need to sort out your security settings/update configuration :p)

Anyway, what you need to do is make a GIF/PNG with that Sky Blue background as transparency instead. I can do this for you if you don't have anything like Paint Shop or Photoshop.


Sweeper Steve
11-07-2004, 09:30 AM
security settings?????

anyway i don't have photoshop or whatever the other one was lol.

So are you free to do this? if not i will download it if it is free.

Thanks for helping me,

11-07-2004, 11:57 AM
This should work, fingers crossed...

I think it looks rather prettiful, I made it in PSP9


Edit: it looks like it's working. On the image preview below, click right-click Save As.. and you should be sorted.

Sweeper Steve
11-07-2004, 12:38 PM
um it doesnt seem to work :s


11-07-2004, 12:50 PM
Egads. Try this one.


Sweeper Steve
11-07-2004, 12:58 PM

Thanks a lot!

much better now :D


Sweeper Steve
11-07-2004, 02:21 PM
i don't suppsoe anybody knows how i can upload a music file to the internet?

i have put in a music code on my script and it works for me because i have the file, but it doesnt work for others as they havent.

any ideas where i can upload my music to an internet address?

11-07-2004, 02:39 PM
Do you have any webspace which came with your internet service?

Mine, for example is mynamehere.f2s.com, as freedom2surf are my ISP.

Otherwise, try freewebs, port5.com, etc etc, but check their file policies carefully.


Sweeper Steve
11-07-2004, 03:05 PM
does anybody have a website which they will kindly upload my song to??????

11-07-2004, 05:01 PM
Use these fine people : http://www.hostultra.com/freehosting.html
Or port5.com (slightly unreliable)

Etc, etc. There are plenty out there.


Sweeper Steve
11-07-2004, 05:39 PM
i found brinkster did a free 'educational' package.

of course the music is educational :o *rolls eyes*

thanks anyway

Sweeper Steve
11-07-2004, 05:45 PM
if anybody wants to see the final part visit...


11-07-2004, 05:52 PM
Very nice.


Sweeper Steve
11-08-2004, 05:06 PM
change of webpage!

it now is



11-10-2004, 09:45 AM
sorry wrong post.. :S

11-10-2004, 09:48 AM
Adding sound to your page isn't all that difficult. There are many formats of sound that can be added to your page. I will cover a few here. These include:

Real Audio
The first format I'll discuss is Midi. I'm sure you've been on pages that have Midi files embedded into the page that play when the page loads. Sometimes this can be pleasant, other times it can be down right annoying! At any rate, this is how you would embed the midi file into the page.

Netscape and I.E. don't recognize the same html command to load sounds on your page. Netscape uses the <EMBED> command and Mirosoft I.E. uses the <BGSOUND> command. Below are two example lines of code that you would put on your page to load a midi file.

<BGSOUND SRC="yoursong.mid" height=55 width=200 volume="25%" loop="true" autostart=true>
<embed img src="yoursong.mid" height=55 width=200 autostart=true LOOP="true" volume="25%">

<BGSOUND> and <EMBED> load the midi file that you define. The height and width tags are the size of the standard midi player in your browser. You can set them to a value of "0" and the player will not be seen. Loop can be set to "true" and it will loop indefinately, or you can set a number value for it. If you set "Autostart" to true, the midi will start playing once it's loaded. If you set it to false it will have to be manually started on the midi player. The Volume can also be set to a percentage value. Make it a setting that would a normal listening level so that it don't scare the bejeebers out of your visitor when the midi starts playing. You can use a wav file instead of a midi file in the same manner. Just keep in mind to use as small a wav as possible ( in bytes ) so that the download time can be kept to a minimum. If you want to align the player on your page, use the same alignment commands such as <center> etc. that we went over previously.

Real Audio, Wav files and MP3 files are the other formats that are most common on the internet.

Have Fun:):p