I have a cell in the table with inner div:
<td class="source">
<div class="overflow">
<a href...>...</a>
</div>
</td>
Initially I want to have:
td .overflow {
overflow: hidden;
text-overflow: ellipsis;
}
then in javascript mouseenter handler for the element:
$(this).parents('td').css('overflow', 'visible').css('text-overflow', 'visible')
but it doesn't work! nothing happens on hover... why? When I reverse the code and make the overflow visible at the start then hover does hide it .
thank you
$(this)in your code? What, and where, are the constraints on the size of thediv/tdthat results in it/their having an overflow?table's code too, not only thetd.