Friday, February 11, 2011

Exploding logo animation

Aha, this was what I was looking for.  Should be able to adapt it to explode a compressed tag cloud; something like a big-bang effect.
"Create an Exploding Logo with CSS3 and MooTools or jQuery" by David Walsh.

HTML5 Canvas Tag Cloud

HTML5 Canvas Tag Cloud.

Cool.  Now if I can just find something like a tag cloud that scatters when you hover on it.

Wednesday, February 2, 2011

Notepad++ CRLF instead of LF

Looks like Notepad++ by default has EOL settings so that only LF is placed at the end of each line.  Which is fine in Notepad++ but not when you have to open the file in plain old Notepad--the lines run together.
To change the EOL settings, go to Edit->EOL Conversion, and set it to "Windows Format" instead of "Unix Format".

Tuesday, February 1, 2011

Adjust frames per second for jQuery animations

Use jQuery.fx.interval.
Note from jQuery documentation:
"This property can be manipulated to adjust the number of frames per second at which animations will run. The default is 13 milliseconds. Making this a lower number could make the animations run smoother in faster browsers (such as Chrome) but there may be performance and CPU implications of doing so."

Tuesday, January 11, 2011

Use AuthoringContainer with EditModePanel in SharePoint 2010

In SharePoint 2010, the EditModePanel control's PageDisplayMode attribute no longer works the way it used to in SharePoint 2007.  Found out in this article that you'll need to pair it with the AuthoringContainer control to get the behavior that EditModePanel had in SharePoint 2007.

Thursday, January 6, 2011

Extra 2-3px below Flash object on Firefox

To get rid the extra space below the Flash object on Firefox, set the style for the object element to "display:block".  (Tip from Dynamic Drive Forums.)