Tuesday, December 18, 2012

Enhanced JQuery resize event

Have you ever noticed how difficult it is to debug the resize event in JQuery because they are triggered while the user resizes the browser window? Paul Irish came up with an improved resize event which is triggered when the resize ends. Check it out here.

Sunday, December 9, 2012

SharePoint's best coding practices

It's easy to get caught on bad coding practices when using the SharePoint API. First, you need to download the SharePoint Dispose Check tool and run it against your code; and then read the following links, which have useful information:

http://msdn.microsoft.com/en-us/library/aa973248.aspx
 
 
https://www.nothingbutsharepoint.com/sites/devwiki/SP2007Dev/Pages/When%20to%20Dispose%20SharePoint%20objects.aspx

Thursday, December 6, 2012

Outlook removes id tags from html elements

While doing some tests on how Outlook handles JavaScript code, I noticed it was removing the JavaScript code and the id tag of any div. It makes sense that for security purposes, Outlook does all this. If you want to know more about how email rendering works, check out this link.