There are several ways to make navigation responsive, and usually the solution we need is quite straightforward. But despite the apparent simplicity, there are many underlying factors which, when thought through and implemented properly, can make a simple solution even better without adding more complexity to the user interface.
One of the problems Viljami Salminen has encountered while building responsive
navigations is that browsers currently don’t support CSS3 transitions to
a height which is defined auto. Most of the time, we shouldn’t use
fixed height either because the height of menu items might not be the
same in all browsers, and the number of items may change. He also always
try to reduce the weight of pages he builds, so he's been wanting a
solution that doesn’t require a big library such as jQuery to work.
Today, he's pleased to introduce Responsive Nav, a free and open-source
JavaScript plugin that solves these problems and more in one tiny
package. It’s released under the MIT License, so you can use it in all
of your projects for free and without any restrictions. The solution is
not one size fits all, nor is it meant to be. But for those who are
looking for a solution that does one thing well, it’s definitely a good
choice.
Comments
Be the first to write a comment
You must me logged in to write a comment.