2 Replies Latest reply on Dec 17, 2009 3:50 AM by Nick@Tag

    Email feedback link in webhelp top nav bar, can it be done?

    Nick@Tag Level 2

      RH8 HTML

       

      Hi all,

      I've been trying to add a button to the top nav in webhelp, I want the button to send an email back to me, with a specified subject line, and hopefully the url, or title of the topic the user is looking at.

      I want users to be ableto look through my webhelp, find a page, click the Feedback button, it launches outlook, or whatever using the mailto function, I'd like to append the topic title they are looking at so I can see what they are commenting about.

       

      Has anyone done anything like this before?

      Can it be done using JS.

       

      I've found this code, which I added to a new custom toolbar item in the Javascript section, but so far it doesnt work.

       

      <script>
      u = window.location;
      m = "Feedback";
      function mailThisUrl(){
      window.location = "mailto: emailaddress@email.com"+document.Mailer.address.value+"?subject="+m+"&body="+document.title+ " "+u;
      }
      </script>

       

      any help greatly appreciated!!!