Surfwebtips Web Directory, Link Exchange Service, Webmaster Resource Center
 
....................................

Surfwebtips Webmaster Resource Center

Free scripts for your site

Get a Tell-a-Friend-service. An Easy to Implement Tell a Friend Script in HTML.


 

Tell-a-Friend-service

Let your visitors email a friend about your web site - from your site!

----------------------------------------------------------------------------------------------------------------------------- s c r i p t
<body onload="invisible()">

<a href="javascript:emailFriend();" title="This service is provided by Surfwebtips.com">Email
a Friend About this Web Site</a> ! <br /> <form name="formSurfwebtips" method="post" action="http://www.surfwebtips.com/servlet/tellafriendservice1" style="display:inline;">
<input name="friendEmail" type="text" value="Your friend's email" />
<input name="senderName" type="text" value="Your name" />
<input name="fromEmail" type="text" value="Your email" />
<input type="button" name="button" value="Send" onclick="formCheck()"/>
<input type="hidden" name="yourURL" value="YOUR WEB SITE URL"/><!------ Fill in-->
<input type="hidden" name="formPage" value="YOUR FORM PAGE"/> <!------ Fill in-->
<script type="text/JavaScript">function invisible(){
document.formSurfwebtips.friendEmail.style.visibility='hidden';
document.formSurfwebtips.senderName.style.visibility='hidden';
document.formSurfwebtips.fromEmail.style.visibility='hidden';
document.formSurfwebtips.button.style.visibility='hidden';}
function emailFriend(){
document.formSurfwebtips.friendEmail.style.visibility='visible';
document.formSurfwebtips.senderName.style.visibility='visible';
document.formSurfwebtips.fromEmail.style.visibility='visible';
document.formSurfwebtips.button.style.visibility='visible';}
function formCheck(){
if(confirm("You ("+document.formSurfwebtips.senderName.value +", "+document.formSurfwebtips.fromEmail.value+") are going to send an email message about "+document.formSurfwebtips.yourURL.value+" to "+document.formSurfwebtips.friendEmail.value)) {window.setTimeout('document.formSurfwebtips.submit();',100);}else {return false; }}
</script>
</form>
-----------------------------------------------------------------------------------------------------------------------------

Example

This is what it will look like on your web site:

 

 
       
Email a Friend About this Web Site !
   
 

Modification of the script

The script can be customized to match the look and feel of your site.

Required values are:
(link) title="This service is provided by Surfwebtips.com"
value="YOUR WEB SITE URL"
value="YOUR FORM PAGE"
and insert the invisible() function into your body tag.

Your 'form page' is the URL of the page where you have placed the script.

The script is functional in most browsers.

Pricing

Sending less than 50 recommendations a day is FREE ! If you would like to let your vistiors send more than 50 recommedations a day, you need to sign up for an unlimited access to the Tell-a-Friend-service. You get unlimited access for six months for USD$30 !

Payments can be made when you hit the limit for a day.

Donate: Get listed on this page as an example site.

Please help us continue development of this web site and it's services! Feel free to donate an amount you feel is worthy, starting from $5.

We add resources for your convenience.

Back to Webmaster Resource Center

Please, contact us at Surfwebtips if you have any questions.

Thank you for visiting Surfwebtips.com!

     
Home: Surfwebtips
....................................
Web directory
Add site
Newly added sites
Find link partners
My account
Claim your site
....................................
About Surfwebtips
Newsletter
Site map
FAQ
Contact
....................................
Webmaster Resource Center  
....................................

 

 

Copyright © 2005-2007 Surfwebtips. All Rights Reserved.
counter stats