Naver Demo
View Documentation
基本样式
调整显示器的大小看看效果:
$("nav").naver();
<nav>
<a href="http://www.erdangjiade.com">首页</a>
<a href="http://www.erdangjiade.com/js">jQuery</a>
<a href="http://www.erdangjiade.com/templates">模板</a>
</nav>
Demo
Breakpoint
By default, Naver will enable itself on screens smaller then 980 pixels wide. You can specify a different width by setting the maxWidth
option on initialization.
$("nav").naver({
maxWidth: "740px"
});
Demo
IE Support
When supporting IE you will need to include a HTML5 enabler and matchMedia polyfill (IE 8, IE 9).