W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 2002

Re: object : when is support arriving, and more.

From: Jim Ley <jim@jibbering.com>
Date: Thu, 17 Jan 2002 20:54:54 -0000
Message-ID: <061f01c19f99$3c7ca960$ca969dc3@emedia.co.uk>
To: "jonathan chetwynd" <j.chetwynd@btinternet.com>, <w3c-wai-ig@w3.org>
"jonathan chetwynd":

> Anyone care to comment on the following hack:

It's a hack :-) 
 
This is probably a slightly better hack

function locus(e) {
 el=null
 e=e ? e : event;
 if (e.srcElement) el=e.srcElement.id
  else if (e.target) el=e.target.id
 if (el) {
  window.location="http://www.peepo.com/sounds/words/" + 
     el+".wav"
 }
}
</script>

However I'm not so sure about using location to do this.

Jim.
Received on Thursday, 17 January 2002 15:56:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:00 GMT