Monday, December 6, 2010

IE7 Background Ghost When Element is Hid

There seems to be little documented on this issue. I will share it here if anyone ever come across this issue. Keep in mind that I am using jQuery, not sure if it makes any difference. Also I didn't try to reproduce in a standalone example because I don't have enough time; but you would not be reading this if you don't have a similar problem anyway.


<div id="parent">
   <div id="child"></div>
   <div id="child2"></div>

#child has a background image. #parent is then hidden by
and then #child is hidden by
When you open #parent again, you still see the background image of #child even though it's already hidden with style="display: none;". When you mouse over it, the background image would disappear.


Hide elements in order of inner element to outer element. i.e.,

I spent almost 2 hours debugging this. Hope this post can save you some times.

Friday, August 27, 2010

Problem with Sending Mail from a Cloud Server

Ever since I migrated to a cloud server, I had not received the occasional emails from my sites. Until today when I was expecting a email from one of the sites. I waited and no mail comes through, I triggered few more re-sends, but none made it to my inbox.

Friday, August 6, 2010

addJs vs addItem in Magento

Using addJs will add a Javascript tag with source file relative to the root directory.

Wednesday, August 4, 2010

Antoine Dodson's Bed Intruder Autotune Remix MP3

By now most people have seen Antoine Dodson on TV news who saves his sister from a rape attempt. His interview is later remixed by the talented Auto-Tune the News folks as seen below...

Saturday, July 31, 2010

osCommerce Migration Tool For Magento Installation Failure

I tried to install osCommerce Migration Tool for Magento today and I encountered the following error.