wordstyles
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Add Links to Table Rows on HoverThanks for the help. The reason for the new window target was to link to outside sites. No worries, appreciate the support!
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Add Links to Table Rows on HoverYes!
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
In reply to: [TablePress - Tables in WordPress made easy] Add Links to Table Rows on HoverHi
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 3etc.
Does that make sense?
Thanks!
Viewing 3 replies - 1 through 3 (of 3 total)