I've successfully managed to integrate the j and k keys from the open-source paging keys into my forum:
http://github.com/hiddenloop/paging_keys_js/
I'm struggling to figure out how to do the pagination.
The provided example is:
Code:
<p><div class="pagination"><span class="current">1</span><a href="example_page_2.html" rel="next">2</a> <a href="example_page_3.html">3</a> <a href="example_page_4.html">4</a> <a href="example_page_2.html" class="next_page" rel="next">Next »</a></div></p>
In vBulletin, the pagination is done via:
Code:
<if condition="$show['pagenav']"><td align="$stylevar[right]">$pagenav</td></if>
The single "$pagenav" variable writes out the whole little table.
Is there a way to get the pages separately so that the script can properly page with the h and l keys (or using j and k across the boundary)?