Hi Norman,

Thanks for your reply. Entering blank lines directly in the <textarea> ...
</textarea> makes perfect sense. As regards reducing the inordinate amount
of preceding and trailing hyphens, thanks for confirming that it's not as
trivial as it seems. I thought I was missing something obvious but your
explanation makes plain the fact that it is too much work to fix a purely
cosmetic issue, client-side.

Note to Ipswitch: Unless it's just me -- or rather my users --, could you
kindly consider putting five hyphens before and after the "Original Message"
separator string in a future release, � la Outlook?

Once again, thanks for your response,

Guy
----- Original Message -----
From: "Norman J. Nolasco" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, April 21, 2002 4:15 PM
Subject: RE: [IMail Forum] Inserting blank lines when replying or
forwarding-with-edit


> To put line breaks in a textarea, you don't have to use &#13.  Just put
the
> line breaks into the template normally.
>
> For example,
>
> <textarea>
>
>
>
>
> stuff
> </textarea>
>
> will put about 4 or 5 line breaks before "stuff" in the textarea.
>
> AFAIK, the only way to remove the hyphens is through Javascript.  You
can't
> take them out before they are rendered.  You have to take them out after
> they
> are rendered (on the client using javascript... or some other client-side
> browser code).
>
> How?  Well, you can put the <!--IMAIL.MessageBodyForward--> tag inside a
> hidden textarea and parse it out from there or use a separate XML page
> to load up the message body first.  Then use the XMLDOM object to load it
> into a JavaScript variable (or other client side code variable).  The only
> problem is that XMLDOM doesn't fully support ISO-8864 (or something like
> that...
> meaning certain special characters)... and the "textarea" method won't
work
> for certain HTML formatted emails.
>
> Personally, it's too much trouble.  I'd tell your customer that it's
either
> going to cost A LOT to remove those hyphens or tell a white lie and say
> it's impossible.
>
> -Norm
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Guy Isabel
> Sent: Sunday, April 21, 2002 2:54 PM
> To: IMail Forum
> Subject: [IMail Forum] Inserting blank lines when replying or
> forwarding-with-edit
>
>
> Greetings,
>
> I just upgraded IMail from 7.04 to 7.07 (with new Web templates) and I
find
> that a seemingly trivial customization I had made to the 7.04 templates
does
> not work anymore. The underlying rationale is that users wish to have a
few
> blank lines preceding the separator line ("Original Message") in which to
> start composing text. The default behavior of the stock Ipswitch templates
> forces them to position the cursor at the very beginning of the text area
> and hit <Enter> a few times.
>
> At these users' request, I had added five "&#13;" before the
> <!--IMAIL.MessageBodyForward--></textarea> and
> <!--IMAIL.MessageBodyReply--></textarea> tags in files FWDMSG1.HTML and
> REPLYMSG1.HTML respectively. This doesn't work in 7.07, even if I use <br>
> or <p> as these HTML tags show up literally rather than performing their
> expected function. Moreover, I also want to trim the lengthy string of
> hyphens preceding and following the "Original Message" separator line and
am
> at a loss to find out where this is "hard-coded".
>
> Any help gratefully received!
>
> Guy
> --
> Guy Isabel     <[EMAIL PROTECTED]>
>
>
>
>
> Please visit http://www.ipswitch.com/support/mailing-lists.html
> to be removed from this list.
>
> An Archive of this list is available at:
> http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
>
> Please visit the Knowledge Base for answers to frequently asked
> questions:  http://www.ipswitch.com/support/IMail/
>
>
> Please visit http://www.ipswitch.com/support/mailing-lists.html
> to be removed from this list.
>
> An Archive of this list is available at:
> http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
>
> Please visit the Knowledge Base for answers to frequently asked
> questions:  http://www.ipswitch.com/support/IMail/



Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/

Please visit the Knowledge Base for answers to frequently asked
questions:  http://www.ipswitch.com/support/IMail/

Reply via email to