1 Reply Latest reply on Dec 5, 2007 2:57 PM by Peter Grainge

    Truncated URL from Inserted Javascript

    Tom_J. Level 1
      In my help project, I have a Send Feedback link that grabs the topic's title and URL, but for some reason RoboHelp is truncating the URL.

      Here's the script. Insert it in your HTML code, preview the topic, and click the link. Do you see a truncated URL? After about 105 characters, it ends.

      <script type="text/javascript">document.write("<a href=\"mailto:help@gmail.com?subject=Sample App | " + document.title + " | " + location.href + "\"> Send Feedback</a>") ;</script>

      I also tried inserting via the Insert > HTML > Advanced > Script method. Same result.