Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

RH8 snippets with hyperlinks to local host page bookmarks

New Here ,
Sep 11, 2012 Sep 11, 2012

Hi

I use RH8 (with IE8 browser) and have started to use snippets to reuse common content. I have implemented the twistie javascript where the bookmark is inside a hotspot dropdown and when link to that bookmark the content is expanded. (Love this functionality thank you van weelden).

My issue is when I have the snippet with a hyperlink that links to a bookmark inside a hotspot dropdown on the host page. The hypelink does not work.

Example:

URL:-  d:\robohelp\publish\folder1\Test.htm

HTML PAGE <starts>

DropdownHotSpot <Starts>

   Snippet <Starts>

      hyperlink to Bookmark1

   Snippet <Ends>

DropdownHotSpot <Stops>

DropdownHotSpot <Starts>

   Bookmark1

DropdownHotSpot <Ends>

HTML PAGE <Ends>

What I have noticed is that when hovering over the hyperlink it indicates it is going to go to d:\robohelp\publish\#bookmark1 not d:\robohelp\publish\foleder1\Test.htm#bookmark1

This would be because the snippet is stored in the PUBLISH folder.

How can I create a hyperlink in the snippet that will work by pointing in the host page not relative to the storage folder of the snippet.

Thanks

Colin

764
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 11, 2012 Sep 11, 2012

Hi,

You're welcome. This is very strange behaviour and also completely unexpected. I will check the script when I get home tonight to see what is going wrong.

Greet,

Willam

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 12, 2012 Sep 12, 2012
LATEST

Hi,

I just checked this behaviour. It is a bug in RoboHelp 8 and 9. It is solved in RoboHelp 10. Whenever you create a hyperlink in snippet (RH8/9) to a bookmark in the snippet or the containing page, RoboHelp will always change that into a link to the root folder.

Can you contact me via my site (www.wvanweelden.eu/contact)? I have created an update for the script that fixes this RH bug on the fly but I'd like you to beta test it before I publish it.

Greet,

Willam

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp