Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect behaviour in IE7 with jquery UI #35

Open
yauhen opened this issue Jun 16, 2010 · 1 comment
Open

Incorrect behaviour in IE7 with jquery UI #35

yauhen opened this issue Jun 16, 2010 · 1 comment

Comments

@yauhen
Copy link

yauhen commented Jun 16, 2010

generally works incorrectly in IE 7 in many cases when rounded buttons inside jquery UI dialog
for example:

<script type="text/javascript" src="scripts/jquery-1.4.2.js"></script> <script type="text/javascript" src="scripts/jquery.corner.js"></script> <script type="text/javascript" src="scripts/jquery-ui.js"></script> <style type="text/css"> button.btn { /\* padding: 0 7px;*/ height: 20px; line-height: 20px; color: #fff; margin: 0; font-weight: bold; background: url(images/brown_btn_bg.png) top left repeat-x; border: 0 none; vertical-align: middle; cursor: pointer; } </style> <script type = "text/javascript"> $(document).ready(function() {
        $("button.btn").corner("keep 3px");

     var testDialog= $("#testDialog");
        testDialog.dialog({
                    autoOpen: true,
                    draggable: true,
                    resizable: false,
                    /*dialogClass: 'commonConfirmDialog',*/
                    height:100,
                    width: 180,
                    position: ['center', 'center'],
                    minWidth:180,
                    minHeight:100
                });

    });

    function showDlg_Click()
    {
    $("#testDialog").dialog("open");
    }

     function btnOk_Click()
    {
    $("#testDialog").dialog("close");
    }
</script>
</head>
<body>
    <button class="btn" onclick="showDlg_Click()">Show dialog</button>
    <div id="testDialog" title="Test dialog">
        Some text<br/>
        <button class="btn" onclick="btnOk_Click()">Press OK</button>
    </div>
<body>
@fnagel
Copy link

fnagel commented Oct 13, 2010

Works nice in IE 6 / 7 / 8 with jQuery UI Tabs 1.8.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants