Click to See Complete Forum and Search --> : Floating Hearts Background does not work ????


Valerie
02-27-2003, 06:57 PM
copy and paste.

should be easy right?

then why doesn't it work?

~valerie

Jona
02-27-2003, 07:00 PM
Where'd you get it from? Can we see it?

Valerie
02-27-2003, 07:08 PM
http://javascript.internet.com/bgeffects/floating-hearts.html

pyro
02-27-2003, 07:10 PM
Did you remember to change this line:

var heart = "http://www.your-web-site-address-here.com/where/you/put/it/heart.gif";

to point to your image?

Valerie
02-27-2003, 07:14 PM
I did

http://www.geocities.com/babyface877/heart.gif

pyro
02-27-2003, 07:18 PM
That gives me a "this page is not available" error...

Valerie
02-27-2003, 07:29 PM
i don't know. when i clicked on the link it did the same thing but when i directly clicked on the link from my file manager this the link that i copied and pasted.


http://www.geocities.com/babyface877/heart.gif

pyro
02-27-2003, 07:31 PM
Well, for some reason the file is not there. The script will not work until that get's resolved. Perhaps try re-uploading it...

Valerie
02-27-2003, 07:33 PM
thank you.

boldent
02-27-2003, 09:56 PM
Replace var heart = "http://www.your-web-site-address-here.com/where/you/put/it/heart.gif";

(with) var heart = "http://www.your-web-site-address-here.com/where/you/put/it/heart.gif";


Hope it works for you too.

boldent
02-27-2003, 09:57 PM
var heart = "http://javascript.internet.com/img/heart/heart.gif";



I pasted twiced.

Valerie
02-27-2003, 09:59 PM
i'll try it now!

Valerie
02-27-2003, 10:02 PM
i remember doing this before on another webpage...i don't know why it isn't working now.

pyro
02-27-2003, 10:05 PM
Originally posted by boldent
var heart = "http://javascript.internet.com/img/heart/heart.gif";
Perhaps try for testing purposes, but other than that, calling an image from a server that is not your own is basically spamming the other server for bandwidth. Best to get it working from your own site...

boldent
02-27-2003, 10:10 PM
I'm new and learning. I didn't relize it was pulling from their site. Thanks for the information.

sekirt
02-28-2003, 10:38 AM
Say you want to send the floating hearts in an email composed in Outlook Express 6......

The heart.gif saved in a directory called GRAPHICS.

What would be the correct code for that same line in question?

I asked a similar question, which is somewhere around page 5 of this forum at the present time. It seems that OE, when it is sent, still wants to call the GIF from my hard drive. How do you get OE to encode the GIF so that it works when it arrives at its destination?

pyro
02-28-2003, 10:42 AM
Upload it to the internet and call from that page, such as <img src="http://www.yoursite.com/images/heart.gif" border="0" />

sekirt
02-28-2003, 10:48 AM
That would be the same effect. If the email was read off line, it would not be able to function properly.

When you send an email with an embedded graphic, it gets encoded into the email and travels with the email. 1 complete unit. Seems that people with OE5.5 are able to do this with javascript but fails when I attempt it with OE6. I don't have OE5.5, but that is what I was told by a person that did it.