Countries and AJAX Pagination
Name | Original Name | Iso2 | Iso3 | |
---|---|---|---|---|
![]() |
Bosnia and Herzegovina | Bosna i Hercegovina | BA | BIH |
![]() |
Botswana | Botswana | BW | BWA |
![]() |
Bouvet Island | Bouvetøya | BV | BVT |
![]() |
Brazil | Brasil | BR | BRA |
![]() |
British Indian Ocean Territory | British Indian Ocean Territory | IO | IOT |
![]() |
Virgin Islands (British) | British Virgin Islands | VG | VGB |
![]() |
Burkina Faso | Burkina Faso | BF | BFA |
![]() |
Burundi | Burundi | BI | BDI |
![]() |
Cape Verde | Cabo Verde | CV | CPV |
![]() |
Cameroon | Cameroon | CM | CMR |
![]() |
Canada | Canada | CA | CAN |
![]() |
Bonaire, Sint Eustatius and Saba | Caribisch Nederland | BQ | BES |
![]() |
Cayman Islands | Cayman Islands | KY | CYM |
![]() |
Czech Republic | Česká republika | CZ | CZE |
![]() |
Chile | Chile | CL | CHL |
![]() |
Christmas Island | Christmas Island | CX | CXR |
![]() |
Cocos (Keeling) Islands | Cocos (Keeling) Islands | CC | CCK |
![]() |
Colombia | Colombia | CO | COL |
![]() |
Cook Islands | Cook Islands | CK | COK |
![]() |
Costa Rica | Costa Rica | CR | CRI |
Key Goals for the AJAX Pagination
- Ajaxify all links in the "pagination-container" including pagination and sort links
- As easy as possible
- Fallback without AJAX (and JS) should be fully working
How does it work
You only need- A "pagination-container" div and a separate ctp file of the "common" content for both AJAX and normal view
- A few lines of custom (jQuery) JS on top
- URL needs to be rewritten/updated to be in sync with current page - for a clean user experience