|
-
May 16th, 2007, 05:22 PM
#10
I must be missing something on Level 6....... ARRRRRRR!!!!
var initialsubj="Hello, I want you to see this site."
var initialmsg="Hi:\n You may want to check out this site: "+window.location
var good;
function checkEmailAddress(field) {
var goodEmail = field.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\.info)|(\.sex)|(\.biz)|(\.aero)|(\.coop)|(\.museum)|(\.name)|(\.pro)|(\..{2,2}))$)\b/gi);
if (goodEmail) {
good = true;
}
else {
alert('Please enter a valid address.');
field.focus();
field.select();
good = false;
}
}
u = window.location;
function mailThisUrl() {
good = false
checkEmailAddress(document.eMailer.email);
if (good) {
window.location = "mailto:"+document.eMailer.email.value+"?subject="+initialsubj+"&body="+initialmsg
}
}
// End -->
</script>
</head><body>
<script language="JavaScript" type="text/javascript">
<!--
var pass, i;
//-->
</script>
<table border="0" cellspacing="1" width="100%">
<tr>
<td width="27%"><img border="0" src="images/logo.gif" width="300" height="145" alt="Logo"></td>
<td width="73%" valign="top">
<div class="header">HACK TEST IN PROGRESS...</div>
Franklin Werren at www.bagpipes.net
Yes I do play the Bagpipes!
And learning to Play the Bugle 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|