I am getting my title in the browsers tab to be named the following:
<div> <img src="pd_logo.jpg" align="left"/> Model </div>
It is caused by the following code
shinyUI(navbarPage(title=(div(img(src="logo.jpg", align = "left"),
" Model")), fluid = TRUE, ... ))
How to have a normal name in the browsers tab instead?
Thank you in advance.
We can use the windowTitle variable in navbarPage along with little raw HTML
shinyUI(navbarPage(title=(div(img(src="logo.jpg", align = "left"),
" Model")),
,windowTitle = HTML("<title>Model</title> <link rel='icon' type='image/gif/png' href='logo.jpg'>")
fluid = TRUE, ... ))
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With