You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Barbara Post <ba...@ifrance.com> on 2002/06/28 10:57:02 UTC
bug with a javascript that worked.....
OK Struts gurus ;-) here we go : this javascript is so very simple and works
well.
Maybe I shouldn't use <a href="... " > in <nested: ... > tag ?
Gotta try <html:link instead>.
The event that does not behave well is onMouseOver, browser tells that
document.layers[...].style is not an object. But another javascript called
by a click on a link (<a href="javascript:... >) does work.
function menuHelp(divId, vis)
{
if (document.layers) {
document.layers[divId].visibility = vis;
}
else {
document.all[divId].style.visibility = vis;
}
return true;
}
Barbara
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>