Can we use the <title><!---Imail Tag---></title> if the page is within a
frameset (so the info isn't shown up top) and reference the title in
javascript? How might it handle < and > in the fields. This could make it
feasible to do other sections like the mailbox summary that have emails with the
' in the title.
"Michael B. Murdock" wrote:
> Thanks Chris... I will give it a try...
>
> For any JS "newbies" out there... make sure you split Chris's code ... the
> function replace should go at the top of the code between the head tags
> (where IMAIL's JavaScript is) and the code which uses it should go in the
> template where you want the <!--IMAIL.MailboxFolderSummary--> cleaned up....
>
> Mike
>
> ----- Original Message -----
> From: Chris ten Den <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, December 01, 1999 5:18 PM
> Subject: Re: [IMail Forum] Includes/ASP in Web Templates
>
> > The below does the replace you desire. Add upon as you feel free.
> >
> > <script language="javascript">
> >
> > var longstring;
> > longstring = '<!--IMAIL.MailboxFolderSummary-->';
> > newlongstring = replace(longstring,"<TABLE Border=1>","<table
> > border=0>");
> > document.write(newlongstring);
> >
> > function replace(instring,replaceword,replacewith)
> > {
> > var text=" " + instring + " ";
> > apos= text.indexOf(replaceword);
> > while (apos > -1)
> > {
> > text=text.substring(1,apos) + replacewith +
> > text.substring(apos+replaceword.length,text.length);
> > apos=text.indexOf(replaceword);
> > }
> > return text;
> > }
> >
> > </script>
> >
> > Please visit http://www.ipswitch.com/support/mailing-lists.html
> > to be removed from this list.
> >
>
> Please visit http://www.ipswitch.com/support/mailing-lists.html
> to be removed from this list.
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.