Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Section/Outlines HTML Mail

Status
Not open for further replies.

MGV

MIS
Mar 16, 2001
1
CA
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=&quot;Javascript&quot;>
function expandIt(whichEl){
whichEl.style.display = (whichEl.style.display == &quot;none&quot; ) ? &quot;&quot; : &quot;none&quot;;
}
</script>

<html>

<head>
</head>

<body>
<H3>
<A HREF = &quot;javascript:expandIt(elOne)&quot;
STYLE = &quot;text-decoration:none&quot;>
Main Message</A></H3>
<P ID = &quot;elOne&quot;
STYLE = &quot;display:none; background-color:#EEEEAA&quot;>
.
.
.
</P>
<H3 STYLE = &quot;cursor:hand;&quot;
onClick = &quot;expandIt(elTwo)&quot;>Departing Obligations</H3>
<DIV ID = &quot;elTwo&quot;
STYLE = &quot;display:none; background-color:#EEEEEE&quot;>
-.
-.
-.
</DIV>

</body>

</html>




 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top