|
-
Apr 28th, 2003, 01:59 AM
#1
Thread Starter
yay gay
what does this exactly do?
Code:
<SCRIPT FOR="objHeartbeat" EVENT="BrowserCommand(opCode,str)" LANGUAGE="JavaScript">
self.BrowserCommand(opCode,str)
</SCRIPT>
i know BrowserCommand() is a function..but what does the EVENT mean? it is not an event or is it? and the SCRIPT FOR= tag?
tks in advance
\m/  \m/
-
Apr 28th, 2003, 02:59 AM
#2
This is an old and stupid IE-specific way to catch events. The script within this script tag is executed when some event occures on objHeartbeat.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Apr 28th, 2003, 03:43 AM
#3
Thread Starter
yay gay
ah so the ocx "BrowserCommand()" has nothing within it, just being something like a virtual function that is overriden by the html java function?
\m/  \m/
-
Apr 29th, 2003, 09:22 AM
#4
I don't know. I never really bothered with things that only work on IE.
But it's JavaScript in any case, not Java.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|