Change size of icons

As ussualy on any SharePoint page there is a SiteAction slide-out menu. This code change icon size of it to small:

var siteActionMenuId = 'zz1_SiteActionsMenuMain';
var siteActionMenu = new SPMenu(siteActionMenuId);
siteActionMenu.LargeIconMode = false;

Before executing this code:

And after:

Last edited May 29, 2012 at 9:42 PM by VitalyZhukov, version 2


No comments yet.