CodeIgniter Forums
pagination link & tabs - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: pagination link & tabs (/showthread.php?tid=43759)



pagination link & tabs - El Forum - 07-22-2011

[eluser]Hoopoe[/eluser]
hello

Apologies in advance first of all because I've asked about this problem before though this is a more developed question because I've resolved some of the issues that had been bothering me.

This link - nested-pagination - show jquery tabbing with sub-tabs or nested tabs.

I've tried to paginate the subtabs, and to some extent have made progress.

Annoyingly, but as anticipated, clicking the pagination links relating to the subtabs takes the user back to square one - the default tab. The pagination base_url is ok, and processing of passed uri_segments also.

I think I need some jquery that'll ensure that clicking the pagination links assigns the right tab to the CSS class 'ui-tabs-selected'.

Is this the right diagnosis ? And could anyone offer any clues regards the jquery function that is necessary ?

I feel I could work out the jquery function unaided, by the normal method of fiddling at length. My biggest need is to know whether my surmise about the solution to my problem is correct. I don't want to spend hours doing the wrong thing.

Hoopoe