473,396 Members | 1,982 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

No events are firing

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.
Jul 21 '05 #1
2 1339
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

"Neil Makar" <ne********@amsec.com> wrote in message
news:u7****************@TK2MSFTNGP09.phx.gbl...
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.

Jul 21 '05 #2
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

"Toby Mathews" <to***************@yahoo.spamfree.co.uk> wrote in message
news:cf**********@thorium.cix.co.uk...
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

"Neil Makar" <ne********@amsec.com> wrote in message
news:u7****************@TK2MSFTNGP09.phx.gbl...
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.


Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: teb | last post by:
Hello all, Here is basically the situation. I have an empty div on my page. When I mouseover a word, the innerHTML of the div gets written with a table. The td elements all have onclick,...
14
by: JPRoot | last post by:
Hi I use the following syntax to have events inherited from base to child classes which works nicely (virtual and override keyword on events). But I am wondering if it is a "supported" way of using...
3
by: Mike | last post by:
Hi, I am adding controls dynamically in a WebForm, but none of these controls' events fire. Here is the class code I am using. I have tried so many things, but nothing works :-( namespace...
9
by: Erik Frey | last post by:
Hi there, Just curious as to whether there's a clever way to see the events a control/object is firing off, perhaps written out to the debug console. It would be really handy to know which...
7
by: Denise | last post by:
I just realized the DataTable_RowChanging events were firing when I called Fill method of the DataAdapter! It fires TWICE for each row loaded. I thought these were only supposed to be called when...
0
by: RobKinney1 | last post by:
Hello, One of our C# apps (2.0) depends on a few events. One of them being DocumentComplete. Well, everything works fine with users that have IE 6 installed on their computers. But we noticed...
2
by: mswlogo | last post by:
I looked high and low for code to do this and finally found some VB code that did it right. This is a C# flavor of it. public event EventHandler<EventArgsMyEventToBeFired; public void...
1
by: TimmyTurner | last post by:
Hi all I'm working on a ASP.NET, C# project on Visual Studio 2005, using a MSDB in _vista_. My problem is that the events for the buttons are not firing. I've searched the web and the solution...
4
by: jehugaleahsa | last post by:
Hello: Is there a way to prevent one event from firing while another event is already being fired? I have a tool that extracts media from web pages and it has multiple events firing when the...
4
by: Joergen Bech | last post by:
I sometimes use delegates for broadcasting "StateChanged" events, i.e. if I have multiple forms and/or controls that need updating at the same time as the result of a change in a global/common...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.