Need assistance with JavaScipt page reference
[RH10, WebHelp Pro]
Hello,
A couple of years ago, someone here kindly provided a script that we use to give our users a feedback e-mail link from any page in the published output. We want to improve the script so that it returns a link not just to the specific page, but to the specific page PLUS the TOC pane.
Currently, the script defines a variable:
var str = location.href
The resulting link is:
http://projectname/robohelp/robo/server/general/projects/projectname/pagename.htm
What modification to the variable or the script is required to produce this link instead:
http://projectname/robohelp/robo/server/general/projects/projectname/default page#pagename.htm
The intention being that the added default page and hash mark would cause the link to open the page in the complete default frameset rather than just the page without the TOC?
Thank you
