User Tools

Site Tools


harlowe:mouseover

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

harlowe:mouseover [2017/10/09 20:39] (current)
Line 1: Line 1:
 +**(mouseover:​ // [[harlowe:​HookName|HookName]] or [[harlowe:​String|String]]//​) -> //​[[harlowe:​Changer|Changer]]//​**
  
 +A variation of [[harlowe:​click|(click:​)]] that, instead of showing the hook when the target is clicked, shows it
 +when the mouse pointer merely hovers over it. The target is also styled differently,​ to denote this
 +hovering functionality.
 +
 +=== Rationale: ===
 +
 +[[harlowe:​click|(click:​)]] and [[harlowe:​link|(link:​)]] can be used to create links in your passage that reveal text or, in conjunction with
 +other macros, transform the text in myriad ways. This macro is exactly like [[harlowe:​click|(click:​)]],​ except that instead of
 +making the target a link, it makes the target reveal the hook when the mouse hovers over it. This can convey
 +a mood of fragility and spontaneity in your stories, of text reacting to the merest of interactions.
 +
 +=== Details: ===
 +
 +This macro is subject to the same rules regarding the styling of its targets that [[harlowe:​click|(click:​)]] has, so
 +consult [[harlowe:​click|(click:​)]]'​s details to review them.
 +
 +This macro is not recommended for use in games or stories intended for use on touch devices, as
 +the concept of "​hovering"​ over an element doesn'​t really make sense with that input method.
 +
 +=== See also: ===
 +
 +[[harlowe:​link|(link:​)]],​ [[harlowe:​link-reveal|(link-reveal:​)]],​ [[harlowe:​link-repeat|(link-repeat:​)]],​ [[harlowe:​click|(click:​)]],​ [[harlowe:​mouseout|(mouseout:​)]],​ [[harlowe:​replace|(replace:​)]],​ [[harlowe:​mouseover-replace|(mouseover-replace:​)]],​ [[harlowe:​hover-style|(hover-style:​)]]
harlowe/mouseover.txt ยท Last modified: 2017/10/09 20:39 (external edit)