I have the following code in the footer to a view:
(function ($ ) { $ (“document”).ready(function() { $ (“table”).attr(“id”,”myTable”); $ (‘#myTable’).tablenav(); }); })(jQuery);
tablenav(), incidentally, is a simple rewrite of esteinborn’s excellent listnav. This works just fine. Below is an image of part of the Views Preview, and in the Preview the navigation tool works just fine.
The problem is that the navigation tool does not show up in the view itself. Inspection of the HTML shows that this is not just a case of visibility: the content that is available in Views Preview is simply not in the View itself. Stats:
Drupal: 7.64 Views: 7.x-3.21 jQuery 1.10.2