开发者

Is there a way to make file upload inputs match a dijit theme in Zend Framework?

开发者 https://www.devze.com 2023-04-12 21:32 出处:网络
I\'ve been looking at the Zend_Dojo_Form_Element package and can\'t seem to find a file upload input, so I\'m stuck with a plain file upload with no theme style next to the rest of my nicely themed el

I've been looking at the Zend_Dojo_Form_Element package and can't seem to find a file upload input, so I'm stuck with a plain file upload with no theme style next to the rest of my nicely themed elements such as SubmitButton and ComboBox.

Has anyone 开发者_JS百科else encountered this problem? Is there an elegant solution to apply the dijit theme?


I don't know if you've already looked at this : http://www.quirksmode.org/dom/inputfile.html

What you could try is creating your own widget that sets this up for you. You'll need to use a dximage filter for IE support though, YMMV. Also may not work depending on how you're doing your layout due to element stacking and the need for a relatively positioned parent.

0

精彩评论

暂无评论...
验证码 换一张
取 消