Announcement

Collapse
No announcement yet.

Can anyone help with my e-mail script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Can anyone help with my e-mail script

    Can someone help with my e-mail to a friend script below

    it is copied from this forum but instead of the image being the link I need the text to be the link just lick a hyper link

    the script is in the Act-Productline.html but does not currently work?


    <img border="0" src="myimage.jpg"><A HREF=onclick="var thisloc=location.href + '#NETQUOTEVAR:PRODUCTANCHOR';location.href='mailto:' + '?subject=Take a look at '+thisloc+'&body=I saw this great pic at www.yakuda.com '+thisloc+' and thought you would be interested.&bcc=info@yakuda.com' ">E-mail this image to a friend</A><br>

    Thanks in advance

    #2
    I've found this piece of code works pretty well...
    Code:
    Enter e-mail address to tell a friend
    <input type=text value="" size=40 onchange="
    	var thisloc=location.href + '#NETQUOTEVAR:PRODUCTANCHOR';
    	if (this.value != '') {
    		location.href='mailto:' + this.value +'?subject=Take%20a%20look%20at%20NETQUOTEVAR:PRODUCTNAME&body=I%20saw%20' + thisloc + '%20and%20thought%20you%20would%20be%20interested.'
    		}
    ">
    <input type=button value="OK">

    Comment


      #3
      Thanks but can it be done diffently

      Thanks for this but can it be done with out the txt box and with out a button

      I just need a normal text link as a hyper link

      the script above does give me this but I must of tampered with it in some way as it no longer works

      Comment


        #4
        <A HREF=onclick=

        should be

        <A HREF="#" onclick=

        Comment

        Working...
        X