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  

 

 Convert a Tell-A-Friend Script completely into BB Code

Go down 
AuthorMessage
Hhenry1953
Private
Private
Hhenry1953


Posts : 3
Points : 4563
Reputation : 0
Join date : 2011-11-23
Age : 71
Location : Wedel / Germany

Planet Shake
huo: 4

Convert a Tell-A-Friend Script completely into BB Code Empty
PostSubject: Convert a Tell-A-Friend Script completely into BB Code   Convert a Tell-A-Friend Script completely into BB Code Icon_minitimeWed Nov 23, 2011 4:29 am

Hi to everyone here on the board,


hope everyone is doing fine today.

My questioni is:

Is the following code:

Code:
 <!-- 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>

convertable into BB Code? The reason why I ask is I own a online shop and would like to have a Tell-A-Friend form on it. So I want my clients to recommend my board to others.

Thank you all for helps and suggestions how to manage this problem.

Kind regards
Hartmut
Back to top Go down
http://www.freeshop-web.de/shopserver/shops/s004079/
 
Convert a Tell-A-Friend Script completely into BB Code
Back to top 
Page 1 of 1
 Similar topics
-
» Tell a friend script
» Script for Opening New Window of your site
» Welcome Code
» Current Day Code

Permissions in this forum:You cannot reply to topics in this forum
Planet Shake :: Forum Lobby :: Suggestions & Feedback-
Jump to:  
Free forum | ©phpBB | Free forum support | Report an abuse | Forumotion.com