Tag: Masterpage
Open link in SP Dialog from Global Navigation / Quick launch
Requirement Building on my previous post about opening a link in a SP dialog window (similar to lightbox), we decided to make it so that clicking on the link under the quick launch or top navigational bar would open the page immediately in a SP dialog box. This is not possible out of the box, as […]
Continue Reading...Dynamic banner images depending on browser resolution
Requirement Intranet site branding requires that the v4.master masterpage be customised with a dynamically expanding banner that changes its resolution depending on the resolution of the user’s browser. Solution We created a simple javascript that is copied just below the <script type=”text/javascript”> var _fV4UI = true; </script> section of the master page. Note that this […]
Continue Reading...Hide the Site Settings Drop down menu
Requirement Some times you might want to hide the site settings drop down menu, especially if it is a publishing site and you want to hide the menu from your readers. Solution Modify your site’s master page and add the bold lines: Css Class =”ms-siteactionscontainer s4-notdlg”> <Sharepoint:SPSecurityTrimmedControl runat=”server” Permissions=”AddListItems”> .. .. .. </SharePoint:SiteActions></span> </SharePoint:SPSecurityTrimmedControl> <asp:ContentPlaceHolder […]
Continue Reading...