Is there a way to hide one letter and display another in a link, with a different style on hover? For example:
This is a...
...regular link.
And this is a...
...hovered link.
Any ideas on how to make this happen? Thank you.
Edit: Just to clarify — I'm looking to change specific letters (i ➛ î, e ➛ ê) and apply a style change on hover, without altering the entire link structure.
The code snippet shared by the individual who asked this question
$('.class').hover(function()
{
$(this).data('i', $(this).text());
$(this).text("î");
},
function()
{
$(this).text($(this).data('i'));
}
);
It almost provided the solution. However, it currently changes the entire link rather than just the letters.