473,383 Members | 1,798 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,383 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 1338
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.