#208 style of JSmol popup menu separators

v10
open
nobody
None
5
2013-08-29
2013-08-29
No

JSmol HTML5 popup menu has entries as links, styled with the standard hand pointer and a bluish rounded background.
Separators in the menu are inserted as links too, with href="#" and a "hr" tag for content. This gives them the style of clickable elements, same as menu entries.
I think it would be better that separators are not visually clickable. To do that, I propose the "hr" element should be inserted without an "a" tag surrounding it.
I guess this should be easy to do, or there may be a reason with it has been done this way. But I am unable to locate the relevant bit of code in the source.

Discussion


Log in to post a comment.