This code is nothing new to the wonderful people who help support EndUserSharePoint by attending our online workshops. But if you haven’t had a chance to attend the online workshop, this example code replaces the AOP LoadTip example.
Closed and deleted mean different things in SharePoint. This causes a lot of confusion among users and administrators and can lead to lengthy troubleshooting sessions. I will present some simple methods to help you combat this issue.
This is so cool. When I saw some of the cool demos for the InfoVis toolkit, I wanted to try one out with SharePoint data.
I decided to use Content Type data since it has a parent-child relationship. If you didn’t know, all Content Types have an ID. These IDs reveal the inheritance [...]
Thanks to the test at Slick Speed Test, we have some empirical evidence about jQuery versus other JavaScript frameworks.
I’m a freak for performance. I like squeezing milliseconds out of a script and I really like reading tips on how to improve my code. This test can help highlight some areas to [...]
Based on Walter’s comment in a previous article, I applied the “Read more…” link concept to a standard WSS Blog site.
It only seemed appropriate to make you click “Read more…” to get the code :)
<script type="text/javascript">
if(typeof jQuery==’undefined’){
var jQPath = ‘https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js’
document.write(’<script src="’,jQPath,’" type="text/javascript"><\/script>’);
}
</script>
<style type="text/css">
.collapseText {height:26px;overflow:hidden}
</style>
<script type="text/javascript">
function collapseText(){
var html = "<div class=’ms-PostFooter’><a class=’expand’ href=’#'>Read more…</a><div>";
$("div.ms-PostBody","#WebPartWPQ1").addClass("collapseText")
.after(html);
$("a.expand","#WebPartWPQ1").click(function(event){
$(event.target).parent().hide().prev().removeClass("collapseText");
$("html,body").scrollTop(event.pageY);
return [...]
On our Stump the Panel forum, bmix offered this problem:
We’re trying to figure out if there’s any way to show a total of how many people are scheduled for a particular hour of the day.
Well, after refining the problem statement, I put my owsapi to good use. The code below can be placed into [...]
You may have seen the previous version of this script. At any rate, my goal was to create a script that required very little configuration and allowed prepopulation of any standard form field in SharePoint. This time, I’ve improved the look of “locked” fields as well as created a way to close or [...]
I love Firefox. IE8 has some improvements over IE7, but I still prefer the fox. So I made this bookmarklet a while back and just got around to sharing it.
If you’re in FF and need to add a web part to any SharePoint page with a web zone, just click this bookmarklet (DRAG [...]
Sometimes I want scripts to work as soon as possible, possibly even before document.ready.
For style changes, one option is to add CSS link or style tags to the page. However, if the CSS is tightly married to a JavaScript solution, it’s better to keep the styling changes based in JavaScript.
So here’s my approach: I wrote [...]
Eric posted a good question on our forum:
What I’d like to be able to do, is create a hyperlink or button on the page that iterates through the list of users and when clicked, opens a mailto: href that is populated with all the users.
Any ideas on how this could be accomplished with jQuery?
I had [...]