![]() |
AJAX Pagination with CI Pagination Library - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: AJAX Pagination with CI Pagination Library (/showthread.php?tid=6996) |
AJAX Pagination with CI Pagination Library - El Forum - 03-19-2008 [eluser]Gin2[/eluser] I have modified CI Pagination library into an ajax based pagination. Check here AJAX Pagination with CI Pagination Library - El Forum - 03-19-2008 [eluser]Gin2[/eluser] Check the update. Open Wiki, find 'AJAX Pagination' AJAX Pagination with CI Pagination Library - El Forum - 03-19-2008 [eluser]wiredesignz[/eluser] You might want to throw some [ code ] tags into your submission Gin2, its quite difficult to read without them. AJAX Pagination with CI Pagination Library - El Forum - 03-19-2008 [eluser]Gin2[/eluser] Oooppsss sorryyyy!! It'a done ( with !!! Thanks wireddesignz! AJAX Pagination with CI Pagination Library - El Forum - 03-19-2008 [eluser]Référencement Google[/eluser] It's look like it's missing the informations about witch JS library should be used with your script or I misunderstood something ? Maybe a full real world using DB example should be nice too ? AJAX Pagination with CI Pagination Library - El Forum - 03-19-2008 [eluser]Gin2[/eluser] Can this sample help you? <b>CONTROLLER: my_data_page.php</b> Code: <? class My_data_page extends Controller{ Code: <s\cript type="text/javascript" src="path-to-prototype.js"></s\cript> AJAX Pagination with CI Pagination Library - El Forum - 03-19-2008 [eluser]Référencement Google[/eluser] Yeah that's cool. But for the JS side, what I must do exactly ? Do you have a sample snippet of code using Jquery or Scriptaculous ? (or any other web 2.0 JS lib) AJAX Pagination with CI Pagination Library - El Forum - 03-19-2008 [eluser]Gin2[/eluser] <b>Addition: Initialize my_data_page in your page loader (i.e: my_page_data_loader.php)</b> ---------------------------------------- <b>CONTROLLER: my_data_page_loader.php</b> Code: <? class My_data_page_loader extends Controller{ Code: <s\cript type="text/javascript" src="path/to/prototype.js"></s\cript> AJAX Pagination with CI Pagination Library - El Forum - 03-19-2008 [eluser]Gin2[/eluser] before and after 'new Ajax.Updater ....' please insert javas\cript opening and closing tag; AJAX Pagination with CI Pagination Library - El Forum - 03-19-2008 [eluser]Gin2[/eluser] bye for now, it's morning in Indonesia. And, i have to sleep.. :-P |