make a row clickable
-
Hi,
I use a table more than 120 rows, and some of them need to be clickable.
for that purpose I have used the code js given by Tobias<script type="text/javascript"> jQuery(document).ready(function($){ $('.tablepress-id-1').on( 'click', 'tr', function() { var $a = $(this).find('a').last(); if ( $a.length ) window.location = $a.attr('href'); } ); }); </script>
The code works perfectly well, and rows containing a link are clickable. Is it possible to assign a particular color to all the rows with a link and turn the cursor into a pointer for these rows?
The site is under construction I can give you adress and login data in private?…
Thanks in advance
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘make a row clickable’ is closed to new replies.