GithubHelp home page GithubHelp logo

lhgdialog's People

Contributors

gumutianqi avatar lhgcore avatar

lhgdialog's Issues

[email protected]


        var api = frameElement.api, W = api.opener;

        api.button({....});

    如图:启动告警与停止告警只能有一项出现,在button:function(){}中:
    当listeners 中的值为 {1,2,3,4}时,而args中的值为{1,2,3},则listeners中的4依然后显示在页面.所以解决办法是将4从listeners 中去除

    我在button:function(){}方法中加上了以下方法;

         for(var obj in listeners){
            var lisId=obj;//数组中的对象
            var bool=false;
            for(var j=0 ; j < ags.length&&!bool; j++ ){
                item = ags[j];
                value = item.name;
                id = item.id || value;
                if(lisId==id){//如果找到则退出bool=true;
                    bool=true;
                }
            }
            if(!bool){//找到未存在args数组中的项
               button =listeners[lisId].elem//取出此项按钮
               buttons.removeChild(button); //从按钮数组中将它去除掉
               delete listeners[lisId];     //将它从数组中去掉
            }
         }

这样就没事了.

Original issue reported on code.google.com by [email protected] on 16 Jul 2012 at 8:21

Attachments:

不支持窗口穿越frameset

假如我想在让一个窗口在穿越left and top 
页面应该怎么办,是否可以解决,而不是窗口就显示在right页
面

Original issue reported on code.google.com by [email protected] on 25 Jan 2013 at 6:29

有横滚动条,最大化就无法全屏

What steps will reproduce the problem?
1. 页面有滚动条
2. 
开始没拉滚动条最大化时正常,拉动滚动条到右边后最大化��
�不正常了

What is the expected output? What do you see instead?
最大化可以全屏,无法全屏,右边会有一块空白

What version of the product are you using? On what operating system?
4.2.0

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 6 May 2013 at 9:56

一个很奇怪的问题

  <html><head><script type="text/javascript" src="jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="lhgdialog.min.js?skin=default"></script>
</head>
<body>
     <input id="nodeName" name="name1" type="text" />
</body>
</html>

这样在chrome下会报错。
Uncaught TypeError: Object #<HTMLInputElement> has no method 'toLowerCase' 

Original issue reported on code.google.com by [email protected] on 21 Oct 2012 at 1:48

不是BUG,个人建议(8.自定义坐标 [left & top])

非常感谢你的分享,觉得你是做这个做得最好的了,有项目��
�会一定用用这个,太好了~~~

关于“8.自定义坐标 [left & top]”的个人建议:
最小化时候,标题栏悬在中间,能不能在最小化时,标题栏��
�动移动到屏幕底部?当最大化时,再移上来?

纯属个人建议~~

Original issue reported on code.google.com by [email protected] on 18 May 2012 at 8:07

两次以上的弹出层,关闭最上面一层后,下面的一层弹出页面需要点击才能获取焦点

两次以上的弹出层,关闭最上面一层后,下面的一层弹出页��
�需要点击才能获取焦点,应在上面一层关闭后,下面的一层�
��动获取焦点。

16.父窗口对象 [parent]
案例中。

弹出两层之后,关闭最上一层,按钮“再打开一个锁屏窗口��
� 需要点击两次才能触发。

原因是该层iframe没有获得焦点。


Original issue reported on code.google.com by [email protected] on 25 Jul 2013 at 6:52

页面中出现select控件时有遮挡

使用最新的4.2.0还是有这个问题,如在demo页面中放一个select��
�件
<select><option value="1">1</option></select>
将弹出的对话框拖到这个控件上面,就可以看到对话框在selec
t控件下面。

Original issue reported on code.google.com by [email protected] on 14 May 2012 at 12:05

与jquery ui 有冲突

What steps will reproduce the problem?
1. 同时使用lhgdialog4.2与jqgrid4.5.2
2. 引入jquery-ui-1.8.2.custom.min.js
3. 使用jqgrid的columnChooser功能

What is the expected output? What do you see instead?
按照DEMO应该是弹出选择框,但实际点击无反应。注释lhgdialog.
js后,可以正常弹出选择框

What version of the product are you using? On what operating system?
脚本版本如上。环境为Windows7,IE9

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 12 Oct 2013 at 6:14

弹出alret/confirm/prompt对话框,无法使用现有方案国际化,标题写死中文

What steps will reproduce the problem?
1. 
使用lhgdialog(Version:v4.2.0)做国际化的时候,弹出alret/confirm/promp
t对话框的时候,标题是写死的,lhgdialog.setting无法可配;


What is the expected output? What do you see instead?
none.

What version of the product are you using? On what operating system?
v4.2.0,
OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"

Please provide any additional information below.
希望配置全局默认参数:
/*************** 修补alert,confirm,prompt标题国际化问题 
***************/
alertTitleVal: '\u8B66\u544A',    // 警告弹窗标题,默认'警告'
confirmTitleVal: '\u786E\u8BA4',  // 确认弹窗标题,默认'确认'
promptTitleVal: '\u63D0\u95EE'    // 提问弹窗标题,默认'提问'
***** 比如警告 *****
原始-->title: '警告'
改进-->title: lhgdialog.setting.alertTitleVal


Original issue reported on code.google.com by [email protected] on 11 May 2014 at 8:50

弹出两个窗口时,子窗口关闭,则父窗口未及时激活,父窗口中的按钮需要点击两次才能正常操作

What steps will reproduce the problem?
1.首先 打开一个弹出窗口
2. 在1中的弹出窗口中点击按钮,再弹出一个子弹出窗口
3. 关闭后弹出的子窗口
4,继续在父弹出窗口上操作按钮,则需要点击两次,才能激�
��按钮

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by oceangu2010 on 7 Nov 2012 at 8:00

Attachments:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.