Skip to main content
Inspiring
October 6, 2009
Question

Twisty problem in Firefox

  • October 6, 2009
  • 1 reply
  • 3758 views

This issue is related to one I posted in July here (http://forums.adobe.com/message/2098638#2098638), but since the solution that worked then isn't working now (clearing the cache), I think something else is going on here.

We have recently converted from RoboHelp X5 to RoboHelp 8. We have been using the manual method on http://www.grainge.org/pages/authoring/twisty/twisty.htm to create twisties in RoboHelp X5. In some cases, we would like to continue using this method rather than applying twisty graphics to the style so that not all drop-down text is using the twisty graphics.

However, when we use this method to create twisties and generate the WebHelp output from RoboHelp 8, the twisties do not work in Firefox on Windows. (I have not tested Mac yet.) When I open the error console, I see a message like this:

Error: dropdown1 is not defined
Source File: file:///C:/Terri%20STAR%20Math%20Help%20Files/SM/ehlpdhtm.js
Line: 2978

Note that it appears to be looking for a definition in the ehlpdhtm.js file. I have verified the following:

-The twisty.js is listed as s source in the header of the topic.

-All code that we added manually matches what we saw on the grainge site cited above.

-Where there are multiple twisties in the topic, I make sure the dropdown numbers are different in both places.

-The twisty.js file is being included in the generated WebHelp folder.

The twisty graphics change, but the drop-down text does not appear.

Any ideas? Peter, if you're available, I'd really like your input.

Tammy

This topic has been closed for replies.

1 reply

Peter Grainge
Community Expert
Community Expert
October 6, 2009

I am dealing with problems of my own right now. Please set up a new project and see how it works there, then post back.


See www.grainge.org for RoboHelp and Authoring tips

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
tspaulAuthor
Inspiring
October 7, 2009

I have tried this in a brand new clean project created in RoboHelp 8, and the twisty still does not work in Firefox 3.0x or Firefox 3.5x on either Windows or Mac. The graphic changes when the link is clicked, but the drop-down text does not appear. Once again I made sure that the open twisty graphic was in the Baggage folder along with twisty.js, and both are included in generated WebHelp folder.

I can only conclude that this method of creating Twisties will not work in Firefox if created in RoboHelp 8. The error that I see in the Firefox Error Console is still the one I mentioned in my original post yesterday.

I compared the TextPopup functions in the old (X5) and new (RH8) ehlpdhtm.js files (noting that the functions had different names), and I see that the coding has changed in the RH8 function. Perhaps something in the new TextPopup function makes the twisty.js coding incompatible with it.

It looks to me like I will need to recommend to my writers that if they want to use Twisty graphics, they will need to apply them to the Drop-down Text style in RoboHelp. (Some of them were reluctant to do that because they didn't want all cases of drop-down text to use twisty graphics.)

Tammy

Peter Grainge
Community Expert
Community Expert
October 7, 2009

I don't think the issue is RH. As mentioned in my topic, through the history of FF sometimes this method has worked and sometimes not. So you can set things up in RH and it works, later it does not and the only thing that has changed is FF.

I agree the RH way of doing twisties is not what is required and I have told Adobe this. You must do the same. The more people who report a bug or request a feature, the more likely it is to be actioned. Please follow this link.

http://www.Adobe.com/cfusion/mmform/index.cfm?name=wishform&product=38

Does someone have a tame developer who would be willing to look at the code?


See www.grainge.org for RoboHelp and Authoring tips

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.