jquery Paging Plugin jpaginate incompatible problem in IE _jquery

Source: Internet
Author: User
The next page plug-in used, the online download down the demo in each IE version of a little different, but still can be used.

However, it is not displayed correctly on my page. It may be because div nesting is excessive or position positioning.

I changed the bottom of the basic code can be ie7,ie8,ie9 normal display. The following is part of the source code. It's hard to find a problem with someone else's stuff. The key is that IE AH.
Copy Code code 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 Code code 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 I: Normal

Figure II: In my environment

Figure Three: Add if (ver = = ' IE8 ') {} (my environment is IE8)

Figure IV: Plus _ULWRAPDIV.CSS (' float ', ' left '); After the test in IE7,IE8,IE9 can be, just a little asymmetry.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.