A paging plug-in is available. The demo downloaded from the internet is somewhat different in ie versions, but it can still be used.
However, it cannot be displayed on my page. It may be caused by too many div nesting or position positioning.
I changed the source code to display normally in ie7, ie8, and ie9. The following are some source code. It's hard to find something wrong with others. The key is that ie.
Copy codeThe Code is as follows:
Var bVer = navigator. appVersion;
Var ver;
If (bVer. indexOf ('msie 7.0 ')> 0 ){
Ver = "ie7 ";
}
If (ver = 'ie7 '){
_Ulwrapdiv.css ('width', outsidewidth + 72 + 'px ');
_Divwrapright.css ('left', outsidewidth_tmp + 6 + 72 + 'px ');
}
Else {
_Ulwrapdiv.css ('width', outsidewidth + 'px ');
_Divwrapright.css ('left', outsidewidth_tmp + 6 + 'px ');
}
Modified code:
Copy codeThe Code is as follows:
If (ver = 'ie7' | ver = 'ie8' | ver = 'ie9 '){
_Ulwrapdiv.css ('width', outsidewidth + 72 + 'px ');
_Ulwrapdiv.css ('float', 'left'); // This is the added code.
_Divwrapright.css ('left', outsidewidth_tmp + 6 + 72 + 'px ');
}
Figure 1: normal
Figure 2: in my environment
Figure 3: add if (ver = 'ie8') {} (my environment is ie8)
Figure 4: After adding _ulwrapdiv.css ('float', 'left'); //, it can be used in ie7, ie8, and ie9, but there is a little asymmetry.