Recently I ran into an issue. I needed to add some custom styling to Twitter’s timeline widget. The problem I ran into is that Twitter only provides two styles; Light and Dark. For my needs that wasn’t enough, I needed a custom background as well as some modification to text color, width and borders. This presented some problems but I ended up coming with a solution of my own that I feel is nice and straight forward.
While working with jQuery one of the methods that I’ve found that I use a lot is $(document).ready(). The biggest problem that I’ve run into with using this method is that when working within ASP.NET and doing an AJAX postback this event does not fire automatically. For good reason, but it can cause serious problems when I need that event to fire on partial postbacks as well.