getBoundingClientRect on Xbox
Sunday, February 19, 2023
I learned something interesting at work the other day. We use getBoundingClientRect to find the position of a movie poster and then blow it up slightly. Well the blown up image is supposed to be on top of the existing movie poster, but on Xbox (and some Samsung TVs) this was not the case. The blown up image was in the top left corner. After a lot of investigation I found the issue was that we were expecting to have getBoundingClientRect.…
Bower is Dead
Thursday, December 17, 2015
Starting from a blank piece of paper or an empty notepad can be a daunting task. Where do I start? How do I get to the productive place? Most of the help that I find on the Internet start with, “Run these 15 npm install commands and then copy this code into these files.” Sure, doing that gets you to someone’s productive place, but rarely does it get me to my productive place.…
Forms Based Authentication in SharePoint
Friday, July 27, 2007
If you search the Internet you will find some very good instructions for setting up forms based authentication (FBA) in both Windows SharePoint Services v3 (WSS) and Microsoft Office SharePoint Server 2007 (MOSS2007). I won’t rehash all those instructions here. However I do want to make a couple of observations. One person actually posted about a missing step which involves ensuring that the user account that your SharePoint Application Pool runs under has permission in your SQL Server.…
SharePointJavaScriptForms Authsharepointjavascriptforms auth
Forms Based Authentication in SharePoint Part 2
Friday, July 27, 2007
In the first post I said that there are a lot of good instructions for setting up Forms Based Authentication in SharePoint. I’m still not going to rehash those instructions, because for the most part they are easy. Setup the database, add a user or two, configure SharePoint for forms authentication and let it know the DB info. Simple right? So let’s complicate it a bit. If you follow the instructions and hit your SharePoint site you’ll get a SharePoint looking login page.…
SharePointJavaScriptForms Authsharepointjavascriptforms auth
JavaScript Intellisense in Visual Studio 2008
Monday, June 25, 2007
With Visual Studio 2008 I’ve done something I never thought I’d do. I’m actually using a beta of Visual Studio to write production code at work. I’m doing that not because it’s the most stable platform, it’s at beta 1 quality right now. I’m using it because of all the great features it adds as well as the unique ability that it can now target a .NET Framework that is different from the one it was written for.…
Be Excellent to Other Onload Events
Wednesday, June 6, 2007
I’ve noticed a disturbing trend lately with regards to the onload event of an HTML page. This trend includes one developer overwriting the onload event with their own function. I’ve seen some web pages that have this for the body tag: <body onload="myLoadFunction();"> And because this doesn’t seem to work for them they put this right before the closing body tag: <script type="text/javascript"> myLoadFunction(); </script> </body> They do this without first finding out why the onload doesn’t work.…