Data-hover Filter
1 sites
No security coverage
This module adds a text filter that automatically applies a `data-hover` attribute to links, using the link's text as the attribute's value. This is helpful for creating custom CSS effects on links.
Adds a textfilter which adds a data-hover attribute with the value of the link-text to links.
So:
<a href="http://www.drupal.org">Link to Drupal</a>
Becomes:
<a data-hover="Link to Drupal" href="http://www.drupal.org">Link to Drupal</a>
This is useful if you want to make fancy CSS links as seen here for instance.