PDA

View Full Version : cupid script



librarymary
01-30-2005, 02:34 AM
I guess I'm as lost or hopeless as they come. I've put different javascripts and a couple of others (including a snow similar to yours) in my pages. But, I can't get the cupid.gif to work. I know it has to be how/where I put the image address(?) but I've tried so many different "fixes" and none work. This script is different than I've worked with before, so please excuse the ignorance ( I have gone to the various HTML sources you listed under Peppy's question) and I still can't figure it out.

my image is in http://www.dancewithme/TEMP/Cotillion/images/cute.gif

How does this string it my image location in RIGHT???? Cupid=new Image();
Cupid.src="cute.gif"; //specify path to Cupid image

I get flying boxes (no image) but CANNOT get the cupid.

Just call me stupid and be done with it, but please give me the string from

Cupid=new Image(); to the end (including my image path)

THANK YOU< THANK YOU

librarymary
01-30-2005, 04:01 AM
NEVER MIND! I GOT IT!!!!! :p

javascriptfan
09-18-2011, 08:54 PM
And how to set different images in this script:

http://www.dynamicdrive.com/dynamicindex4/bats.htm

so that the 3 images were different ?