No events are firing

N

Neil Makar

I have the simplest of all possible web pages short of "Hellow world," and
it doesn't friggin'work. I need someone to show me the secret handshake to
get this working.

I have an embedded object and I want to track the ready state. (Actually,
I want to track the URL to see if the bloody thing connected to anything.)
Here is my entire piece of code.

<head>
<title>Lynx Sample Window</title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5">
<script id=clientEventHandlersJS language=javascript>
<!--

function myembed_onreadystatechange() {
alert("readystatechanged");
}

function myembed_onload() {
alert("onload");
}

//-->
</script>
</head>

<body>

<p><embed id="myembed"
src="http://easylink.playstream.com/winlive/woodlandparkzoo.asx"
language=javascript
onreadystatechange="myembed_onreadystatechange()"
onload="myembed_onload()"></p>

</body>

Neither the onload nor the onreadystatechange events fire. I get no errors,
I get nothin'.

Can anyone explain the secret handshake it takes to get this junk to work?

Thanks,

signed
Pissed Off in Washington.
 
T

Toby Mathews

Neil,

Does the EMBED tag have those event handlers? I don't think it does, which
would explain why they're not firing, but I could be wrong.

Toby Mathews
 
N

Neil Makar

I was thinking the same thing, but I can't find documentation that says one
way or the other, and I don't know how to test for them. Form level events
(onclick, onload, etc.) all fire, so I suspect you are right.

Which begs the question, how do I determine if the embedded link worked? If
it goes dead, I want to be able to tell. Right now, a dead link just blankly
stares at you.

Neil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top