Question: (Closed) About shiny HTML issues
0
gravatar for 153348734
6 weeks ago by
1533487340
1533487340 wrote:

Dear everyone: I have a question about the html in shiny, when the protein not found, the protein area is grey. How can I eliminate it that the boxes below can be arranged upwards. thanks!

      fluidRow(
        column(4, downloadButton("sequence.txt", "Download Sequence", style = "width:100%;", class = "buttDown")),
        column(4,downloadButton("genesequence.txt", "Download Gene Sequence", style = "width:100%;", class = "buttDown")),
        column(4,downloadButton("genesinfo.txt", "Download Gene Information", style = "width:100%;", class = "buttDown"))
      ),

      textOutput("seq_title"),
      verbatimTextOutput("seq"),
      tags$head(tags$style("#seq_title{color: red;
                                   font-size: 22px;
                                   font-style: bold;
                                  }"
      ),
      tags$style("#seq{
                 width = 100%;
                 padding: 6px 12px;
                 white-space: pre-wrap;
                height: 300px;
      }")
      ),
      textOutput("cds_title"),
      verbatimTextOutput("cds"),
      tags$head(tags$style("#cds_title{color: red;
                                   font-size: 22px;
                                   font-style: bold;
                                  }"
      ),
      tags$style("#cds{
                 width = 100%;
                 padding: 6px 12px;
                 white-space: pre-wrap;
                height: 300px;
      }")
      ),
      textOutput("pro_title"),
      verbatimTextOutput("pro"),
      tags$head(tags$style("#pro_title{color: red;
                                   font-size: 22px;
                                   font-style: bold;
                                  }"
      ),
      tags$style("#pro{
                 width = 100%;
                 padding: 6px 12px;
                 white-space: pre-wrap;
                 height: 300px;
                 noshade:noshade;
      }")
      ),
      DT::dataTableOutput("geneinfo"),

      textOutput("genetitle"),
      verbatimTextOutput("searchgenesequence"),
      tags$head(tags$style("#genetitle{color: red;
                                   font-size: 22px;
                                   font-style: bold;
                                  }"
      ),
      tags$style("#searchgenesequence{
                 width = 100%;
                 padding: 6px 12px;
                 white-space: pre-wrap;
                height: 300px;
      }")
      )
R • 92 views
ADD COMMENTlink written 6 weeks ago by 1533487340

Sorry, but this is just not enough information. Furthermore, I think, it is more helpful to post this question on stackoverflow.

ADD REPLYlink written 5 weeks ago by e.rempel1000

Thank you, I have a post in stackoverflow, https://stackoverflow.com/questions/65770117/how-do-i-control-in-shiny-that-the-html-background-does-not-show-when-no-output. Thank you for reading my post.

ADD REPLYlink written 5 weeks ago by 1533487340

Hello 153348734!

We believe that this post does not fit the main topic of this site.

Indeed better suited for StackExchange.

For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.

If you disagree please tell us why in a reply below, we'll be happy to talk about it.

Cheers!

ADD REPLYlink written 5 weeks ago by ATpoint46k
Please log in to add an answer.
The thread is closed. No new answers may be added.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 2250 users visited in the last hour
_