Description Usage Arguments Details Value Note References Examples
Generate mousever events for text.
1 | popup(presentation = FALSE, rmd.path = NULL)
|
presentation |
logical. If |
rmd.path |
An optional path to a .Rmd file if
|
popup
adds the css/js scripts necessary to create hight
quality mouseover popup events. The user must become familiar with Nicolas
Honing's popup.js. Currently no
shortcut reports package tag generating function is offered for popups that
utilize popup.js. To view example uses see
https://github.com/trinker/popup_example.
Generates an assets directory with appropriate javascript and css to make mousever popups.
If adding popup.js documents to non-slidify, .Rmd based presentations
the user may have to manually add:
<link rel="stylesheet" href="./assets/css/pop_style.css" />
<script type="text/javascript" src="./assets/js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="./assets/js/nhpup_1.1.js"></script>
to the document.
https://github.com/nhoening/popup.js
1 2 3 4 | ## Not run:
popup()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.