Home
About Us
Overview
Demo
Free Trial
Pricing
eShop
FAQ
Support
Contact Us
Refer A Friend / Tell A Friend Java Script Pop-Up Box
If you want to insert a
Tell A Friend
From:
Your Name
Your Email Address
To:
Subject
Check this out:
Friend Email Address
Friend Email Address
Friend Email Address
Friend Email Address
Friend Email Address
Friend Message
Enter Word Verification in box below
Java Script Pop-Up Box follow these 3 instructions:
1. Copy and paste the code below into your HTML page
2. Change the href to your web page. E.g. href="
http://yoursite.com/pagename
"
3. Keep the words
Tell A Friend
or change the words to suit
<a onclick="showModalWin('TellAFriend','604','');return false;" href="http://webtronic.com.au/designers#">Tell A Friend</a>.</p>
<script type="text/javascript" src="/CatalystScripts/Java_Box.js"></script>
<link media="screen" type="text/css" href="/CatalystStyles/Box.css" rel="stylesheet" />
<div id="TellAFriend" class="ibox_wrapper">
<div class="tell-a-friend">
<form name="catreferform43052" onsubmit="return checkWholeForm43052(this)" method="post" action="/ReferAFriendProcess.aspx?OID={ module_oid}&OTYPE={ module_otype}">
<h2>From:</h2>
<table cellspacing="0" cellpadding="9" border="0" class="webform">
<tbody>
<tr>
<td class="var"><label for="RFFullName">Your Name</label></td>
<td> <input type="text" gtbfieldid="113" class="cat_textbox_small" name="FullName" id="RFFullName" maxlength="255" /> </td>
</tr>
<tr>
<td class="var"><label for="RFEmailAddress">Your Email Address</label></td>
<td> <input type="text" gtbfieldid="114" class="cat_textbox_small" name="EmailAddress" id="RFEmailAddress" maxlength="255" /> </td>
</tr>
</tbody>
</table>
<h2>To:</h2>
<table cellspacing="0" cellpadding="9" border="0" class="webform">
<tbody>
<tr>
<td class="var"><label>Subject</label></td>
<td> Check this out: </td>
</tr>
<tr>
<td class="var"><label for="RFFriend01">Friend Email Address</label></td>
<td> <input type="text" gtbfieldid="115" class="cat_textbox_small" name="Friend01" id="RFFriend01" maxlength="255" /> </td>
</tr>
<tr>
<td class="var"><label for="RFFriend02">Friend Email Address</label></td>
<td> <input type="text" gtbfieldid="116" class="cat_textbox_small" name="Friend02" id="RFFriend02" maxlength="255" /> </td>
</tr>
<tr>
<td class="var"><label for="RFFriend03">Friend Email Address</label></td>
<td> <input type="text" gtbfieldid="117" class="cat_textbox_small" name="Friend03" id="RFFriend03" maxlength="255" /> </td>
</tr>
<tr>
<td class="var"><label for="RFFriend04">Friend Email Address</label></td>
<td> <input type="text" gtbfieldid="118" class="cat_textbox_small" name="Friend04" id="RFFriend04" maxlength="255" /> </td>
</tr>
<tr>
<td class="var"><label for="RFFriend05">Friend Email Address</label></td>
<td> <input type="text" gtbfieldid="119" class="cat_textbox_small" name="Friend05" id="RFFriend05" maxlength="255" /> </td>
</tr>
<tr>
<td class="var"><label for="RFMessage">Friend Message</label></td>
<td> <textarea name="Message" id="RFMessage" rows="4" class="cat_listbox" onkeydown="if(this.value.length>=1024)this.value=this.value.substring(0,1023);"></textarea> </td>
</tr>
<tr>
<td class="var"> </td>
<td> <label>Enter Word Verification in box below</label><br />
{ module_captchav2} </td>
</tr>
<tr>
<td class="var"> </td>
<td> <input type="submit" class="cat_button" value="Submit" /> <input type="button" class="cat_button" value="Close" onclick="hideIbox('sendfriend_{ module_oid}_{ module_otype}');return false;" /> </td>
</tr>
</tbody>
</table>
<script type="text/javascript" src="/CatalystScripts/ValidationFunctions.js"></script>
<script type="text/javascript">function checkWholeForm43052(theForm){var why = "";if (theForm.EmailAddress) why += checkEmail(theForm.EmailAddress.value);if (theForm.FullName) why += isEmpty(theForm.FullName.value,"Your Name");if (theForm.Friend01) if(theForm.Friend01.value.length > 0) why += checkEmail(theForm.Friend01.value);if (theForm.Friend02) if(theForm.Friend02.value.length > 0) why += checkEmail(theForm.Friend02.value);if (theForm.Friend03) if(theForm.Friend03.value.length > 0) why += checkEmail(theForm.Friend03.value);if (theForm.Friend04) if(theForm.Friend04.value.length > 0) why += checkEmail(theForm.Friend04.value);if (theForm.Friend05) if(theForm.Friend05.value.length > 0) why += checkEmail(theForm.Friend05.value);if (theForm.Message) why += isEmpty(theForm.Message.value,"Friend Message");if (theForm.CaptchaV2) why += isEmpty(theForm.CaptchaV2.value, "Enter Word Verification in box below");if (why != ""){alert(why);return false;}theForm.submit();return false;}</script>
</form>
</div>
</div>
</div>