Quantcast
Channel: Twine Forum
Viewing all articles
Browse latest Browse all 3830

can a link do one thing on hover and another thing on click

$
0
0
I am using Sugarcube 1 in Twine 1.4

The following code, defined by CSS, displays a tooltip when hovering over the link text:

<a data-passage="#" class="tooltip"><span style="text-align: left; font-family: arial;">This is the text of the tooltip when it pops up</span>clickMe</a>

When the user clicks (not hovers) on the link "clickMe," I want the click to take the user to an external web page. Is it possible to construct a link so that hover does one thing and click does another?


Viewing all articles
Browse latest Browse all 3830

Latest Images

Trending Articles



Latest Images