Re: Email
JRS: In article <_hAmc.34149$_4 1.2900675@attbi _s02>, seen in
news:comp.lang. javascript, Brian Wilson <blwilson8@comc ast.net> posted
at Thu, 6 May 2004 23:57:46 :[color=blue]
>Yes, it works --- Copy the text below making sure that the document.write
>line is all on one line.[/color]
No need for that, if the code is decently formatted :
[color=blue]
><body>
><script>docume nt.write("<font size='+1', font face='Times New Roman'>" +
>"<a href='mailto:"+ myaddress+"?sub ject=Web Mail'" + " class=textlink
>style=color:bl ack;>"+myaddres s+"</a>");</script>
></body>[/color]
<body>
<script>
document.write( "<font size='+1', font face='Times New Roman'>",
"<a href='mailto:", myaddress, "?subject=W eb Mail'",
" class=textlink style=color:bla ck;>", myaddress, "</a>");
</script>
</body>
I've not compared the speeds of
document.write( a + b)
document.write( a, b)
but the latter looks easier.
--
© John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v4.00 IE 4 ©
<URL:http://jibbering.com/faq/> Jim Ley's FAQ for news:comp.lang. javascript
<URL:http://www.merlyn.demo n.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demo n.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.
JRS: In article <_hAmc.34149$_4 1.2900675@attbi _s02>, seen in
news:comp.lang. javascript, Brian Wilson <blwilson8@comc ast.net> posted
at Thu, 6 May 2004 23:57:46 :[color=blue]
>Yes, it works --- Copy the text below making sure that the document.write
>line is all on one line.[/color]
No need for that, if the code is decently formatted :
[color=blue]
><body>
><script>docume nt.write("<font size='+1', font face='Times New Roman'>" +
>"<a href='mailto:"+ myaddress+"?sub ject=Web Mail'" + " class=textlink
>style=color:bl ack;>"+myaddres s+"</a>");</script>
></body>[/color]
<body>
<script>
document.write( "<font size='+1', font face='Times New Roman'>",
"<a href='mailto:", myaddress, "?subject=W eb Mail'",
" class=textlink style=color:bla ck;>", myaddress, "</a>");
</script>
</body>
I've not compared the speeds of
document.write( a + b)
document.write( a, b)
but the latter looks easier.
--
© John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v4.00 IE 4 ©
<URL:http://jibbering.com/faq/> Jim Ley's FAQ for news:comp.lang. javascript
<URL:http://www.merlyn.demo n.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demo n.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.
Comment