Show HN: Mimicking the Bloomberg menu widget without JavaScript
dosyago-coder-0.github.io
Show HN: Mimicking the Bloomberg menu widget without JavaScript
1–10 of 144 posts
Re: Show HN: Mimicking the Bloomberg menu widget without JavaScript
#2Tested on IE 11, Edge 12, latest Chrome stable and Firefox dev on Windows 10.
Source: https://github.com/dosyago-coder-0/mimic-bloomberg-menu-no-j...
Maybe this post should be a Medium post titled "How I mimicked the Bloomberg menu widget without JavaScript." I might write one if many people want that.
Re: Show HN: Mimicking the Bloomberg menu widget without JavaScript
#3Re: Show HN: Mimicking the Bloomberg menu widget without JavaScript
#4Or to keep it JS free there might be a way to structure the HTML similar to: . Hover a :hover pseudo on will also fire when hovering over .
Re: Show HN: Mimicking the Bloomberg menu widget without JavaScript
#5Re: Show HN: Mimicking the Bloomberg menu widget without JavaScript
#6Well done! Moving the mouse to a child resets the position though. You may need some JS to do some fancy stuff like here: http://bjk5.com/post/44698559168/breaking-down-amazons-mega-... Or to keep it JS free there might be a way to structure the HTML similar to: . Hover a :hover pseudo on will also fire when hovering over .
Re: Show HN: Mimicking the Bloomberg menu widget without JavaScript
#7Found a bug with Chrome 67.0.3396.87 on Mac OS 10.11.6: When you hover over a menu item (e.g. "Markets"), the sub-menu updates based on the sub-items for the "Markets" item. However, when moving the cursor right (towards the sub-menu), the sub-menu state reverts back to the last activated menu item. Only clicking a menu item makes the respective sub-menu "stick". This is not the case for the actual bloomberg menu.
Don't know whether this is a limitation of the html+css approach?
Re: Show HN: Mimicking the Bloomberg menu widget without JavaScript
#8I am sorry if this is kind of out of topic. I remember weeks ago I've visited their website with new design. Seems like now bloomberg went back to the old design of their website. Any clue?
Re: Show HN: Mimicking the Bloomberg menu widget without JavaScript
#9Context: I like the Bloomberg site and their drop-down menu is cool. Purely as a challenge, I set out to mimick the styles and behaviour of that menu without using JavaScript and trying to keep the HTML/CSS as minimal as possible. Their menu widget does not work if you switch of JS (but this was not a motivation for me to make this). Tested on IE 11, Edge 12, latest Chrome stable and Firefox dev on Windows 10. Source…
Re: Show HN: Mimicking the Bloomberg menu widget without JavaScript
#10Well done! Moving the mouse to a child resets the position though. You may need some JS to do some fancy stuff like here: http://bjk5.com/post/44698559168/breaking-down-amazons-mega-... Or to keep it JS free there might be a way to structure the HTML similar to: . Hover a :hover pseudo on will also fire when hovering over .