My idea was to make 2 menus. One inside another.
The top level menu has 1 item with this image and no text.
And the second level menu has 4 text items.
Popup menu and horizontal menu are the same.
But how could I retrieve the screen or window width? Something like $(window).width() analog?
Are there any other ways to create such responsive menu?