I have a database application on a site that generates an HTML e-mail to certain individuals (using notes mail)depending on a condition. The message must contain expandable/collapsable sections. I used the outline feature in HTML, it does not work once the message is received in Notes. Any suggestion would be appreciated.
---------------------------------------------------
<script Language="Javascript">
function expandIt(whichEl){
whichEl.style.display = (whichEl.style.display == "none" ) ? "" : "none";
}
</script>
<html>
<head>
</head>
<body>
<H3>
<A HREF = "javascript:expandIt(elOne)"
STYLE = "text-decoration:none">
Main Message</A></H3>
<P ID = "elOne"
STYLE = "display:none; background-color:#EEEEAA">
.
.
.
</P>
<H3 STYLE = "cursor:hand;"
onClick = "expandIt(elTwo)">Departing Obligations</H3>
<DIV ID = "elTwo"
STYLE = "display:none; background-color:#EEEEEE">
-.
-.
-.
</DIV>
</body>
</html>
---------------------------------------------------
<script Language="Javascript">
function expandIt(whichEl){
whichEl.style.display = (whichEl.style.display == "none" ) ? "" : "none";
}
</script>
<html>
<head>
</head>
<body>
<H3>
<A HREF = "javascript:expandIt(elOne)"
STYLE = "text-decoration:none">
Main Message</A></H3>
<P ID = "elOne"
STYLE = "display:none; background-color:#EEEEAA">
.
.
.
</P>
<H3 STYLE = "cursor:hand;"
onClick = "expandIt(elTwo)">Departing Obligations</H3>
<DIV ID = "elTwo"
STYLE = "display:none; background-color:#EEEEEE">
-.
-.
-.
</DIV>
</body>
</html>