Alright so I am currently building a website, and what I need to do right now is make a little form to where people can email me through the website. What I am trying to avoid is making my email known through putting it directly on the page, and through the html. I need some ideas, and some walkthroughs on how to make it would be delicious. If this isn't clear ask away, and I'll reexplain it.
None.
Relatively ancient and inactive
I'm fairly certain if you want people to be able to e-mail you, you can't hide your e-mail from their prying eyes.
To create a link to an email so they click it and their program opens up, try <a href="insertemailhere>TEXTEXTEXT</a>.
If you want an actual form, try googling how you could use the <form> tag together with input fields and a textarea to send emails. Probably possible. I would wager a guess on the mechanisms, but I'm not certain how you would specify which content was which (email password, subject, content, etc).
If you really want privacy and yet get emails, I think you can write a PHP script so that your website's viewers fill in a form, it runs it through a script and the server itself emails you (like when SEN sends confirmation emails). That's a tad more complicated, though, and requires actual scripting.
None.
Relatively ancient and inactive
I know that, I used that myself before in my never-completed CMS script. I meant with HTML. I thought you might be able to simply send an email via the <form> function, like you can by just linking to an email via the <a href=""></a> thing.
None.
Alright, I'll look at that. Thanks Centreri and isolatedpurity. If you come up with anything else tell me.
None.
If you're server allows PHP then it's easy, if not, you can always have Javascript in a separate file that does the actual e-mailing, and that should at least hide it from most people, even if they try to view the HTML.
None.
Relatively ancient and inactive
Excooz meh, but how the hell does Javascript email something...
None.
Oh wait.. I forgot that they'd see your name if it accesses their e-mail
I was thinking that you could hide the actual link location using it..
None.
You can put it in a form, <form action="mailto:me">blah blah...
That doesn't stop it from being harvested. Bots will be your problem, not your average person.
If you want to hide it in javascript though, I would change the form to have a blank action attribute and simply replace it with your mail address on submit.
None.
I know that, I used that myself before in my never-completed CMS script. I meant with HTML. I thought you might be able to simply send an email via the <form> function, like you can by just linking to an email via the <a href=""></a> thing.
Forms are usually used when sending data that requires more information, like large quantities of data and data that can be put into a Database.. At least that's what my teachers told me when I learned about the WWW.
None.
Relatively ancient and inactive
Forms are usually used when sending data that requires more information, like large quantities of data and data that can be put into a Database.. At least that's what my teachers told me when I learned about the WWW.
Yes. And? And the <a> tag was meant for linking, yet it works for emails. I think IP backed me up with his action="mailto:etc"> thing
.
None.
I'm pretty sure this is something cool you might want to include.
<html>
<head><title>Untitled Document</title>
<script language="JavaScript">
<!--
window.resizeTo(1000,800)
-->
</script>
<style type=text/css>
body
{
margin: 0px;
background-color:#FFFFFF
color:#000000
font-family:"Times New Roman", Times, serif
}
div#bg_image
{
width:100%;
height:70%;
left:0px;
top: 160px;
position: absolute;
z-index: 0;
background-attachment:fixed;
max-width:700;
min-height:400;
}
div#contents
{
z-index:1;
position:absolute;
filter:alpha(opacity=50);
}
A:link,A:active,A:visited
{
COLOR: #E4FFA5; text-decoration: none
}
</style>
</head>
<body>
<div id="bg_image">
<img src="Awesome image.jpg" style="width: 100%; height: 100%;"></div>
<div id="contents">
</body>
</html>
None.
Rantent, that was a complete failure.
Not to mention lots of redundant styling.
Also, "window.resizeTo(1000,800)" is horrible. You just don't do stuff like that.
None.
Forms are usually used when sending data that requires more information, like large quantities of data and data that can be put into a Database.. At least that's what my teachers told me when I learned about the WWW.
Yes. And? And the <a> tag was meant for linking, yet it works for emails. I think IP backed me up with his action="mailto:etc"> thing
.
Actually, the <a> tag is meant for Anchors, which you can change into Hyperlinks with the 'href' (Hyperlink Reference) attribute and you can even create anchors that send you to different spots within a document. E.G. the 'Top' arrow on this site sends you to the top of a document where an Anchor has been established (not saying that's how SeN does it, but that's one way)
....Even read up on it yourself:
Information about the Anchor TagDoes it mean that the tag was specifically created for linking just because it is an easy way to link? I would have to say no, just like Tables are used for Tabular Data, and people break standards and use them for layout.
None.