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:COMPONE NT>
<PUBLIC:ATTAC H EVENT="onMouseO ver" HANDLER="doMous eOver" />
<SCRIPT LANGUAGE="JavaS cript">
function doMouseOver(){
var strRegExp = / /g;
var newString = innerHTML.repla ce(strRegExp," ")
if(newString.le ngth>1){
window.status = newString;
return true;
}
}
</script>
<PUBLIC:COMPONE NT>
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:COMPONE NT>
<PUBLIC:ATTAC H EVENT="onMouseO ver" HANDLER="doMous eOver" />
<SCRIPT LANGUAGE="JavaS cript">
function doMouseOver(){
var strRegExp = / /g;
var newString = innerHTML.repla ce(strRegExp," ")
if(newString.le ngth>1){
window.status = newString;
return true;
}
}
</script>
<PUBLIC:COMPONE NT>
Comment