Qiuxinyuan12 (Talk | contribs) |
Qiuxinyuan12 (Talk | contribs) |
||
Line 69: | Line 69: | ||
<meta name="HandheldFriendly" content="True" /> | <meta name="HandheldFriendly" content="True" /> | ||
<meta name="MobileOptimized" content="320" /> | <meta name="MobileOptimized" content="320" /> | ||
− | + | <meta name="viewport" content="width=device-width, initial-scale=1.0",minimum-scale=0.2, maximum-scale=2.0, user-scalable=yes" /> | |
<meta content="on" http-equiv="cleartype" /> | <meta content="on" http-equiv="cleartype" /> | ||
<meta property="og:title" content="Home" /> | <meta property="og:title" content="Home" /> | ||
Line 88: | Line 88: | ||
<div class="inner-wrap"> | <div class="inner-wrap"> | ||
<!-- Off Canvas Menu --> | <!-- Off Canvas Menu --> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<!-- close the off-canvas menu --> | <!-- close the off-canvas menu --> | ||
<a class="exit-off-canvas"></a> | <a class="exit-off-canvas"></a> | ||
Line 152: | Line 115: | ||
<a class="nav-global__link" title="" href="#">AWARDS</a></li> | <a class="nav-global__link" title="" href="#">AWARDS</a></li> | ||
</ul> | </ul> | ||
− | <style>#menu06{width:200px;right:0px;} #menu07{width:200px;right:0px;} | + | <style> |
+ | .content{ | ||
+ | box-shadow: 6px 6px 3px #888888; | ||
+ | } | ||
+ | #menu06{width:200px;right:0px;} #menu07{width:200px;right:0px;} | ||
#menu01 .arrow-up{margin-right:6.429rem;} | #menu01 .arrow-up{margin-right:6.429rem;} | ||
#menu02 .arrow-up{margin-right:90px;} #menu03 .arrow-up{margin-right:90px;} #menu06 .arrow-up{margin-right:120px;} #menu07 .arrow-up{margin-right:27px;} #menu01{width:200px;right:31rem;} #menu02{width:200px;right:27rem;} #menu03{width:200px;right:21.3rem;} | #menu02 .arrow-up{margin-right:90px;} #menu03 .arrow-up{margin-right:90px;} #menu06 .arrow-up{margin-right:120px;} #menu07 .arrow-up{margin-right:27px;} #menu01{width:200px;right:31rem;} #menu02{width:200px;right:27rem;} #menu03{width:200px;right:21.3rem;} | ||
Line 322: | Line 289: | ||
</div> | </div> | ||
</nav> | </nav> | ||
− | <style>.nav-global ul li a{ font-size:0.85rem; } @media screen and (max-width: 865px) { .nav-global ul li a{ font-size:0.85rem; } }</style> | + | <style>.nav-global ul li a{ font-size:0.85rem; } @media screen and (max-width: 865px) { .nav-global ul li a{ font-size:0.85rem; } } |
+ | |||
+ | #feature{ | ||
+ | background-size:100%; | ||
+ | } | ||
+ | @media screen and (max-width: 1200px) { | ||
+ | #feature{ | ||
+ | background-size:1200px; | ||
+ | } | ||
+ | } | ||
+ | </style> | ||
<div class="breadcrumb-share-wrap"> | <div class="breadcrumb-share-wrap"> | ||
Line 335: | Line 312: | ||
<!-- end .row --></div> | <!-- end .row --></div> | ||
<!-- end #header-outer-wrap--> | <!-- end #header-outer-wrap--> | ||
− | <div id="feature" class="row collapse text-light feature-footer-active"> | + | <div id="feature" class="row collapse text-light feature-footer-active" style="background-color: rgb(3,13,38);background-image:url(https://static.igem.org/mediawiki/2016/thumb/3/3f/NUDT_CHINA2016_FILES-img-banner-3.0.png/800px-NUDT_CHINA2016_FILES-img-banner-3.0.png);background-position:0px -350px;background-repeat:no-repeat;"> |
<div class="inner-wrap medium-24 columns"> | <div class="inner-wrap medium-24 columns"> | ||
<!--TYPO3SEARCH_begin--> | <!--TYPO3SEARCH_begin--> | ||
Line 341: | Line 318: | ||
<div class="carousel " id="slideshow-4811" data-cycle-log="false" data-cycle-auto-height="calc" data-cycle-prev="#prev-4811" data-cycle-next="#next-4811" data-cycle-pager="#cycle-pager-4811" data-cycle-easing="easeInOutQuad" data-cycle-fx="scrollVertUp" data-cycle-center-horz="true" data-cycle-speed="1000" data-cycle-timeout="8000" data-cycle-paused="true" data-cycle-slides="> div.slide"> | <div class="carousel " id="slideshow-4811" data-cycle-log="false" data-cycle-auto-height="calc" data-cycle-prev="#prev-4811" data-cycle-next="#next-4811" data-cycle-pager="#cycle-pager-4811" data-cycle-easing="easeInOutQuad" data-cycle-fx="scrollVertUp" data-cycle-center-horz="true" data-cycle-speed="1000" data-cycle-timeout="8000" data-cycle-paused="true" data-cycle-slides="> div.slide"> | ||
<div class="slide first"> | <div class="slide first"> | ||
− | <link rel="stylesheet" href="/Team | + | <link rel="stylesheet" href="/Team--NUDT_CHINA/CSS3.css" /> |
<!-- Quick initialize with theme color from first slide --> | <!-- Quick initialize with theme color from first slide --> | ||
<div class="row collapse " id="c6601" data-theme-class="bh-color__theme-c6601"> | <div class="row collapse " id="c6601" data-theme-class="bh-color__theme-c6601"> | ||
<div class="columns"> | <div class="columns"> | ||
− | <section class="big-header bh__height-size-3 text-light bh__video"> | + | <section class="big-header bh__height-size-3 text-light bh__video" style="height:300px;"> |
− | <div class="bh__background bh__background-color | + | <div class="bh__background bh__background-color "></div> |
− | <div class="bh__content-wrap"> | + | <div class="bh__content-wrap" style="height:120px;"> |
<div class="bh__content "> | <div class="bh__content "> | ||
<div class="bh__content-inner-wrap"> | <div class="bh__content-inner-wrap"> | ||
<!--h3 class="bh__subtitle"><a href="http#/explore/whats-here/exhibits/brick-by-brick/"><span class="line-wrap"><span class="line"><span class="bh__info">Exhibit / </span>Brick by Brick</span></span></a></h3--> | <!--h3 class="bh__subtitle"><a href="http#/explore/whats-here/exhibits/brick-by-brick/"><span class="line-wrap"><span class="line"><span class="bh__info">Exhibit / </span>Brick by Brick</span></span></a></h3--> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<h2 style="font-size:36px;" class="bh__title "> | <h2 style="font-size:36px;" class="bh__title "> | ||
<!--<a href="#">--> | <!--<a href="#">--> | ||
− | + | <span style="line-height:46px;" class="line-wrap"> | |
− | + | <span style="line-height:46px;" class="line">Development of A Novel</span></span> | |
− | + | <span style="line-height:46px;" class="line-wrap"> | |
− | + | <span style="line-height:46px;" class="line">Blood-MicroRNA Rapid Detection System with CRISPR</span></span> | |
− | <!--</a>--> | + | <!--</a>--></h2> |
− | + | ||
</div> | </div> | ||
</div> | </div> | ||
Line 378: | Line 345: | ||
<div class="cycle-pager" id="cycle-pager-4811"></div> | <div class="cycle-pager" id="cycle-pager-4811"></div> | ||
</div> | </div> | ||
− | + | </div> | |
− | + | </div> | |
<!-- end #feature --> | <!-- end #feature --> | ||
<!-- end .columns --></div> | <!-- end .columns --></div> | ||
− | <div style="margin-top: | + | <div style="margin-top:20px;" id="content-wrap-ink"><!-- adjust in add_JS --> |
− | <div class="row footer-link" style=""> | + | <div class="row footer-link" style=""> |
+ | <div style="text-align:right;"><h5> | ||
+ | <a style="color:rgb(10,31,84);" href="/Team:NUDT_CHINA">HomePage</a> • | ||
+ | <!-- 修改这里!! -->PROJECT • | ||
+ | <a style="color:rgb(10,31,84);" href="/Team:NUDT_CHINA/Demonstrate"><!-- 修改这里!! -->Demonstrations</a> | ||
+ | </h5><hr style="width:40%;margin-left:60%;border-top:1px solid rgb(10,31,84);" /></div> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
Line 392: | Line 376: | ||
− | |||
− | |||
− | |||
− | |||
<h2> | <h2> | ||
Line 429: | Line 409: | ||
<span style="line-height:2;font-family:Perpetua;font-size:18px;"> </span> | <span style="line-height:2;font-family:Perpetua;font-size:18px;"> </span> | ||
</p> | </p> | ||
− | < | + | |
− | <b><span style="line-height:2;font-family:Perpetua;font-size:18px;"> | + | |
+ | </br> | ||
+ | </html> | ||
+ | [[File:T--NUDT_CHINA--resultfig3.jpg|700px|center]] | ||
+ | <html> | ||
+ | </br> | ||
+ | <p> | ||
+ | <b><span style="line-height:2;font-family:Perpetua;font-size:18px;">Figure 1. Evaluation of the sensitivity and specificity of RCA reactions initiated by serum-dissolved miRNAs by Sybr I fluorescent assay.</span></b> | ||
</p> | </p> | ||
+ | <p> | ||
+ | <span style="line-height:2;font-family:Perpetua;font-size:16px;">((A) Schematic representation of the Sybr I fluorescent assay for RCA reactions for the RCA reaction initiated by serum-dissolved miRNAs. (B) Real-time fluorescent measurements for RCA process, carried out at 10fM, 1pM, 100 pM, and 10nM of let-7a. The results on 120-min time point was labeled as such time duration was used for following experiments. (C) Plot of fluorescent intensity variation against let-7a concentration. (D) Plot of fluorescent intensity variation against negative logarithm of let-7a concentration. (E) Determination of the specificity of RCA reaction initiated by collaboration of designed probe and let-7a, let-7c (single-mismatch), let-7f (single-mismatch) or let-7g (double-mismatch). The bases marked red in the sequences of tested miRNAs displayed below are mismatched bases against let-7a. The concentration used in such assay was 10nM. MiRNAs were dissolved and diluted into various concentrations in 7% human serum, which was the mixture of serum samples from 50 healthy volunteers. The excitation wavelength was 495nm, the emission wavelength was 515nm. Fluorescence intensity variation was calculated by subtracting the fluorescent intensity of the blank group. For the calculation of relative fluorescence intensity variation, the let-7a group was set arbitrarily at 1.0, and the levels of the other groups were adjusted correspondingly. All these experiments were run in three parallel reactions, and the error bars were obtained from at least three independent experiments. The squared correlation coefficient (R2) was analyzed by Graphpad Prism 6.0. ** p<0.01. </span> | ||
+ | </p> | ||
+ | </br> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
<p> | <p> | ||
<span style="line-height:2;font-family:Perpetua;font-size:18px;"> </span> | <span style="line-height:2;font-family:Perpetua;font-size:18px;"> </span> | ||
Line 437: | Line 433: | ||
<p style="text-indent:21pt;"> | <p style="text-indent:21pt;"> | ||
<span style="line-height:2;font-family:Perpetua;font-size:18px;">Subsequently, RCA outputs were then used for dCas9 binding and | <span style="line-height:2;font-family:Perpetua;font-size:18px;">Subsequently, RCA outputs were then used for dCas9 binding and | ||
− | down-stream HRP activity analysis (Figure | + | down-stream HRP activity analysis (Figure 2). Through which, the preciously-determined |
− | protein concentration was further validated and a basic demonstration of our | + | protein concentration was further validated and a basic demonstration on the specificity and sensitivity of our |
− | project was presented (Figure | + | project was presented (Figure 2A and B).</span> |
</p> | </p> | ||
<p> | <p> | ||
<span style="line-height:2;font-family:Perpetua;font-size:18px;"> </span> | <span style="line-height:2;font-family:Perpetua;font-size:18px;"> </span> | ||
</p> | </p> | ||
− | < | + | |
− | <b><span style="line-height:2;font-family:Perpetua;font-size:18px;"> | + | |
+ | |||
+ | |||
+ | </br> | ||
+ | </html> | ||
+ | [[File:T--NUDT_CHINA--resultfig7.jpg|700px|center]] | ||
+ | <html> | ||
+ | </br> | ||
+ | <p> | ||
+ | <b><span style="line-height:2;font-family:Perpetua;font-size:18px;">Figure 2. HRP activity assay evaluating the sensitivity and specificity of the visualization process of RCA-output signal amplified from 7% serum dissolved miRNAs.</span></b> | ||
</p> | </p> | ||
+ | <p> | ||
+ | <span style="line-height:2;font-family:Perpetua;font-size:16px;">(A) Plots of OD450 against different concentration of initial input let-7a. In such assay, 0.16M sulfuric acid was added into the reaction solution to stop the reaction and forming productions with the maximum absorbance on 450nm. Images showed below was the visualized output signal of different concentration of initial input let-7a respectively before adding the stop solution. (B) Determination of the specificity of the whole workflow under different serum dissolved miRNAs of let-7a, let-7c (single-mismatch), let-7f (single-mismatch) or let-7g (double-mismatch). Images showed below was the visualized output signal of different initial input miRNA respectively before adding the stop solution. The 7% human serum used in the experiment was the mixture of serum samples from 50 healthy volunteers. All these experiments were run in three parallel reactions, and the error bars were obtained from at least three independent experiments. ** p<0.01.</span> | ||
+ | </p> | ||
+ | </br> | ||
+ | |||
+ | |||
+ | |||
<p> | <p> | ||
<span style="line-height:2;font-family:Perpetua;font-size:18px;"> </span> | <span style="line-height:2;font-family:Perpetua;font-size:18px;"> </span> | ||
Line 466: | Line 478: | ||
healthy people, and the latter is more convenient and effective (Figure 3B). | healthy people, and the latter is more convenient and effective (Figure 3B). | ||
Which then, made the low-cost, high efficient RNA extraction possible for | Which then, made the low-cost, high efficient RNA extraction possible for | ||
− | field-ready detection of miRNAs in serum sample. | + | field-ready detection of miRNAs in serum sample (Figure 3C). We then expanded our sample numbers into 20 (10 healthy people and 10 NSCLC patients). Results showed a visiable color difference between NSCLC group and healthy group (Figure 3D), further analysis indicated that the serum let-7a concentration determined by our method in NSCLC patients was abourt 21% lower than healthy people. Such result corroborated to the previous literature reported 20%-60% decrease |
− | + | measured through qRT-PCR(Figure 3D and E)</span><sup><span style="line-height:2;font-family:Perpetua;font-size:18px;">1</span></sup><span style="line-height:2;font-family:Perpetua;font-size:18px;">.</span> | |
− | method was corroborated to the previous literature reported 20%-60% decrease | + | |
− | measured through qRT-PCR</span><sup><span style="line-height:2;font-family:Perpetua;font-size:18px;">1</span></sup><span style="line-height:2;font-family:Perpetua;font-size:18px;">.</span> | + | |
</p> | </p> | ||
<p style="text-indent:21pt;"> | <p style="text-indent:21pt;"> | ||
<span style="line-height:2;font-family:Perpetua;font-size:18px;"> </span> | <span style="line-height:2;font-family:Perpetua;font-size:18px;"> </span> | ||
</p> | </p> | ||
− | < | + | |
− | <b><span style="line-height:2;font-family:Perpetua;font-size:18px;"> | + | |
+ | |||
+ | |||
+ | </br> | ||
+ | </html> | ||
+ | [[File:T--NUDT_CHINA--resultfig8.jpg|700px|center]] | ||
+ | <html> | ||
+ | </br> | ||
+ | <p> | ||
+ | <b><span style="line-height:2;font-family:Perpetua;font-size:18px;">Figure 3. Detection workflow validation with samples from NSCLC patients.</span></b> | ||
</p> | </p> | ||
+ | <p> | ||
+ | <span style="line-height:2;font-family:Perpetua;font-size:16px;">(A) Schematic representation of the pre-treatment process. (B) Sybr I fluorescent assay for RCA products amplified from serum samples with different pre-treatment process. Serum samples were collected from healthy volunteers and phase III, IV and V NSCLC patients. (C) Schematic representation of the complete visible detection process from serum sample. (D) Images showed the visualized signal output from samples collected in healthy people and NSCLC patients. (E) Plots of OD450 obtained through the complete detection workflow on samples of 10 healthy volunteers and 10 NSCLC patients. A stop solution containing 0.16M sulfuric acid was added so that the results could be quantified using OD450. All these experiments were run in three parallel reactions. * p<0.05.</span> | ||
+ | </p> | ||
+ | </br> | ||
+ | |||
+ | |||
+ | |||
<p align="center" style="text-align:center;"> | <p align="center" style="text-align:center;"> | ||
<b><span style="line-height:2;font-family:Perpetua;font-size:18px;"><br /> | <b><span style="line-height:2;font-family:Perpetua;font-size:18px;"><br /> | ||
Line 506: | Line 532: | ||
</p> | </p> | ||
</br></br></br></br> | </br></br></br></br> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
Line 517: | Line 561: | ||
</div> | </div> | ||
<!-- end #content-wrap --> | <!-- end #content-wrap --> | ||
− | + | <div style="border:solid 1px rgb(10,31,84);background-color:rgb(10,31,84);"> | |
− | + | <div class="row footer-link" style="border:solid 0px red;margin-top:100px;"> | |
− | + | <style>.menu-link-container ul li{ list-style:none; } .menu-link-container a{ color:white; font-size:14px;line-height:26px; } | |
− | + | .menu-link-container a:hover{ | |
− | + | text-decoration:underline; | |
− | + | } #c_menu9909 .medium-6{ text-align:center; width:auto; border:solid 0px red; } #c_menu9909 .medium-6 h5{color:white;}#c_menu9909 .medium-6{height:315px;border:solid 0px red;}</style> | |
− | + | <div id="c_menu9909"> | |
− | + | <!--div class="medium-6 columns" style="width:auto;"> | |
− | + | <h5 class="column-header">HOME</h5> | |
− | + | <div class="menu-link-container"></div></div--> | |
− | + | <div class="medium-6 columns" style="width:auto;"> | |
− | + | <h5 class="column-header">TEAM</h5> | |
− | + | <div class="menu-link-container"> | |
− | + | ||
− | + | ||
− | + | <a href="/Team:NUDT_CHINA/Team">Team</a><br/> | |
− | + | ||
− | + | <a href="/Team:NUDT_CHINA/Collaborations">Collaborations</a><br/> | |
− | + | ||
− | + | </div> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
</div> | </div> | ||
+ | <div class="medium-6 columns" style="width:auto;"> | ||
+ | <h5 class="column-header">PROJECT</h5> | ||
+ | <div class="menu-link-container"> | ||
+ | |||
+ | |||
+ | <a href="/Team:NUDT_CHINA/Description">Description</a><br/> | ||
+ | |||
+ | <a href="/Team:NUDT_CHINA/Design">Design</a><br/> | ||
+ | |||
+ | <a href="/Team:NUDT_CHINA/Experiments">Experiments</a><br/> | ||
+ | |||
+ | <a href="/Team:NUDT_CHINA/Proof">Proof of Concept</a><br/> | ||
+ | |||
+ | <a href="/Team:NUDT_CHINA/Demonstrate">Demonstrate</a><br/> | ||
+ | |||
+ | <a href="/Team:NUDT_CHINA/Results">Results</a><br/> | ||
+ | |||
+ | <a href="/Team:NUDT_CHINA/Notebook">Notebook</a><br/> | ||
+ | |||
+ | </div> | ||
+ | </div> | ||
+ | <div class="medium-6 columns" style="width:auto;"> | ||
+ | <h5 class="column-header">PARTS</h5> | ||
+ | <div class="menu-link-container"> | ||
+ | |||
+ | |||
+ | <a href="/Team:NUDT_CHINA/Parts">Parts</a><br/> | ||
+ | |||
+ | <a href="/Team:NUDT_CHINA/Basic_Part">Basic Parts</a><br/> | ||
+ | |||
+ | <a href="/Team:NUDT_CHINA/Composite_Part">Composite Parts</a><br/> | ||
+ | |||
+ | <a href="/Team:NUDT_CHINA/Part_Collection">Part Collection</a><br/> | ||
+ | |||
+ | </div> | ||
+ | </div> | ||
+ | <div class="medium-6 columns" style="width:auto;"> | ||
+ | <a href="/Team:NUDT_CHINA/Safety" style="text-decoration:none;"> | ||
+ | <h5 class="column-header">SAFETY</h5></a> | ||
+ | |||
+ | </div> | ||
+ | <div class="medium-6 columns" style="width:auto;"> | ||
+ | <a href="/Team:NUDT_CHINA/Attributions" style="text-decoration:none;"> | ||
+ | <h5 class="column-header">ATTRIBUTIONS</h5></a> | ||
+ | |||
+ | </div> | ||
+ | <!--div class="medium-6 columns" style="width:auto;"> | ||
+ | <A href="/Team:NUDT_CHINA/Attributions" style="text-decoration:none;"><h5 class="column-header">ATTRIBUTIONS</h5></A> | ||
+ | <div class="menu-link-container"></div></div--> | ||
+ | <div class="medium-6 columns" style="width:auto;"> | ||
+ | <h5 class="column-header">HUMAN | ||
+ | <br>PRACTICES</h5> | ||
+ | <div class="menu-link-container"> | ||
+ | |||
+ | |||
+ | <a href="/Team:NUDT_CHINA/Human_Practices">Human Practices</a><br/> | ||
+ | |||
+ | <a href="/Team:NUDT_CHINA/HP/Silver">Silver</a><br/> | ||
+ | |||
+ | <a href="/Team:NUDT_CHINA/HP/Gold">Gold</a><br/> | ||
+ | |||
+ | <a href="/Team:NUDT_CHINA/Integrated_Practices">Integrated Practices</a><br/> | ||
+ | |||
+ | <a href="/Team:NUDT_CHINA/Engagement">Engagement</a><br/> | ||
+ | |||
+ | </div> | ||
+ | </div> | ||
+ | <div class="medium-6 columns" style="width:auto;"> | ||
+ | <h5 class="column-header">AWARDS</h5> | ||
+ | <div class="menu-link-container"> | ||
+ | |||
+ | |||
+ | <a href="/Team:NUDT_CHINA/Model">Model</a><br/> | ||
+ | |||
+ | </div> | ||
+ | </div> | ||
+ | <div class="medium-6 columns" style="width:0px;height:0px;"></div> | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
<footer id="footer"> | <footer id="footer"> | ||
<div class="row footer-link"> | <div class="row footer-link"> | ||
Line 667: | Line 712: | ||
--> | --> | ||
− | + | <!-- to top edit by inksci---> | |
+ | <style> | ||
+ | #to_top{ | ||
+ | position:fixed; | ||
+ | bottom:100px; | ||
+ | right:0px; | ||
+ | width:60px; | ||
+ | height:60px; | ||
+ | font-size:14px; | ||
+ | line-height:60px; | ||
+ | text-align:center; | ||
+ | background-color:black; | ||
+ | color:rgb(246,168,0); | ||
+ | cursor:pointer; | ||
+ | } | ||
+ | </style> | ||
+ | <div onclick="top_it()" id="to_top"> | ||
+ | TOP | ||
+ | </div> | ||
+ | <script type="text/javascript"> | ||
+ | var oTop = document.getElementById("to_top"); | ||
+ | oTop.style.display="none"; | ||
+ | var top_break=false; | ||
+ | /** | ||
+ | * 回到页面顶部 | ||
+ | * @param acceleration 加速度 | ||
+ | * @param time 时间间隔 (毫秒) | ||
+ | **/ | ||
+ | var save_scrolltop=100000000000000; | ||
+ | window.onscroll = function(){ | ||
+ | |||
+ | |||
+ | var scrolltop = document.documentElement.scrollTop || document.body.scrollTop; | ||
+ | if(scrolltop>300){ | ||
+ | oTop.style.display="block"; | ||
+ | }else{ | ||
+ | oTop.style.display="none"; | ||
+ | } | ||
+ | if(scrolltop>save_scrolltop) | ||
+ | { | ||
+ | top_break=true; | ||
+ | } | ||
+ | save_scrolltop=scrolltop; | ||
+ | } | ||
+ | function top_it(){ | ||
+ | top_break=false; | ||
+ | goTop();return false; | ||
+ | } | ||
+ | function goTop(acceleration, time) { | ||
+ | if(top_break){ | ||
+ | return; | ||
+ | } | ||
+ | oTop.style.display="none"; | ||
+ | acceleration = acceleration || 0.1; | ||
+ | time = time || 16; | ||
+ | |||
+ | var x1 = 0; | ||
+ | var y1 = 0; | ||
+ | var x2 = 0; | ||
+ | var y2 = 0; | ||
+ | var x3 = 0; | ||
+ | var y3 = 0; | ||
+ | |||
+ | if (document.documentElement) { | ||
+ | x1 = document.documentElement.scrollLeft || 0; | ||
+ | y1 = document.documentElement.scrollTop || 0; | ||
+ | } | ||
+ | if (document.body) { | ||
+ | x2 = document.body.scrollLeft || 0; | ||
+ | y2 = document.body.scrollTop || 0; | ||
+ | } | ||
+ | var x3 = window.scrollX || 0; | ||
+ | var y3 = window.scrollY || 0; | ||
+ | |||
+ | // 滚动条到页面顶部的水平距离 | ||
+ | var x = Math.max(x1, Math.max(x2, x3)); | ||
+ | // 滚动条到页面顶部的垂直距离 | ||
+ | var y = Math.max(y1, Math.max(y2, y3)); | ||
+ | |||
+ | // 滚动距离 = 目前距离 / 速度, 因为距离原来越小, 速度是大于 1 的数, 所以滚动距离会越来越小 | ||
+ | var speed = 1 + acceleration; | ||
+ | window.scrollTo(Math.floor(x / speed), Math.floor(y / speed)); | ||
+ | |||
+ | // 如果距离不为零, 继续调用迭代本函数 | ||
+ | if(x > 0 || y > 0) { | ||
+ | var invokeFunction = "goTop(" + acceleration + ", " + time + ")"; | ||
+ | window.setTimeout(invokeFunction, time); | ||
+ | } | ||
+ | } | ||
+ | </script> | ||
+ | <!-- to top edit by inksci---> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 16:15, 18 October 2016
TOP