Posted By: chomer () on 'CZwww'
Title:     Re: Javascript: document.write v MSIE ?
Date:      Fri Aug  3 18:12:26 2001

> AFAIK je to porad document.write();.
> 

A muzes me teda rict, proc me tohle MSIE nespapa (NS jo): ?

<script>
function show_email(s) {
 t='';
 for (i=0;i<s.length;i++) {
  if ((s.length&1) && (i==s.length-1))
   t+=s[i];
  else
   t+=s[i^1];
 }
 document.write ("<a href="mailto:",t,"">",t,"</a>");
}

show_email("otames@kte.fucinc.z");
</script>

(clovek by rek', ze s takhle jednoduchym skriptem nebude potiz.... :-o

Chomer (chatid: opat)

 Nesnasim turisticke znacky, nenavidim minova pole a miluju poust....

Search the boards