Closed TuQmano closed 4 years ago
Hmmm, at first glance this looks okay, that onclick is expected. Can you share the source code for that slide?
Of course!
YAML
---
output:
xaringan::moon_reader:
seal: false
css: xaringan-themer.css
lib_dir: libs
nature:
countdown: 60000
highlightStyle: github
highlightLines: true
countIncrementalSlides: false
---
layout:true
```{r setup, include=FALSE}
options(htmltools.dir.version = FALSE)
knitr::opts_chunk$set(collapse = TRUE,
fig.retina = 3,
ccache = TRUE,
warning = FALSE,
message = FALSE)
xaringanExtra::use_xaringan_extra(include = c("panelset", "tile_view", "webcam"))
xaringanExtra::use_logo("https://raw.githubusercontent.com/electorArg/polAr/master/hex/hex-polAr.png", width = "100px")
Slide CODE
#### Juan Pablo Ruiz Nicolini | **@TuQmano**
### Análisis de Datos Políicos de Argentina
### DISCURSOS
.panelset[
.panel[.panel-name[Visualizar]
.pull-left[
library(polAr)
get_speech(year = 1946) %>%
plot_speech()
]
.pull-right[
``{r word_cloud, echo=F}
knitr::include_graphics(path = "polar_slides_files/img-manual/peron_1946.png")
``
]]
.panel[.panel-name[Explorar]
``{r}
polAr::show_available_speech()
``
]
]
I think that my problem is in how the tabs links/urls are build. If I right-click with the mouse and copy it, it´s structure is similar to the documentation example, but it doesn´t redirect to the expected content.
file:///C:/Users/Documents/latinr2020/slides/polAr/polar_slides.html?panelset=explorar#panelset_explorar
Turns out the real culprit was the logo. I made a small change and now use_logo()
should play nicely with other extensions. Let me know if it gives you any trouble!
working nicely, thanks!
Hi,
First of all, thanks for the quick fix yesterday in #54 !
I am trying to build .panelset[] workflow and having problems with it. I started from examples structure and it shows in slides as it is fine. But can't get to render tab content but 1st one. This is how it looks, and an HTML inspect elements. It seems to me that I have something wrong with the onclick.
In this case, I cant get de Explorar tab content. Only displaying the default(?) Visualizar one:
This is my session info:
Thanks for this great pkg!!!