SMF For Free Support Forum
Signup For Free Forum
October 06, 2008, 09:29:51 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
 
   Home   Help Search Arcade Gallery Login Register  

Pages: [1]
  Print  
Author Topic: [Code] Email button  (Read 894 times)
0 Members and 1 Guest are viewing this topic.
Shadow22
SMF For Free Newbie
*
Offline Offline

Posts: 3


Founder


View Profile WWW
« on: April 25, 2006, 03:28:48 pm »

This button will open a pre-populated email. The email will have a subject line and the url of the page the button is on in the body of the mail.
Quote
<body>
<div align="center">
<a- Created by Shadow of WebAccess-a>
<script language="JavaScript">
function EmailLink(){
window.location = "mailto:"+"?subject=I thought this link might interest you." + "&body="+document.title+"  "+window.location;
}
document.write('<input class="select" TYPE="button" VALUE="E-mail this link to a friend" onClick="EmailLink()"></form>')
</script>
</div>

Feel Free to change the bold parts
« Last Edit: February 29, 2008, 10:34:10 pm by simply sibyl » Logged

mattmilla1
SMF For Free Member
*
Offline Offline

Posts: 52


crazydog10


View Profile WWW
« Reply #1 on: May 07, 2008, 05:02:56 pm »

Cool man.....i like it!!!!!!!!!!!! And it works
Logged

<CRAZYDOG10>
     
=crazydog10=
<br />
=That cat is a bigfoot bounty hunter lol=
loogiesquared
SMF For Free Member
*
Offline Offline

Posts: 51



View Profile
« Reply #2 on: June 09, 2008, 08:25:12 pm »

and if i'd like to use a picture.....
say... this one:

and you click it and the eMail window pops uo.
Logged



Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC
ServerBeach Coupon
Page created in 0.203 seconds with 17 queries.