Topic awaiting preservation: swap image script problems... help?! (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: dunno, really dunno anymore... |
posted 02-15-2002 11:32
www.chez.com/arlechinu/main.htm |
Maniac (V) Mad Scientist From: New California |
posted 02-15-2002 17:38
I don't have enough time right now to go through your code but let me offer a few ideas. |
Nervous Wreck (II) Inmate From: sj, ca, usa |
posted 02-15-2002 17:51
how about setting a temp variable that sets to 'true' if clicked. then on your mouseout code, swap back if the image clicked was not set to true. does that make sense? |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 02-15-2002 18:31
The poster has demanded we remove all his contributions, less he takes legal action. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 02-15-2002 23:55
Alright I get it. code: <area shape="rect" coords="0,50,8,57" href="javascript: void(0)" onclick="changeActive(0 ,'about')" onMouseOver="newscreen('title1','about'); newscreen('thingy1','thingy2')" onMouseOut="newscreen('title1','title'); newscreen('thingy1','thingy')" >
code: function changeActive(num, objectsrc){
|
Bipolar (III) Inmate From: |
posted 02-16-2002 23:06
I think Bugimus solution is the simplest, use a single global var. |
Bipolar (III) Inmate From: dunno, really dunno anymore... |
posted 02-17-2002 13:48
www.chez.com/arlechinu/main2.htm |