Search the web
Sign In
New User? Sign Up
DesignAdvice · Design Advice
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
E-mail cloak coding frying my brain   Message List  
Reply | Forward Message #53 of 65 |
RE: [DesignAdvice] E-mail cloak coding frying my brain

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/





Wed Jun 14, 2006 6:32 pm

shawn_ra
Online Now Online Now
Send Email Send Email

Forward
Message #53 of 65 |
Expand Messages Author Sort by Date

Hi Shawn, It's been awhile since we've talked (not that you remember) on the hswm list. You've remained the number one guy, though, whom I've respected as ...
B. Brow
shemaiahjane
Offline Send Email
Jun 14, 2006
3:59 am

Hi Brandy, ... 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...
Shawn K. Hall
shawn_ra
Online Now Send Email
Jun 14, 2006
6:35 pm

Hi Shawn, I'm surprised you remember me. Then again, maybe I'm not. I seem to recall making a big blundering entrance onto the list by posting something...
B. Brow
shemaiahjane
Offline Send Email
Jun 18, 2006
4:38 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help