Better dialog shadows in YUI 2? -


here's tricky one: has seen yui dialog/panel implementation nice os x style shadows around dialog, instead of blocky shadow implemented default "underlay" element?

this kind of shadow

you can see type of shadow on amazon.com popup windows. requires quite bit of pngs looks nice.

i'm thinking of inserting divs or replacing .underlay element, , hook dialog size event adapt dimensions. latter required because yui uses css trickery make underlay element "snap" dialog dimensions css in modern browsers, , uses manual dimension update ie.

edit: checked yui 3. panel widget not available yet, container , it's still beta. i'm looking @ solving in yui 2.

ps: oh guess include png shadow part of panel's header, body , footer (hd, bd, ft), padding. , use css rule hide yui's underlay. hmmmmmm wish didn't have because changes calculations draggable area, it's not great way it.


Comments

Popular posts from this blog

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c++ - Convert big endian to little endian when reading from a binary file -