R闪亮的目标网页

时间:2020-07-04 22:23:40

标签: r shiny shinydashboard shinyapps shinyjs

我是Shiny的新手,正在尝试运行下面链接的示例应用程序。

https://shiny.rstudio.com/gallery/career-pathfinder.html

https://github.com/georgemirandajr/career-pathfinder

但是我在登录页面上看到一个巨大的黑匣子-这是故意的吗? 如果不是,那么此登录页面的相关部分在代码中的什么位置?

谢谢!

1 个答案:

答案 0 :(得分:0)

app似乎可以正常工作,但是它会为背景下载一个很大的图像。

只要尚未下载背景图片,标题“ CAREER PATHFINDER”在黑色背景上就是黑色的,因此您看不到它,但是如果保持鼠标单击,请移动黑框并移动鼠标(如进行选择),您会看到标题出现。

代码为here

背景图片由用户界面的以下部分调用:

fluidRow(
    HTML(
        "
        <section class='banner'>
        <h2 class='parallax'>CAREER PATHFINDER</h2>
        <p class='parallax_description'>A career path pinpoints your next job, the job
        after that, and beyond.</p>
        </section>
        "
    )
)

与之关联的css/www/paper.css,它调用:

background-image: url('https://static.pexels.com/photos/297755/pexels-photo-297755.jpeg');

对于parallax部分