透明的jQuery UI对话框 [英] Transparent jQuery UI Dialog

查看:82
本文介绍了透明的jQuery UI对话框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道如何让ui对话框透明吗?

解决方案

创建一个类:

  .transparent_class {
filter:alpha(opacity = 50); / *对于IE4 - IE7 * /
-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity = 80); / * IE8 * /
-moz-opacity:0.5;
-khtml-opacity:0.5;
不透明度:0.5;
}

并将此类添加到您的UI元素中。



他们的博客。


anybody knows how to make the ui dialog transparent ?

解决方案

create a class:

   .transparent_class {
        filter:alpha(opacity=50); /* for IE4 - IE7 */
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; /* IE8 */
        -moz-opacity:0.5;
        -khtml-opacity: 0.5;
        opacity: 0.5;
   }

and add this class to your UI element.

Read more about MS IE filters on their blog.

这篇关于透明的jQuery UI对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆