Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes. Not only that, it should keep the submenu open when traveling inside this triangle (but close on timeout if mouse stays still inside it):

      +--------+
      | parent |
      |        +--------+
      |       /|submenu |
      |      / |        |
      |=====/==|        |
      |=====\==|        |
      |      \ |        |
      +------ \|        |
               +--------+

and close immediately when not inside the triangle.

Also, if in the parent there's another menu item with submenu somewhere on the path of mouse inside this triangle, ignore this item.

For best results, if mouse was inside the submenu for a moment, keep the submenu open until clicking away from it or moving over a different item in the parent menu. So many details!



Upvoted for the ASCII art alone. That seems to be a lost art, particularly here on HN. Long live the ASCII art diagram!


I'm also a big fan of ASCII diagrams. The ones I use to explain my Rails authorization gem, Authority (https://github.com/nathanl/authority#the-flow-of-authority), were made using a great tool called Asciiflow: http://www.asciiflow.com/


Yeah! Was it done in Emacs artist-mode by any chance?


Haha, no, Vim in replace mode. But yeah, artist-mode is awesome.


Yes! Absolutely. We wanted to add some javascript love to the dropdowns, but ultimately didn't have the time to get it in there for launch. The beautiful part of it is we can always improve :). Much love for the diagram as well—I'll see if I can get Jacob to cook this up.


Thank you!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: