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?
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
Post a Comment