Skip to main content
Known Participant
November 14, 2011
Question

DHTML drop-downs within DHTML drop-downs

  • November 14, 2011
  • 1 reply
  • 966 views

In my RH 7 HTML Help project, I have a number of procedures. They had huge scrolling monster topics, and some of the users know how to do some of it already but not other parts, so weI found a good solution. WeI thought.

I have a bulleted list of tasks, and each is a DHTML drop-down with a set of numbered steps and screenshots. Works great. Then within the DHTML drop-down there are some links that open DHTML expanded in-line text or text-only DHTML drop-downs. This second level nesting is giving me problem. The links in the second level don't work. When I double-click them within the RoboHelp tool, they work fine. When the project is generated or when use the preview feature, they don't.

Is there a way I can make this second level work predictably?

This topic has been closed for replies.

1 reply

Willam van Weelden
Inspiring
November 15, 2011

Hi,

Are your problems with nested expandspots or nested dropdowns? AFAIK, nested drop downs will work, but nested expandspots may throw script errors in the browser. Do you receive an error message?

Greet,

Willam

BJeppsonAuthor
Known Participant
November 15, 2011

Looking back, you're right. The ones that don't work at all seem to be nested expandspots, and that seems consistent.

On regular dropdowns, I sometimes (but not always) get the following error message:

Error: 'style.pixelLeft' is null or not an object

Code: 0

and it's accompanied by Line and Character numbers and the URL of a local file  /ehlpdhtm.js

I don't know what to do with it.

Willam van Weelden
Inspiring
November 16, 2011

Hi,

Nothing to do about the nested expandspots. You'll have to remove them when they don't work.

When do you get the error message for the dropdowns? When you hover the dropdowns? The file ehlpdhtm.js is the file that holds functions for the DHTML effects. Which line is the error referring to?

Greet,

Willam