Question

I try to personalize the generated html-output of doxygen.

I want to give the readers of the documentation the chance of resizing the nav-tree panel (the left panel), which is not a by default setting of Doxygen, as I observed.

I was thinking that I could activate that feature by adding an custom CSS-file (customdoxygen.css), but I didn't find any solution neither.

Is there a way to make doxygen generate the code, so that the nav-tree panel could be resized by the readers of the documentation?

Was it helpful?

Solution

I managed to solve the Problem in the meanwhile. The issue is caused by an error of Internet Explorer 9:

I have generated the documentation on my personal computer (local). Internet Explorer is setted to not open by default local script files in the browser. The option which refers to that is: Tools → Internet Options → Advanced → "Allow active content to run on files on My Computer".

Now when I open the index.html file of the documentation, Internet Explorer blocks the resize.js script. Internet Explorer also give you the option to still allow blocked content (the scripts). This is functioning well, with one exception: the unselectable parameter of the nav-tree-panel (which is setted by Internet Explorer) will not be disabled/deleted after you allow the blocked content: <div class="ui-resizable side-nav-resizable" id="side-nav" style="top: 101px; width: 300px; height: 908px;" unselectable="on">. Therefore the nav-tree panel cannot be resized although the script was loaded.

So the solution could be:

  1. Disable this option: Tools → Internet Options → Advanced → "Allow active content to run on files on My Computer"
  2. Do not use IE9 if you are accessing the generated documentation locally on your computer.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top