开发者

Focus Ring on jQuery UI Dialog Button

I've got a jQuery dialog box with a button to close it. The button has focus when the dialog box opens. The problem is that the focus 开发者_开发知识库is a dotted line around the button's text instead of a focus ring around the entire button. I'm using jQuery's smoothness theme.

I'm using the dialog in a WordPress plugin.

My code is:

$('#mydialog').dialog({
        title: 'My Title',
        position: [619,200],
        resizable: false,
        buttons: {"OK" : function(){$(this).dialog("close");}}
    });


The problem may relate to the browser; the way each browser highlights the focused element differs.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜