I'm trying to do a simple test of a behavior overriding the windows
status bar on a link to show its text instead of it's href without
passing special variables to the behavior. Please have a look and let
me know if you see anything I'm missing.
<PUBLIC:COMPONENT>
<PUBLIC:ATTACH EVENT="onMouseOver" HANDLER="doMouseOver" />
<SCRIPT LANGUAGE="JavaScript">
function doMouseOver(){
var strRegExp = / /g;
var newString = innerHTML.replace(strRegExp," ")
if(newString.length>1){
window.status = newString;
return true;
}
}
</script>
<PUBLIC:COMPONENT>