This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
en:create:popup [01.02.2015 19:46] – alexander.ritter | en:create:popup [07.09.2017 17:15] – [Hover over a Word Instead of Pressing a Button] autsch | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Click to Show Information ====== | ====== Click to Show Information ====== | ||
- | Sometimes it helps if the participant can access additional information ((a short piece of text like this one here)) if needed. | + | Sometimes it helps if the participant can access additional information((a short piece of text like this one here)) if needed. |
**Tip:** More detailed information can also be opened in a separate pop-up window by using '' | **Tip:** More detailed information can also be opened in a separate pop-up window by using '' | ||
Line 120: | Line 120: | ||
==== Hover over a Word Instead of Pressing a Button | ==== Hover over a Word Instead of Pressing a Button | ||
- | By slightly modifying this you can get rid of having to click, and therefore info box will be displayed when the user moves over a word: | + | By slightly modifying this you can get rid of having to click, and therefore |
<code html> | <code html> | ||
Line 269: | Line 269: | ||
</ | </ | ||
</ | </ | ||
+ | |||
+ | |||
+ | ==== Enlarge an Image ==== | ||
+ | |||
+ | Using an image as button, and a larger version of the image as " | ||
+ | |||
+ | <code html> | ||
+ | <div style=" | ||
+ | <img src=" | ||
+ | </ | ||
+ | <img src=" | ||
+ | |||
+ | <script type=" | ||
+ | <!-- | ||
+ | var info = new infoButton(); | ||
+ | info.registerInfo(" | ||
+ | //--> | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | There is no distinct close button in the example, above -- the larger version itself may be clicked to close the zoom. | ||