Hi Brandy,
> It's been awhile since we've talked (not that you remember)
> on the hswm list...
I remember, and it /was/ quite a while ago. I think that was when I was
first inspired to put up the article on my site. I really feel like I've
been neglecting the HSWM group, I just don't have the time right now to
participate. :(
http://reliableanswers.com/js/mailme.asp
> ...my blog runs on blogger.com. I don't have a contact form
> to use and no matter how many times I go over your e-mail
> cloaking instructions, I find that I'm still shy of enough
> coding know-how to do anything with it--if I can at all.
There are a couple options you can use. The first and, perhaps, easiest
(in the long run), would be to move the blog off of blogger to it's own
domain. You can setup your blogger account to use third-party hosting
and weave server-side code into the template, providing the ability to
use the automatic formatting for the addresses directly from the code
generated by Blogger. It also gives you ability to add pages to the
site, like a contact page. And it gives you more options for later on
when you want to do more with your site than just a blog. With blogger
hosted at blogger, well, you're pretty much stuck with the blog.
Second, you could rewrite the links to use only the function for
generating the email address, but that leaves browsers that are not
capable of supporting javascript without the ability to contact you in
any way. Which is kinda the boat you're in now, and not working for you.
The client-side code for a rewritten link using the mailme script would
look like this:
<a href="javascript:void(null);"
onMouseOver="javascript:this.href=mailMe('example%2Ecom','me');"
onFocus="javascript:this.href=mailMe('example%2Ecom','me');"
title="title here">Email me</a>
And then you have to add the same JS function to the <head> section of
the page - this would have to be included directly since blogger doesn't
let you save files on their server.
<script type="text/javascript">
function mailMe(sDom, sUser){
return("mail"+"to:"+sUser+"@"+sDom.replace(/#/g,"."));
}
</script>
Good luck,
Shawn K. Hall
http://12PointDesign.com/
http://ReliableAnswers.com/