Planet Shake
You are watching the site as a guest to see everything that gets offered register for free or log in....or take a look around on the few things that you can see as a guest.....
Planet Shake
You are watching the site as a guest to see everything that gets offered register for free or log in....or take a look around on the few things that you can see as a guest.....
Planet Shake
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Planet Shake

Discover Your World Here !
 
HomeHome  PortalPortal  GalleryGallery  Latest imagesLatest images  RegisterRegister  Log inLog in  

 

 Tell a friend script

Go down 
3 posters
AuthorMessage
jimzstone
Moderator
Moderator
jimzstone


Posts : 67
Points : 5574
Reputation : 2
Join date : 2009-02-19
Age : 32
Location : Laguna

Planet Shake
huo: 4

Tell a friend script Empty
PostSubject: Tell a friend script   Tell a friend script Icon_minitimeFri Feb 20, 2009 12:28 am

Description:

Let visitors refer others to your webpage (via email) with this script! It asks for the friend's email address, then loads the email program with the essential information pre-filled to instantly send off.

Code:
<script LANGUAGE="Javascript">
    <!-- Begin
    var initialsubj="Hay buddy, take a look at this"
    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) {
    http://window.location = "mailto:"+document.eMailer.email.value+"?subject="+initialsubj+"&body="+document.title+" "+u;
    window.location = "mailto:"+document.eMailer.email.value+"?subject="+initialsubj+"&body="+initialmsg
    }
    }
    //  End -->
    </script>
    <form name="eMailer">
    Tell a friend:
    <input type="text" name="email" size="26" value="    Enter Address Here" onFocus="this.value=''" onMouseOver="window.status='Enter email address here and tell a friend about this site...'; return true" onMouseOut="window.status='';return true">
    <br />
    <input type="button" value="Send this URL" onMouseOver="window.status='Click to send an email (with this page address) to a friend! Enter email address above...'; return true" onMouseOut="window.status='';return true" onClick="mailThisUrl();">
    </form>
Back to top Go down
http://www.friendster.com/12252675
Admin
Admin
Admin
Admin


Posts : 163
Points : 15764
Reputation : 69
Join date : 2009-02-08
Age : 30
Location : Montalban Rizal (Philippines)

Tell a friend script Empty
PostSubject: Re: Tell a friend script   Tell a friend script Icon_minitimeFri Feb 20, 2009 12:43 am

nice.. kuya jim.. keep it up! mas maganda sana kung tutorial lagay mo tapos hide mo yung mga tutorial tapos ilalagay mo ganito


--- If you are a *registered user* : you need to post in this topic to see the message ---

para ma hide ito ang code
Code:
[hide]tapos kahit ano ilagay mo dito[/hide]
Back to top Go down
http://cursebox.tk
jimzstone
Moderator
Moderator
jimzstone


Posts : 67
Points : 5574
Reputation : 2
Join date : 2009-02-19
Age : 32
Location : Laguna

Planet Shake
huo: 4

Tell a friend script Empty
PostSubject: Re: Tell a friend script   Tell a friend script Icon_minitimeFri Feb 20, 2009 12:51 am

k mya ko gawin Very Happy
Back to top Go down
http://www.friendster.com/12252675
jimzstone
Moderator
Moderator
jimzstone


Posts : 67
Points : 5574
Reputation : 2
Join date : 2009-02-19
Age : 32
Location : Laguna

Planet Shake
huo: 4

Tell a friend script Empty
PostSubject: Re: Tell a friend script   Tell a friend script Icon_minitimeFri Feb 20, 2009 5:20 am

pwede n pala to Very Happy

kaysa mangdamot ka pa Very Happy
Back to top Go down
http://www.friendster.com/12252675
ding20
2nd NCO
2nd NCO



Posts : 20
Points : 5557
Reputation : 0
Join date : 2009-02-15

Tell a friend script Empty
PostSubject: Re: Tell a friend script   Tell a friend script Icon_minitimeTue May 18, 2010 6:41 am

hahah oo nga naman admin
Back to top Go down
Sponsored content





Tell a friend script Empty
PostSubject: Re: Tell a friend script   Tell a friend script Icon_minitime

Back to top Go down
 
Tell a friend script
Back to top 
Page 1 of 1
 Similar topics
-
» Convert a Tell-A-Friend Script completely into BB Code
» Script for Opening New Window of your site

Permissions in this forum:You cannot reply to topics in this forum
Planet Shake :: Tutorials :: Scripting-
Jump to:  
Free forum | ©phpBB | Free forum support | Report an abuse | Forumotion.com