TextPopup best practice and behaviour

New Here ,
Jun 14, 2020 Jun 14, 2020

Copy link to clipboard

Copied

In RoboHelp 2019, in a project that's been imported from RH Classic, there are a number of TextPopups with a hyperlink pointing to:

 

 

Javascript:hhctrl.TextPopup('Popup message','Arial,8',50,50,00000000,0xc0ffff)

 

 

These require the inclusion of an object in the HTML at the start of the body:

 

 

<object border="0" classid="clsid:ADB880A6-D8FF-11CF-9377-00AA003B7A11" height="0" hspace="0" id="hhctrl" type="application/x-oleobject" vspace="0" width="0"></object>

 

 

In the RoboHelp UI, this object renders as a sort of missing flash link:

1.PNG
...but it all looks and works OK in published CHM.

Is this the correct approach for TextPopups on hyperlink, or has it been introduced from the RH Classic conversion?

I can replicate the behaviour on new pages easily enough by duplicating a page or pasting the relevant HTML, but it feels as though I'm probably missing some better approach.

Thanks

TOPICS
New UI, Scripting

Views

168

Likes

Translate

Translate

Report

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

Adobe Community Professional , Jun 16, 2020 Jun 16, 2020
While you're planning your move, consider expanding text as a replacement. It's the closest I can think of to the text-only popups. Although you'll have to make that change manually unless you can figure out how to write a script to convert the text-popup code (using ExtendScript in Classic, or javascript/jquery based in New UI.)  

Likes

Translate

Translate
Adobe Community Professional ,
Jun 15, 2020 Jun 15, 2020

Copy link to clipboard

Copied

Wow, I haven't heard of text popups in years. 🙂

 

HHCTRL.ocx is an IE "thing" so I suspect its years are numbered - I don't know if it exists in Edge, and even if it does, I can't imagine MS would port it to the new Chromium-based Edge.

 

(BTW I did a little check and the popup didn't seem to work in the output when generated from New UI, only from Classic.)

 

I couldn't find any way of entering them in New UI so I suspect you'll need to find another way of presenting the information. Unless Peter knows a hidden location for it. 🙂

 

Likes

Translate

Translate

Report

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
New Here ,
Jun 15, 2020 Jun 15, 2020

Copy link to clipboard

Copied

Thanks Amebr

The popups work OK in a CHM file but you're right, they don't work in Chrome, IE, Edge or Chromium Edge Beta and I couldn't find any way of adding them in the new UI either.

If the community feeling is that these are old school we can stop using them!

 

Likes

Translate

Translate

Report

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
Adobe Community Professional ,
Jun 15, 2020 Jun 15, 2020

Copy link to clipboard

Copied

Oh I missed the biit about CHM files. They'll probably be fine as long as you're using chm, for however long that's distributed by Microsoft.

 

Given New UI still supports CHM output, it might be worth submitting a bug report. You can report issues here: https://tracker.adobe.com/ 

Likes

Translate

Translate

Report

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
New Here ,
Jun 15, 2020 Jun 15, 2020

Copy link to clipboard

Copied

Thanks, I'll try and report it. Although we're going to move on from them, still maybe worth doing.

Likes

Translate

Translate

Report

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
Adobe Community Professional ,
Jun 16, 2020 Jun 16, 2020

Copy link to clipboard

Copied

LATEST

While you're planning your move, consider expanding text as a replacement. It's the closest I can think of to the text-only popups. Although you'll have to make that change manually unless you can figure out how to write a script to convert the text-popup code (using ExtendScript in Classic, or javascript/jquery based in New UI.)  

Likes

Translate

Translate

Report

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