[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to introduce javascript



Earl Hood wrote:
> 
> On August 13, 2002 at 12:29, Aumont wrote:
> 
> > Is there any way to introduce a javascript into
> > some part of messages ?
> 
> Yes, but it does depend on exactly what you are trying to achieve.
> 
> > I want to add a javascript
> > to ADRESS, so i try to use
> > M2H_ADDRESSMODIFYCODE environement variable but
> > unfortunitly, mhonarc encode "<" and ">" to &lt; and &gt;
> > which of course is great for html but not for javascript.
> >
> > Is there a way to escape "<" from this encoding ?
> 
> ADDRESSMODIFYCODE applies the address text and is not intended
> to be used to introduce markup.
> 
> What exactly are you trying to achieve?

I want to introduce emails  with the following javascript.

<SCRIPT language=JavaScript>
<!--
document.write(\"<A HREF=\" + \"mailto:\"; + \"$FROMADDRNAME$\" + \"@\" +
\"$FROMADDRDOMAIN$\" + \">$FROMNAME$</A>\")
// --></SCRIPT>";


-- 
-----------------------------------------------------------
Serge Aumont        Comité Réseaux des Universités
                     Campus Beaulieu 
                     35042 Rennes Cedex

---------------------------------------------------------------------
To sign-off this list, send email to majordomo@mhonarc.org with the
message text UNSUBSCRIBE MHONARC-USERS


[Index of Archives]     [Bugtraq]     [Yosemite News]     [Mhonarc Home]