Skip to main content
Participant
June 24, 2024
Question

Hiperlink in another tab

  • June 24, 2024
  • 1 reply
  • 195 views

Hi everyone!
Is it possible to create a configuration in the hyperlink to open the destination in another tab when the file is read by the browser?

This topic has been closed for replies.

1 reply

James Gifford—NitroPress
Legend
June 24, 2024

It's a trivial thing to accomplish in regular web development; I don't know what limitaions or extra levels of "interpretation" PO documents might throw into the mix. But the basic form —

<a href=[full document URL] _target="blank">Click Here</a>

—should work. The two tricky elements are the base URL for the document, which is complex under PO, and then how the end user's browser handles a "new window" request. I am not sure there's a way to override the user setting of "open in new tab/window/browser instance" so the new page could appear in any of the three.

 

You can also limit new pages opening to a single window instance by giving a destination name, e.g. '_target="MyDoc", for each link.

Robert at ID-Tasker
Legend
June 24, 2024

@James Gifford—NitroPress

 

I think it should be:

 

target="_blank" 

 

James Gifford—NitroPress
Legend
June 24, 2024

Um ... yup. 😛

 

target=, and the target name can be _blank, several other inherent destinations, or a named target so that, for example, all pop-up definitions show up in one window instead of opening endess new ones.

 

Oops.