#neat
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('.ms-WPHeaderTd').each( | |
function() { | |
var wpClass = "wptitle-" + | |
$(this).attr('title').split('-')[0].replace(/[\W]/g,''); | |
$(this).closest('.s4-wpcell').addClass(wpClass); | |
} | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var acField = $('input[title="Related Task"]'); | |
var listSvc = _spPageContextInfo.webServerRelativeUrl + "/_vti_bin/listdata.svc/"; | |
var listSvcList = "Tasks"; | |
var listSvcFieldQuery = "Title"; | |
var listSvcFieldReturn = "Title"; | |
acField.autocomplete({ | |
source: function(req, res) { | |
var reqUrl = | |
listSvc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
<!-- This XSL Stylesheet created by SharePoint Experts, Inc. --> | |
<!-- http://sharepointexperience.com --> | |
<xsl:output method="html" indent="yes"/> | |
<!-- This template is the "wrapper" or "container" for the custom view. --> | |
<xsl:template match="/"> | |
<!-- This is the actual wrapper element that will be emitted --> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> |
#Welcome!
If you're not attending my SharePoint Web Developer class, you might not know what to do with all of this :)
Code samples:
Group tasks by priority using a single xsl:template
Group tasks by priority using multiple templates
If you're not in my SharePoint Web Developer Experience class, you're missing out. This is just some of the sample code we're discussing in the February 2013 delivery. There's another one coming up in May. And you get even more code than is shared here to the public.
Feel free to poke around. Geek out a bit. And if your curiosity is piqued, sign up for the next one.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="stylesheet" type="text/css" href="http://s3.amazonaws.com/classcdn/slider/css/anythingslider.css"/> | |
<script src="http://s3.amazonaws.com/classcdn/slider/js/jquery.anythingslider.min.js"></script> |
Welcome! :)
Stay tuned!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset=utf-8 /> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
</body> | |
</html> |