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;
siteActionMenu.Update();

Before executing this code:



And after:

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

Comments

No comments yet.