![]() Preserved Topic: Script problem (Page 1 of 1) |
|
---|---|
Obsessive-Compulsive (I) Inmate From: malmoe |
![]() Hi.What's wrong with this script? I'm working in Frontpage2000. |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
![]() 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 |
![]() 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 |
![]() 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 |
![]() I think I see it. Instead of constantly writing |
Maniac (V) Mad Scientist From: :morF |
![]() Is there supossed to be a line that says |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() Nope, I see what he's doing there, he purposely left out the "t". |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() 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 |
![]() 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 |
![]() 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... |