Title: wordstyles's Replies | WordPress.org

---

# wordstyles

  [  ](https://wordpress.org/support/users/wordstyles/)

 *   [Profile](https://wordpress.org/support/users/wordstyles/)
 *   [Topics Started](https://wordpress.org/support/users/wordstyles/topics/)
 *   [Replies Created](https://wordpress.org/support/users/wordstyles/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/wordstyles/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/wordstyles/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/wordstyles/engagements/)
 *   [Favorites](https://wordpress.org/support/users/wordstyles/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TablePress - Tables in WordPress made easy] Add Links to Table Rows on Hover](https://wordpress.org/support/topic/add-links-to-table-rows-on-hover/)
 *  Thread Starter [wordstyles](https://wordpress.org/support/users/wordstyles/)
 * (@wordstyles)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/add-links-to-table-rows-on-hover/#post-6444105)
 * Thanks for the help. The reason for the new window target was to link to outside
   sites. No worries, appreciate the support!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TablePress - Tables in WordPress made easy] Add Links to Table Rows on Hover](https://wordpress.org/support/topic/add-links-to-table-rows-on-hover/)
 *  Thread Starter [wordstyles](https://wordpress.org/support/users/wordstyles/)
 * (@wordstyles)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/add-links-to-table-rows-on-hover/#post-6444047)
 * Yes!
 * This code works, but how do I target a new window on the link?
 *     ```
       <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>
       ```
   
 * And one follow-up question.
 * The links are automatically RED in my table per the theme. The row hover is also
   RED, so you can’t see the links when you hover. What custom CSS would I use to
   make the text links turn WHITE on RED hover?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[TablePress - Tables in WordPress made easy] Add Links to Table Rows on Hover](https://wordpress.org/support/topic/add-links-to-table-rows-on-hover/)
 *  Thread Starter [wordstyles](https://wordpress.org/support/users/wordstyles/)
 * (@wordstyles)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/add-links-to-table-rows-on-hover/#post-6444014)
 * Hi
 * For example, I have a table with 5 columns and 10 rows. I have it set for rows
   to change color when you hover over a row. I’d like to assign a link to the entire
   row on hover.
 * ROW 1 = LINK 1
    ROW 2 = LINK 2 ROW 3 = LINK 3
 * etc.
 * Does that make sense?
 * Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)