(17) Summary of EasyUI compatible IE6 methods

EasyUI compatible IE6 method summary

Posted on November 21, 2013 by  blueram

1. Combobox If single selection, multiple must also be set to true. If this ie7 is not set, it will remain in the multi-select state, which is considered a bug.

2. Combobox is better to use js to render instead of class="easyui-combobox" at the beginning, this can improve efficiency, of course, other controls are also the same.

3. The rendering of datebox and datetimebox under ie6 is really slow, and my97datepicker is better.

4. For the problem of flicker, you can first use a mask to create an illusion to improve the user experience.

5. Pay attention to the comma, datagrid will report script errors if multiple commas are in ie6, and other browsers often ignore commas.

6. The datagrid pagination control custom button resolves to href="javascript:void(0)", which will cause the script to not execute. It can be realized in another way.

7. With the dialog component of jquery's easyui, plus the bgiframe plug-in, the content of the dialog can not be covered, but the border is still covered by the select, and the dialog of jqueryui will not have this problem.

The main reason is that the dialog component of easyui has one more div than the outer layer of the dialog in jqueryui. You only need to find the upper-level label of the dialog. After adding bgiframe, the border will not be covered.

$(‘#div_id”).parent().bgiframe();

8.easyui does not respond when adding JS jump in datagrid

Js code

function tourl(url){

location.href=url;

window.event.returnValue = false;

}

9.according ie6 scroll bar is missing.

method one:

Set DOCTYPE to

Method Two:

Set the accordion's animate attribute to false

10. Paging flashing

The browser you are using should be ie6. This is because select is used to select the page size in pagination, which is the cause of flickering. The option to select the page size can be disabled:

$.fn.pagination.defaults.showpagelist = false;

11. The layout is best not to let him shrink.

12. Some people say that the masks of pop-up boxes and lists will not be translucent. In fact, this is a problem that ieTester cannot simulate. It's really ie6, but it won't have this problem. Either you log in to ietester as an administrator

Under 13.ie6, according to load is very slow. It may be that you have too many small icons. If one icon is 50ms, if there are 50, it will be more than 2s. You can remove the icon, or get a picture, and then use positioning, which can reduce the number of requests.

14.Datagrid performance optimization  http://www.easyui.info/archives/1435.html

Guess you like

Origin blog.csdn.net/qq_31653405/article/details/115053524