Re: javascript question on email hiding
by "Keith D Sellars" <Keith(at)webgraffix.com>
|
| Date: |
Tue, 18 Mar 2003 13:53:54 -0500 |
| To: |
<hwg-languages(at)hwg.org> |
| References: |
empirix c59303a |
| |
todo: View
Thread,
Original
|
|
I don't know about the image portion, but here is some javascript to do what
you're talking about:
<script LANGUAGE="JavaScript">
user = "ches";
site = "io.com";
document.write('<a href=\"mailto:' + user + '@' + site + '\">');
document.write('Ches</a>');
</script>
Thanks,
Keith D Sellars
WebGraffix
www.webgraffix.com
"Making database sites seem easy"
----- Original Message -----
From: "ches" <ches(at)io.com>
To: <hwg-languages(at)hwg.org>
Sent: Tuesday, March 18, 2003 12:49 PM
Subject: Re: javascript question on email hiding
> Thanks but I mean a script that goes with the image. I ran across a
webpage
> that I neglected to bookmark where the image when clicked on ran a script
> that generated an email. The only time you saw the email address was once
> the email opened for you to start working.
>
> Email address was in the script in pieces, not harvestable but still
> visible.
>
> Ches
>
> ----- Original Message -----
> From: "Evans, Chuck" <CEvans(at)Empirix.com>
> To: <hwg-languages(at)hwg.org>
> Cc: "'ches'" <ches(at)io.com>
> Sent: Tuesday, March 18, 2003 11:20 AM
> Subject: RE: javascript question on email hiding
>
>
> > I just create a gif using my graphics program (PaintShop Pro) with type
> size
> > matching the size of my text (in my case, my style sheet specifies 13px
> for
> > font-size, and I use 10 pt in PaintShop Pro).
> >
> > Then I trimmed the gif down to a bare minimum height above and below the
> > text, and included it as an inline graphic. See http://www.chucke.com,
> about
> > two thirds of the way down the page.
> >
> > Oh, and be sure not to do something like put your email address into ALT
> > tag, since bots will grab it there also.
> >
> > -Chuck
> >
> >
> > -----Original Message-----
> > From: ches [mailto:ches(at)io.com]
> > Sent: Tuesday, March 18, 2003 12:06 PM
> > To: hwg-languages(at)hwg.org
> > Subject: javascript question on email hiding
> >
> >
> > What is the code that will help hide the email address with an image? Is
> it
> > a product that you have to purchase or is it just straight code? Where
can
> I
> > find it?
> >
> > Ches
> >
>
>
HWG: hwg-languages mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.