PDA

View Full Version : Sending URL to other people


thegenius
02-24-2008, 03:39 PM
Hello

I am currently designing a website in dreamweaver and am trying to add a form where visitors can send the URL to other people, i have got this so far

<p align="left">You can send the URL to a friend </p>
<form name="form1" method="post" action="">
Enter E-mail Address Here
<label>
<input name="textfield" type="text" onFocus="this.value=''" onMouseOver="&quot;window.status='Enter email address here ...'; return true&quot;" onMouseOut="&quot;window.status='';return true&quot;&gt;">
</label>

<p align="center">
<label>
<input name="Submit" type="submit" onClick="=mailThisUrl();&gt;" onMouseOver="=&quot;window.status='Click to send an email (with this page address) to a friend! Enter email address above...'; return true&quot;" onMouseOut="=&quot;window.status='';return true&quot;" value="Send URL">
</label>

Could someone tell me where i am going wrong, or what i need to add on dreamweaver to make this work thanks

davidj
02-24-2008, 03:57 PM
where is this function...

mailThisUrl()

thegenius
02-24-2008, 04:00 PM
I mustn't have put that in, to be honest with this sort of stuff i have no idea what i'm doing i basically just followed instructions from another website which had a similar thing on

davidj
02-24-2008, 04:07 PM
nope

that wont work