You've opened a new tab!

Sound familiar? You know IE holds back the Internet right?

Here you'll be able to find my brief notes on computer/linux things I'm currently doing, and if I had any troubles, details about how they were overcome.

My public GPG key
My public SSH key

My github

My nicknames:

  • cgerpheide (official)
  • phoxicle (IRC, forums, twitter)
  • HorseRayX (AOL -- haven't used this one since I was 11)

A list of my favorite XKCDs:

C0mput3rz & T3chno1ogy

Smooth animations in jQuery UI Accordion

I was having trouble making my accordion slide (the default) animations smooth using the jQuery UI. The accordion would slide, but then sort of "jump" about 10 pixels up just after the slide effect.

If you are having the same problem, the fix was simple: I had a margin set on the accordion header, and I changed it to padding.

a.accordion_header {
  padding: 10px 0; /* Margin makes animation not smooth! */

Apparently the accordion plugin calculates the target height without the header margins included, so the animation ends up jumping a bit to make up for it.