New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Menu does not work without Javascript (Origin: bugzilla #776964) #6139

Closed
doxygen opened this Issue Jul 2, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@doxygen
Owner

doxygen commented Jul 2, 2018

status RESOLVED severity blocker in component general for ---
Reported in version 1.8.12 on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2017-01-07 00:58:54 +0000, Josef Kufner wrote:

Since 1.8.12 there is new main menu. It completely relies on Javascript which makes navigation unavailable for search engines and anyone without JS enabled. Also, it does not highlight the current page.

There is no good reason to use JS to render essential navigation.

Please return the old menu.

On 2017-01-10 20:13:59 +0000, Dimitri van Heesch wrote:

I'll reintroduce the old style navigation in the next git update.
To enable it set HTML_DYNAMIC_MENUS to NO in the config file.

On 2017-01-10 20:49:54 +0000, Josef Kufner wrote:

Thank you.

On 2017-01-17 17:47:18 +0000, heiko.nardmann@itechnical.de wrote:

I also stumbled about those new menus (using 1.8.13). But on my part I get a 'ReferenceError' inside the Firefox JavaScript Konsole (and also IE) wrt. to

<script type="text/javascript"> $(function() { initMenu('',false,false,'search.php','Search'); }); inside 'index.html'. It tells me 18:40:42.509 ReferenceError: $ is not defined 1 index.html:11:1 http://.../Doxygen/index.html:11:1 I do not get any menus, too. I'm not JS expert: is this $( ... ) really a valid JavaScript expression?

On 2017-01-17 18:14:39 +0000, Josef Kufner wrote:

$() is just a function call - see jQuery, which is likely missing.

On 2017-08-14 12:48:02 +0000, Erwan Y wrote:

on the version 1.8.12 and 1.8.13 , when i am generating a chm file
(Compiled HTML file)

There is an issue
Line: 26
Error: The value of the property '$' is null or undefined, not a Function object

Search.html and search.php is not present in the generated directory
i have no Menu too.

On 2017-08-14 12:53:05 +0000, Erwan Y wrote:

on the version 1.7.X, the menu is correct on chm mode and html mode

==> No error happenned

<script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> $(function() { initMenu('',false,false,'search.php','Search'); }); </script>

==> Error Happenned
(cf Screenshot)

On 2017-08-14 12:54:16 +0000, Erwan Y wrote:

Created attachment 357551
error screenshot after opening chm file generated by Doxygen 1.8.13

On 2017-12-25 18:44:01 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.14. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant (preferably in the form of a self-contained example).

@doxygen doxygen closed this Jul 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment