tabPanel(id = "mytab_vis", value = "mytab_vis",
h1("Visit"),
useShinyjs(),
extendShinyjs(text = jscode,functions =c("disableTab","enableTab")),
tags$style(type="text/css",".nav li a.disabled { background-color: #aaa !important;color: #333 !important;cursor: not-allowed !important;border-color: #aaa !important;}"),
uiOutput("pagevisit")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.