It's time for contextual positioning

I don't even know if there is a major website that doesn't use overlay
context menus.
Currently, the positioning requires very difficult calculations, in most
cases even JavaScript, to find out if the context menu should expand to the
top, bottom, left or right.

My suggestion would be to add a new positioning option:

> position:contextual;
> context:#elementID


This would create an absolute positioned overlay, exactly nearby the
element with the provided #elementID.
No need for calculations.

PS: This new positioning could also be used as an alternative title tag
(hover tip).


Kind Regards
Simon Ferndriger

Received on Tuesday, 13 May 2014 16:10:43 UTC