Last week, Microsoft’s Dallas Tester (http://twitter.com/dgtester) posted a new starter master page for SharePoint 2010:
http://code.msdn.microsoft.com/odcSP14StarterMaster
For those that don’t already know, “Starter” is the new term for minimal master pages that were available for SharePoint 2007. Here are some screenshots of the starter master page in action, you will see that it is quite minimal:
This is a great resource for learning about SharePoint 2010 master pages. If you are interested in another type of starter master page experience, you can always check out my own starter master pages at http://startermasterpages.codeplex.com. They are less minimal, but still are a good starting point for SharePoint 2010 branding projects.
The above Master Page needs this code for the “Views” menu to pop-up in the ribbon:
I want to add this Jquery code to my masterpage – so that anyone leaving the sharepoint for an outside site will get prompted.
$(window).bind(‘beforeunload’, function(){
return ‘The link you have requested will take you to a website outside of SharePoint.’;
});
How do I add this code to my masterpage so it is promulgated to all subsites.