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

Force all hyperlinks to display in parent frame

Explorer ,
Jan 10, 2023 Jan 10, 2023

Hello! Is there a way to force the target for all hyperlinks in a frameless output (RH2020) to display in a parent frame (or new window, etc.)?

 

All of the hyperlinks and cross-references in my projects are currently set to be displayed in frame, page default. I need to update them to be displayed in the parent frame. Is there a way I can force this so that I don't have to update the target for every link in every topic in every language?

 

I've tried adding <base target="_parent"/> to the head of my master page, but that didn't work. It also didn't work to add it directly to the head of a topic. I also tried adding the following to my css, which also didn't work:

a {
 target: _parent;
}

Any other suggestions?

TOPICS
New UI
273
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

correct answers 1 Correct answer

Community Expert , Jan 10, 2023 Jan 10, 2023

If you change one in a topic, does it work then? If so, I suspect a bulk search-and-replace would then be in order.

Translate
Community Expert ,
Jan 10, 2023 Jan 10, 2023

If you change one in a topic, does it work then? If so, I suspect a bulk search-and-replace would then be in order.

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
Explorer ,
Jan 10, 2023 Jan 10, 2023
LATEST

Yes, changing one in a topic works. I will try a bulk replace. Thanks!

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