Preserved Topic: deactivation of buttons |
|
---|---|
Author | Thread |
Bipolar (III) Inmate From: KY |
posted 11-29-2001 22:48
Is it possible to deactivate buttons trough javascript. I have a button with a mouseover function and a two buttons below it that load text in a window in the middle when I drag the mouse up to the window , if the mouse hits the mouseover button it resets the window. |
Maniac (V) Mad Scientist From: New California |
posted 11-30-2001 01:09 |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 11-30-2001 02:57
onClick="return false"; |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 11-30-2001 04:12
you can also add an if statement in your onmouseover to deactivate it when you are doing the drag thing |
Bipolar (III) Inmate From: KY |
posted 11-30-2001 05:48
Hey guys, thanks for responding. I can't really show you what I"m trying to do but I can do my best. if you go here you can see my basic page. It's been updated a lot but the server is really messed up and I haven't been able to upload anything to get my finished page up. ANyway at the bottom where it says about sek-l-wof there are now two links below that between green <hr> tags. As I was saying before when you click either of the links (one says mission statement, the other says Employment) stuff pops into the window in the middle. The probelm is if you move the mouse up to the window and go over the about sek-l-wof text the text is replaced with the onmouseover stuff that is associated with the about sek-l-wof text. Can you get an idea of what I'm talking about? |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 11-30-2001 07:28
Okay here's what I'd do (I think I understand). When you mouseover the bottom links it is probably calling some function. |
Bipolar (III) Inmate From: KY |
posted 12-01-2001 05:18
it didn't quite work. I'm guessign I hvae to change something somewhere. Should it be setTImeout or setTimeout? |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 12-01-2001 05:33
Hmm. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 12-01-2001 09:02
(should be setTimeout) |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 12-01-2001 09:26
Hokay, this page doesn't have the links that changes the content. So I can't give you an exact answer. code: document.getElementById('floatContent').innerHTML='Sek-L-woF was started in 2001 by Jeremy Weintraub and Jeremiah Ware, two graduates of Hanover College. <p> The purpose of Sek-L-woF was and is to provide quality services to both residential and commercial clients with the purpose of improving the overall experience the Internet provides.'
|