Thursday, May 20, 2010

Dear Virginia DMV

Drivers license photos without smiles are un-American and ugly to boot.  I enjoyed the service and people at the DMV until I remembered that my state government capitulated to outside forces.  Now we all look like we hate living here on our official IDs.  Thanks for nothing.

Wednesday, May 05, 2010

Lunarlite

I wonder if Nike has tried to market their lunarlite foam for use in car seat cushioning.  I don't know what the weight savings vs cost increase might be though.  I also wouldn't drive a car that smells like feet.

Monday, May 03, 2010

JQuery Supersubs IE7/8 Tweak

I probably just botched my version of superfish.css, but I found that for supersubs to work properly in Internet Explorer 7 and 8, I had to change:
                var emWidth = $ul.add($LIs).add($As).css({
                    'float' : 'none',
                    'width'    : 'auto'
                })
To
                var emWidth = $ul.add($LIs).add($As).css({
                    'float' : 'none',
                    'overflow' : 'visible',
                    'width'    : 'auto'
                })
I also added an extraOffset setting which nudges submenus left or right depending on the alignment, but it's probably another fix my own bad css.  I did it to avoid z-index problems which are made worse by bgIframe in IE6.  I'm not going to share this extraOffset code both because it's trivial and probably not generally applicable if you don't screw up superfish.css (which is too complicated for me).

I tested both changes successfully in IE6,IE7,IE8, and firefox.