Skip to content

Commit

Permalink
ChronQC 1.0.2 version changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nilesh-tawari committed Aug 3, 2017
1 parent daee355 commit 38321fb
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions chronqc/templates/base_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,19 @@
.dygraph-rangesel-zoomhandle{
z-index:0 !important;
}

.up_button{
position: fixed;
bottom: 10px;
right: 10px;
text-align: center;
z-index:1;
position: fixed;
display: block;
width: 50px;
height: 50px;
background: url(http://pubs.acs.org/templates/jsp/_style2/_achs/images/toTop.png);
}

@media only screen and (max-width: 1026px) {
.summary {
Expand Down Expand Up @@ -342,6 +355,8 @@

$htmltemplates

<a href="#g1" id = "upbutton" class="up_button" title="Go to top"></a>

</div>

<script type="text/javascript">
Expand Down Expand Up @@ -412,6 +427,11 @@
}
}
}

jQuery('#upbutton').on("click",function(){
jQuery("#titles").scrollTop(0);
});

////////////////////////////////////////////////////////////////////////////////////////

Dygraph.Export.DEFAULT_ATTRS = {
Expand Down

0 comments on commit 38321fb

Please sign in to comment.