home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

'Stop' a script from running..

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2264
Discussions: 200,970, Posts: 2,379,741, Members: 246,335
Old January 16th, 2003, 07:09 AM   Digg it!   #1 (permalink)
Member
 
Join Date: Jan 2003
Posts: 42
'Stop' a script from running..

OK, here goes..

I need to know the (hopefully) standard way of stopping a script from running, ie. I have an onMouseover that instigates a script and I want the onMouseout to stop the script, rather than do something else.

Eg.
<A ONMOUSEOVER="fadetext()"><IMG SRC="Image/Speaker.gif" width=20 height=20></A>

This runs a fade-in text description of the image, but remains after the mouse leaves the image. If someone knows how to fix this within the fadetext function then great, but I would like to know if there is any way to stop a script in general, as well.

Cheers.
Nathan323 is offline   Reply With Quote
Old February 7th, 2003, 05:51 PM     #2 (permalink)
Ultimate Member
 
strangerstill's Avatar
 
Join Date: Oct 2001
Posts: 1,542
I guess you ought to create a global variable and have fadetext() check it during its running; the onmouseout event would change its value, the fadetext() function detects this and acts accordingly.
strangerstill is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (3045)
Breaking: San Diego ACORN Document .. (10)
Delete an OS (15)
The disrespect of Obama by Russian .. (47)
Nvidia GTX 260 problem (7)
Laptop with wireless problem. (12)
Wireless Televisions. (12)
CPU fan stops spinning randomly (11)
windows vista security holes (17)
Regular Build (11)
Internet Lost (5)
windows 7 problem (7)
Point and Shoot Camera Suggestions. (6)
Is the PSU I received dead? (13)
Recent Discussions
Can't open Word (12)
Nvidia GTX 260 problem (7)
[F@H SPAM 11/16/09] ! 1/2 months to r.. (37)
Delete an OS (15)
Steam ID's, Gamertags etc... (4)
Games, Cables, PCI cards, and more fo.. (6)
Dept. of HS: NSA 'Helped' Develop Vis.. (17)
Linksys WMP54GS wireless card problem.. (5)
windows vista security holes (17)
Help getting around port 80 for camer.. (5)
Skillsoft Network+ Study Software Que.. (10)
Browsers wont load websites (3)
help me pls laptop just stopped worki.. (0)
Open With ..... Win7 (3)
Laptop with wireless problem. (12)
Internet Lost (5)
virus blocking exe. files (1)
Point and Shoot Camera Suggestions. (6)
CPU fan stops spinning randomly (11)
Modern Warfare 2: Who Bought It? (65)
Is the PSU I received dead? (13)
Print spooler problem (16)
Kingston Bluetooth Dongle Driver (1)
Multiple Restarts Required at Boot (3)
webcam (0)


All times are GMT -4. The time now is 08:24 PM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28