Help - Search - Members - Calendar
Full Version: Hide email addresses
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
DLU
I can not figure out how to code the link to email addresses when you fill out a message and send to a recipient.
Also how the code finds the recipient.
For instance I may have several names listed:
You click on the name and an input from opens up and says send an email to;

anyname1
or anyname2
and so on.

I want to replace the:
<li><a href="mailto:> code with a window like the following.
How do I configure the links and file to get this to work?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<script type="text/javascript">
</script>
<title>E-mail Contact</title>
<link rel="stylesheet" href="cnrcc.css" type="text/css"></link>

<meta name="keywords" content="" />
<meta name="description" content="" />
<script type="text/javascript">

</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>


</head>
<body>
<script type="text/javascript">
</script>
<div id="wrapperTop">
<script type="text/javascript"></script>


<div id="wrapperMain" style="width:970px;">
<div id="wrapperMainRight" style="float:right; width:336px;">


</div>
</div>

<div id="wrapperMainCenter" style="width:634px;">
<div id="wrapperInternalCenter" style="margin-left:0; padding-left:0;">

<h1>E-mail Input Name</h1>

<p>Use this form to send an e-mail to (Select). Thanks in advance for taking the time to send us feedback.</p>

<form action="" method="post">
<table>
<tr valign="top">
<td><p><strong>Your name:</strong></p></td>
<td><p><input type="text" id="id_sendername" class="vTextField required" name="sendername" size="30" value="" /></p></td>
</tr>

<tr valign="top">
<td><p><strong>Your e-mail address:</strong></p></td>
<td><p><input type="text" id="id_senderemail" class="vEmailField required" name="senderemail" size="50" value="" maxlength="75" /></p></td>
</tr>

<tr valign="top">
<td><p><strong>The subject of your message (optional):</strong></p></td>
<td><p><input type="text" id="id_subject" class="vTextField" name="subject" size="30" value="" maxlength="20" /></p></td>
</tr>

<tr valign="top">
<td><p><strong>Your message:</strong></p></td>
<td><p><textarea id="id_message" class="vLargeTextField required" name="message" rows="10" cols="40"></textarea></p></td>
</tr>
</table>

<input type="submit" value="Send e-mail"></input>
</form>



Darin McGrew
Please see the FAQ entry How do I get form data emailed to me?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.