Improving the web performance of an intranet
All the “small” app parts, web parts, delegate controls, user controls, and other “packages” that “must” be delivered to the users on every page load of the Start Page of your Intranet. Recently we...
View ArticleCount lines of code with PowerShell
Today I got a question: How many lines of code are there in our SharePoint solution? After a little search, I found that PowerShell is really a nice tool to count lines of code: How do you count lines...
View ArticleDebugging OOB SharePoint. Unable to post comments on SharePoint blogs (SP2013...
I have had a strange bug. The comment text box in a OOB SharePoint 2013 blog doesn’t appear. It only says: “There are no comments for this post.” In this blog post I’ll tell you how I found the bug and...
View ArticleMake javascript code work with Minimal Download Strategy Part 1
This is a part 1 of the blog post about Minimal Download Strategy and javascript adjustments for user code. What I initially thought should be enough for one post, is not enough, so I see it as a part...
View ArticleMultiple events listeners in jQuery
Maybe it is not so often we face this situation where we one event handler for different events in javascript. But in my project I use many custom events and in some situations it is the same handler...
View ArticleChuvash translation of Wikipedia Mobile
The official Wikipedia mobile app is now translated into Chuvash language and available to use: What does Chuvash mean? I am Chuvash. Chuvash is the name of an ethnicity which counts up to 2 milions...
View ArticleUsing javascript objects passed from closed popup
It is not a rocket science to pass objects from child window (popup) to main window. The problem I encountered today was IE and passing complex objects. So it is just an IE issue as far as I know. The...
View Article$ in cmssitemanager.js conflicts with $ in jQuery
In SharePoint 2010 if CMSSiteManager.js library is loaded besides jQuery, then much of stuff stops working. The reason is that the dollar sign ($) is used in cmssitemanager.js as well which conflicts...
View ArticlejQuery mobile and SharePoint
In this post I want to explore how to build a mobile app using jQuery mobile. Recently I discovered two great blog posts about this: Building SharePoint web apps using Sencha Touch by Luc Stakenborg...
View ArticleclearInterval in Chrome doesn’t work on window blur
If you want to reset all interval jobs when a browser tab is inactive, the best way would be to use clearInterval on window blur. But unfortunately Chrome fires window focus and window blur two times....
View Articleshorthand for jQuery(document).ready
jQuery(document).ready is used very often, why not use the shorthand variant of that? $(function() { // Code here });
View Articlefallback for html5 placeholders
Placeholders are very handy in html5, we don’t need to fool with input values. But in SharePoint and IE we must provide fallback for placeholders if we want use them in other browsers. Here is an...
View ArticleNew functions in jQuery 1.7+ on and off
A simpler interface for event handling in jQuery. Just read Dan Wahlin’s blog.
View Article