Follow us on Twitter!
Follow us on Facebook!
 

Go Back   Pixtus - Photography Forum, Photographers, Photo Tips > Business Discussion > Website Talk


Dreamweaver CS4...email

This is a discussion on Dreamweaver CS4...email within the Website Talk forums, part of the Business Discussion category; I am really new to this website stuff so here goes a question. I would like to add a link ...

Reply
 
LinkBack Thread Tools Display Modes
  (#1) Old
Senior Member
 
John Godwin's Avatar
 
Posts: 307
Join Date: May 2006
Location: Alvin, Texas
Real First Name: John
Camera: Canon
Can Others Edit My Photos: No
iTrader Rating: 0

Likes Received LIKES Received: 2
Likes Given LIKES Given: 0
Dreamweaver CS4...email - 08-27-2009, 01:36 PM


I am really new to this website stuff so here goes a question. I would like to add a link to an email address in a web page but would like to keep the address hidden from email harvesters. Is there a way to do that in Dreamweaver?
Reply With Quote
Sponsored Links

Premium Members do not see Google advertisements. SIGN UP today and help support our community.
  (#2) Old
Senior Member
 
dryicerx's Avatar
 
Posts: 410
Join Date: Feb 2009
Location: Austin, TX, Texas
Real First Name: J
Camera: Canon
Can Others Edit My Photos: Yes
iTrader Rating: 0

Likes Received LIKES Received: 0
Likes Given LIKES Given: 0
08-27-2009, 02:11 PM


Quote:
Originally Posted by John Godwin View Post
I am really new to this website stuff so here goes a question. I would like to add a link to an email address in a web page but would like to keep the address hidden from email harvesters. Is there a way to do that in Dreamweaver?
This is just pain old html/javascript, nothing dreamhost specific.

Code:
<span style="cursor: pointer;" onclick="var emmm='p!e!r!s!o!n!@!h!o!s!t!.!c!o!m'.replace(/!/g,''); this.innerHTML=emmm; location.href='mailto:'+emmm;">Click to Email</span>
When you click it, it will remove all the ! characters in that string "p!e!r!s!o!n!@!h!o!s!t!.!c!o!m" => person@host.com, set the span's text to person@host.com so they can select it, and also open up a email (using mailto:).

I doubt most harvesting bots process javascript or go around clicking span's.

Last edited by dryicerx; 08-27-2009 at 02:14 PM..
Reply With Quote
  (#3) Old
Senior Member
 
John Godwin's Avatar
 
Posts: 307
Join Date: May 2006
Location: Alvin, Texas
Real First Name: John
Camera: Canon
Can Others Edit My Photos: No
iTrader Rating: 0

Likes Received LIKES Received: 2
Likes Given LIKES Given: 0
08-28-2009, 12:45 PM


Thanks for the reply. It sent me on a track that I was able to do and accomplish what I was wanting to.
Reply With Quote
Reply

Tags
cs4email, dreamweaver

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Visit Our Sponsors
 

Google Sponsors

Premium Members do not see Google advertisements. SIGN UP today and help support our community.

Copyright ©2004 - 2011, Abel Longoria - www.Pixtus.com
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.