share your email address, but hide it from spammers

Type the following code in your “contact” page or wherever you want your contact information to appear on your website:

htmlcodeforjavaemailaddress

Copy the code below, paste it in a text file and edit the content in red:
(You can use any text editor, like the Notepad app in Windows.)

<!– Begin

// NOTE: If you use a ‘ add a slash before it like this \’
// NOTE: to turn any code into a comment, type two forward slashes //
in front of the line of code
// NOTE: I left the css code in, but you would need to create it in your own style sheet

document.write(‘<span class=”phonetitle”><nobr>’);

document.write(‘Your Name Here‘);

document.write(‘</nobr></span><br>’);

document.write(‘10901 Your Street<br>’);

document.write(‘City, ST 12345<br>’);

document.write(‘PHONE: <span class=”phonetitle”>(555) 555-5555<BR></span>’);

//document.write(‘<br>’);

document.write(‘EMAIL: <A HREF=”mailto:yourown@emailaddress.com” class=”link”>yourown@emailaddress.com</a><br>’);

//  End –>

Name the text file “phone.js” and save it in the same folder as the file containing the first code.

Now, your email isn’t underlying text that’s easily found by scammers and spammers, it’s buried in code. The downside is that anyone who’s not running javascript can’t see your content – rare, but possible.

Caveat: If your website is hosted on WordPress.com, they don’t allow javascript, so this code won’t work for your site.

(code snippet credit allwebcodesign.com)

prevent editing in a Section of a MS Word template/document

Occasionally, I’ve needed to protect a portion of a Word template from accidental editing. There are many reasons to do this, but one example – the one I’ll be using in this particular #pragmaticcomputertip – is to protect the content and formatting of what I call “faux” letterhead. (Note: This tip applies to MS Word 2007 and later.)

Click HERE to read the previous #pragmaticcopmutertip about creating faux letterhead. After finalizing, it’s a good idea to to be protect that section of the form against accidental editing. Here’s how that’s done:

Continue reading “prevent editing in a Section of a MS Word template/document”

send someone a text via email.

Did you know you can send text messages from any email program to a cell phone? For example, to email a text message to someone who uses AT&T, you would address the email like this: 10digitcellnumber@txt.att.net

However, when sending text messages via email, follow a few best practices:

1. Keep the message to just text (no images or attachments).
2. Keep the text plain (no text formatting).
3. Keep these messages short. If you send a large message, it will be broken up into multiple smaller 140 or 160 character messages. #annoying
Continue reading “send someone a text via email.”

#outlook shortcuts: replying to messages

Quick and easy shortcut for you today. Regardless of whether you have an email open or if it’s just highlighted within your Inbox or email folder, you can press:

Ctrl+R to “Reply” to the sender, Ctrl+Shift+R to “Reply to All” or Ctrl+F to “Forward” the email.

pragmaticcomputingtips outlookshortcuts reply forward

%d bloggers like this: