Announcement

Collapse
No announcement yet.

Email pages

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

    #31
    Yup, I created it, but feel free to use it if you like.

    Mark

    Comment


      #32
      Hi Mark,
      My apologies. I sould have asked you before i used it.
      Thank you for the use of your image.

      cheers,

      Mitch
      Jacys Computer Supplies
      Web: http://www.jacyscomputers.com.au
      email: sales@jacyscomputers.com.au

      Comment


        #33
        S'ok mate, you can put a link on your site to us if you like and we can do vice versa, all good networking practice. Share those customers.

        Comment


          #34
          No Worries Mark,
          I'll do that once I get my links page up and running.

          Cheers,

          Mitch
          Jacys Computer Supplies
          Web: http://www.jacyscomputers.com.au
          email: sales@jacyscomputers.com.au

          Comment


            #35
            Norman

            This works well, but one further question; If I wanted the above code to look like a text link rather than an image link how would I add in the <a href> tags around the text. I'm afraid my Javascript isn't up to much yet.

            thanks

            Mark
            <a href="http://www.getgeared.co.uk">GetGeared.co.uk</a>

            Comment


              #36
              Would you guys be interested in a link with my flowers, balloons and teddybear site?

              www.flowertastic.co.uk

              Comment


                #37
                This works well, but one further question; If I wanted the above code to look like a text link rather than an image link how would I add in the <a href> tags around the text. I'm afraid my Javascript isn't up to much yet.
                This thread is way too long for me to know what bit of above code you're referring to.

                Could you post the bit you're talking about to avoid uncertaintity.

                Norman
                Norman - www.drillpine.biz
                Edinburgh, U K / Bitez, Turkey

                Comment


                  #38
                  diffrent idea

                  im looking for something simlar to email a friend, a link on every page that allows a potential customer to email their name , phone number and the product page they are looking at directly to the sales department, allowing our sales staff to phone them right back, I can see how a slight alteration to the script would do the trick,
                  my question is how do i set it up so the email come directly to our sales office, while at the same time hiding the address from spammers
                  Head of ICT
                  Warehouse Systems Limited
                  www.warehouse-systems.co.uk
                  www.rackingplus.com

                  Comment


                    #39
                    Napoleon,

                    Try sticking this somewhere appropriate in your Product Template(s):

                    Code:
                    Enter your phone number and we'll call right back 
                    <br><input id="PHO-NETQUOTEVAR:PRODUCTREFERENCE" type=text value="" size=20>
                    <input type=button value="Phone Me"
                    onclick="var thisloc=location.href;
                    var thisphone = document.getElementByID('PHO-NETQUOTEVAR:PRODUCTREFERENCE').value;
                    if(thisphone != ''){
                    location.href='mailto:myaddress@' 
                    + 'mydomain.com' 
                    + '?subject=Call me back on ' 
                    + thisphone 
                    + '&body=Product ' 
                    + thisloc}">
                    You edit the bits "myaddress" and "mydomain.com" to suit.

                    Spammers won't see this as your e-mail address is pretty well obfuscated by being split over two lines and assembled by JavaScript.

                    You could also investigate using one of these e-mail to SMS type services (don't ask me - I know nothing) so that your mobile would get the message as soon as it's sent.

                    Norman
                    Norman - www.drillpine.biz
                    Edinburgh, U K / Bitez, Turkey

                    Comment


                      #40
                      Thanks Norman
                      Must be that monday feeling, I have added the code to Act_Productline2.html, see attached file please, it all looks good but i get error on page when i try submit the details. I have a feeling this is because I have placed the script inside the form tag, any ideas where im going wrong please

                      Regards
                      Napolean
                      www.rackingplus.com
                      Attached Files
                      Head of ICT
                      Warehouse Systems Limited
                      www.warehouse-systems.co.uk
                      www.rackingplus.com

                      Comment


                        #41
                        Ooops. An extra capital letter crept in.

                        The line

                        var thisphone = document.getElementByID('PHO-NETQUOTEVAR:PRODUCTREFERENCE').value;


                        Shoud be

                        var thisphone = document.getElementById('PHO-NETQUOTEVAR:PRODUCTREFERENCE').value;


                        if you're not eagle eyed, the difference is ID is wrong it should be Id

                        Norman
                        Norman - www.drillpine.biz
                        Edinburgh, U K / Bitez, Turkey

                        Comment


                          #42
                          For anyone else reading there's a bug in my post of 3 above. Here's the amended one.


                          Code to add to Act_ProductLine.html (or any other Product Template) to add a "We'll call you back" type of phone number field and button.

                          Code:
                          Enter your phone number and we'll call right back 
                          <br><input id="PHO-NETQUOTEVAR:PRODUCTREFERENCE" type=text value="" size=20>
                          <input type=button value="Phone Me"
                          onclick="var thisloc=location.href;
                          var thisphone = document.getElementById('PHO-NETQUOTEVAR:PRODUCTREFERENCE').value;
                          if(thisphone != ''){
                          location.href='mailto:myaddress@' 
                          + 'mydomain.com' 
                          + '?subject=Call me back on ' 
                          + thisphone 
                          + '&body=Product ' 
                          + thisloc}">



                          You edit the bits "myaddress" and "mydomain.com" to suit.

                          Spammers won't see this as your e-mail address is pretty well
                          obfuscated by being split over two lines and assembled by JavaScript.
                          Norman - www.drillpine.biz
                          Edinburgh, U K / Bitez, Turkey

                          Comment


                            #43
                            thank you

                            Norman your a star..thank you it now works a treat

                            as for eagle eyed on a monday morning..well thats a diffrent matter


                            Regards

                            Napolean
                            www.rackingplus.com
                            Head of ICT
                            Warehouse Systems Limited
                            www.warehouse-systems.co.uk
                            www.rackingplus.com

                            Comment


                              #44
                              email a friend

                              Hi Norman,

                              For the code (the one to be put in Act_BodyProduct.html) below - where should it be put to work. What does this mean - The mailto is executed as soon as the input field changes.

                              I have tried several options from these posts and cannot get a button to show up. Want the button to show for every product. Does the button always show, or does the customer have to do something to activate it?

                              Thanks,
                              Bonnie


                              Originally posted by NormanRouxel
                              Here's a rough and ready one-liner:-

                              Tell a Friend E-mail button on web-pages.

                              Enter this (very long line) in the product description if you just want to do this on the odd product

                              Code:
                              !!<Enter e-mail address to tell a friend <input type=text value="" size=40 onchange="var thisloc=location.href;if(this.value != ''){location.href='mailto:' + this.value +'?subject=Take a look at '+thisloc+'&body=I saw '+thisloc+' and thought you would be interested.'}"><input type=button value="OK">>!!
                              or the same in a Template (Act_ProductBody.html might make sense as this will only display on product pages) without the !!< and >!! to make it generally available.

                              Code:
                              <Enter e-mail address to tell a friend <input type=text value="" size=40 onchange="var thisloc=location.href;if(this.value != ''){location.href='mailto:' + this.value +'?subject=Take a look at '+thisloc+'&body=I saw '+thisloc+' and thought you would be interested.'}"><input type=button value="OK">

                              Note that the button is really a dummy. The mailto is executed as soon as the input field changes. It just gives the user something to click on. Note that not all browsers support the subject= and body= parameters but you can probably live with this. Don't put any punctuation in the helpful text bits as they might interfere with the mailto URL.

                              Norman
                              www.bonnies-gift-shop.com
                              Unique Gifts & Home Decor
                              Retail/Wholesale/Drop Shipping
                              www.bonniesgifts.com
                              Gift Baskets Gift Ideas Unique Gifts
                              Retail/Drop Shipping

                              Comment


                                #45
                                Not Act_ProductBody.html - it goes either directly into your product description or your product template.

                                Also there's a spurious "<" in one of the lines you posted above. It should be:-

                                Code:
                                Enter e-mail address to tell a friend <input type=text value="" size=40 onchange="var thisloc=location.href;if(this.value != ''){location.href='mailto:' + this.value +'?subject=Take a look at '+thisloc+'&body=I saw '+thisloc+' and thought you would be interested.'}"><input type=button value="OK">

                                Here is a more up-to-date and easier to edit version. This is the "e-mail a friend" code.

                                Code:
                                <br>
                                Enter e-mail address to tell a friend
                                <br>
                                <input id="EML-NETQUOTEVAR:PRODUCTREFERENCE" type=text value="" size=25>
                                <input type=button value="Tell.."
                                onclick="var thisloc = location.href;
                                var address = document.getElementById('EML-NETQUOTEVAR:PRODUCTREFERENCE').value;
                                if( address != ''){
                                location.href = 'mailto:' + address
                                + '?subject=Take a look at ' + thisloc 
                                + '&body=I saw ' + thisloc + ' and thought you would be interested.' 
                                }">
                                Put this into Act_ProductLine.html (just below the line
                                <span class="actxsmall">NETQUOTEVARATEPROMPT </span>) and it will appear on every product.

                                Norman


                                Norman
                                Norman - www.drillpine.biz
                                Edinburgh, U K / Bitez, Turkey

                                Comment

                                Working...
                                X