I don’t think I’ve to told anybody how cool jQuery is, you know already, nor how to integrate in SharePoint. Let’s start with a screenshot:
The idea is to have a Webpart on your SharePoint site that simply executes jQuery statements.
Just great to experiment with jQuery and SharePoint or to learn jQuery.
All you need is a standard Content Editor Webpart with the following with the following content (source).
Works great with IE Developer Toolbar together.
Examples:
$(“.ms-sitetitle”) // selects the site title$(“a[href^=’http://’]”).attr(“target”,”_blank”) // open all absolute links in a new window
$("*").click(function(event){
$(this).hide("slow"); return false;
}); //just fun ;-)