$(function() { var myPager = $('.pager').data('zui.pager'); myPager.options.menuDirection = 'dropdown'; myPager.set(); });