0

Is it possible for tabpanel value in Navbar to be an external link, that opens IN and UNDER the navbar instead of in a new tab, and also replaces my home tab?

ui <- fluidPage(
 navbarPage(
     title = "my navbar", 
     id = "navbar",
     selected = "home", 
     tabPanel("Home", value = "home"), 
     tabPanel("Google", value = "http://www.google.com")), # when clicked, I want the google page to open UNDER my navbar, replacing home.
     home)
Ronak Shah
  • 355,584
  • 18
  • 123
  • 178
juzjackie
  • 11
  • 3
  • Does this answer your question? [embed iframe inside shiny app](https://stackoverflow.com/questions/33020558/embed-iframe-inside-shiny-app) – julien.leroux5 Sep 05 '21 at 20:28

0 Answers0