Preserved Topic: Script problem (Page 1 of 1) |
|
---|---|
Obsessive-Compulsive (I) Inmate From: malmoe |
posted 06-03-2000 21:04
Hi.What's wrong with this script? I'm working in Frontpage2000. |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
posted 06-04-2000 00:09
Always check for missing semi-colans. That is the main area that I find myself messing up with on programs.<P> |
Obsessive-Compulsive (I) Inmate From: malmoe |
posted 06-04-2000 00:43
Well, appreciate your reply and the hint but unfortunatly this is not the problem in this case. Thanks anyway:-) |
Maniac (V) Inmate From: under the bed |
posted 06-04-2000 01:22
Ummm....how about ya tell us what problems yer havin'....then we's cin tell ya what the problem is <img border=0 align=absmiddle src="http://www.ozones.com/forum/smile.gif"> |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 06-04-2000 01:57
I think I see it. Instead of constantly writing |
Maniac (V) Mad Scientist From: :morF |
posted 06-04-2000 06:34
Is there supossed to be a line that says |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 06-05-2000 18:49
Nope, I see what he's doing there, he purposely left out the "t". |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 06-05-2000 22:21
Okay I'm going to put this out there at the beginng and then try to be helpful. I would recommend naming the images individually and using that attribute to swap out the images instead of using the document.images array that just makes it hairy. In this case when you mouse over the mail button the topgen image is the one thats going to change (its the first one) |
Maniac (V) Inmate From: under the bed |
posted 06-06-2000 07:02
Okay, this is what I want to know -- can't this be done without having to go through the list twice? Something along the lines of over[num] = new Image; rather than listing each number? I just hate the redundancy....and I know I have seen many scripts that seem shorter and less cumbersome. |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 06-06-2000 08:47
Yah, this is an older version of the script. It should work, but not as elegant as it can be. Here's one that sets 12 images as new image(), and loads them with values. You need to name your images using the same format, but this works great, I use it all the time... |