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

"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 UTC