Tuesday, August 08, 2006

yahoo ui library

I've been working with the Yahoo UI library for a few days, and I was having a problem with internet explorer. One of my own div layers consisted of a bunch on buttons, that called javascript buttons. In Firefox everything worked fine. But in Internet Explorer, some buttons were unclickable. They weren't disabled, nothing happened when you clicked on them.

It took me a while to figure out that the z-index for one of the hidden layers I had defined for a yahoo dialog were covering these buttons, making them unclickable in Internet Explorer. In Firefox the z-index was fine. Increasing the default z-index on the layer fixed the problem.

Update: That didn't fix it. I'll have to look in deeper into what is obscuring those buttons.

Update: a dialogs body must be wrapped in a div tag with class='bd'.