|
|
Line 12: |
Line 12: |
| <link rel="stylesheet" type="text/css" href="https://2015.igem.org/Template:Peking/CSS/Animate?action=raw&ctype=text/css" media="screen"> | | <link rel="stylesheet" type="text/css" href="https://2015.igem.org/Template:Peking/CSS/Animate?action=raw&ctype=text/css" media="screen"> |
| <link rel="stylesheet" type="text/css" href="https://2015.igem.org/Template:Peking/Blue?action=raw&ctype=text/css " title="blue" media="screen" /> | | <link rel="stylesheet" type="text/css" href="https://2015.igem.org/Template:Peking/Blue?action=raw&ctype=text/css " title="blue" media="screen" /> |
− | <style type="text/css"> | + | <style type="text/css">/*get rid of the annoying iGEM style*/ |
− | /*get rid of the annoying iGEM style*/
| + | #content{padding:0;border:0;width:100%;} |
− | #content{padding:0;border:0;width:100%;}
| + | |
| .firstHeading{visibility:hidden;} | | .firstHeading{visibility:hidden;} |
| h2{border-bottom:none;padding-bottom:.5em;} | | h2{border-bottom:none;padding-bottom:.5em;} |
− | .carousel-control.left, .carousel-control.right {background-image:none;}
| + | .carousel-control.left, .carousel-control.right{background-image: none} |
− | /*universal style*/
| + | /* to style the sidebar*/ |
− | @media (min-width:1024px){
| + | @media (min-width:1024px){ |
− | #sidebar1{position:relative;top:120px;} | + | #sidebar1{position:relative;top:120px;max-width:200px;} |
| #sidebar2{display:none;} | | #sidebar2{display:none;} |
| #nav-top{height:88px;} | | #nav-top{height:88px;} |
Line 27: |
Line 26: |
| #sidebar1{display:none;} | | #sidebar1{display:none;} |
| #sidebar2{display:block;} | | #sidebar2{display:block;} |
− | } | + | } |
| .back-to-top{z-index:9999;} | | .back-to-top{z-index:9999;} |
− | /* to style the collaborations page*/
| + | ul.dropdown{margin-left: 0px; margin-top: 0px;} |
− | p > a{color:#00afd1;}
| + | .classic-title span { |
− | </style>
| + | position: absolute; |
| + | margin-top: -30px; |
| + | border-bottom-color: #00afd1; |
| + | } |
| + | </style> |
| </head> | | </head> |
| | | |
Line 37: |
Line 40: |
| <!-- Container --> | | <!-- Container --> |
| <div id="container"> | | <div id="container"> |
− | <!-- Start Header -->
| + | <!-- Start Header --> |
| <header class="clearfix"> | | <header class="clearfix"> |
| <!-- Start Logo & Naviagtion --> | | <!-- Start Logo & Naviagtion --> |
− | <div class="navbar navbar-default navbar-top">
| + | <div class="navbar navbar-default navbar-top"> |
− | <div class="container">
| + | <div class="container"> |
− | <div class="navbar-header" >
| + | <div class="navbar-header" > |
− | <!-- Stat Toggle Nav Link For Mobiles -->
| + | <!-- Stat Toggle Nav Link For Mobiles --> |
− | <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse" style="margin-top:20px"><i class="fa"><img style="margin-left:0;height:30px;"src="https://static.igem.org/mediawiki/2015/4/45/Peking-Hambergur-1.png" ></i></button>
| + | <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse" style="margin-top:40px"> |
− | <!-- End Toggle Nav Link For Mobiles -->
| + | <i class="fa"><img style="margin-left:0;height:30px;"src="https://static.igem.org/mediawiki/2015/4/45/Peking-Hambergur-1.png" ></i> |
− | <a class="navbar-brand" href="https://2015.igem.org/Team:Peking"><img alt="Peking iGEM 2015" src="https://static.igem.org/mediawiki/2015/8/8b/Peking-header-logo-1.png" title="Peking iGEM 2015 Home" style="height:55px;margin-top:7px"></a>
| + | </button> |
− | </div>
| + | <!-- End Toggle Nav Link For Mobiles --> |
− | <div class="navbar-collapse collapse" style="padding-top:5px;padding-bottom:0">
| + | <a class="navbar-brand" href="https://2015.igem.org/Team:Peking"> |
− | <!-- Start Navigation List -->
| + | <img alt="Peking iGEM 2015" src="https://static.igem.org/mediawiki/2015/8/8b/Peking-header-logo-1.png" style="height:55px;margin-top:7px"> |
− | <ul class="nav navbar-nav navbar-right " style="padding-bottom:15px;height:88px;padding-top:10px">
| + | </a> |
| + | </div> |
| + | <div class="navbar-collapse collapse" style="padding-top:5px;padding-bottom:0"> |
| + | <!-- Start Navigation List --> |
| + | <ul class="nav navbar-nav navbar-right " style="padding-bottom:15px;height:88px;padding-top:10px"> |
| <li> | | <li> |
− | <a class="active" href="https://2015.igem.org/Team:Peking/JudgingCriteria">Achievements</a> | + | <a href="https://2015.igem.org/Team:Peking/JudgingCriteria">Achievements</a> |
| <ul class="dropdown"> | | <ul class="dropdown"> |
| <li><a href="https://2015.igem.org/Team:Peking/JudgingCriteria">Judging Criteria</a> | | <li><a href="https://2015.igem.org/Team:Peking/JudgingCriteria">Judging Criteria</a> |
Line 58: |
Line 65: |
| <li><a href="https://2015.igem.org/Team:Peking/Parts">Parts</a> | | <li><a href="https://2015.igem.org/Team:Peking/Parts">Parts</a> |
| </li> | | </li> |
− | <li><a class="active" href="https://2015.igem.org/Team:Peking/Collaborations">Collaborations</a> | + | <li><a href="https://2015.igem.org/Team:Peking/Collaborations">Collaborations</a> |
| </li> | | </li> |
| </ul> | | </ul> |
| </li> | | </li> |
| <li> | | <li> |
− | <a href="https://2015.igem.org/Team:Peking/Design">Project</a> | + | <a class="active" href="https://2015.igem.org/Team:Peking/Design">Project</a> |
| <ul class="dropdown"> | | <ul class="dropdown"> |
| <li><a href="https://2015.igem.org/Team:Peking/Design">Overview</a> | | <li><a href="https://2015.igem.org/Team:Peking/Design">Overview</a> |
Line 73: |
Line 80: |
| <li><a href="https://2015.igem.org/Team:Peking/Design/Array">Array-based diagnosis</a> | | <li><a href="https://2015.igem.org/Team:Peking/Design/Array">Array-based diagnosis</a> |
| </li> | | </li> |
− | <li><a href="https://2015.igem.org/Team:Peking/Device">Hardware</a> | + | <li><a class="active" href="https://2015.igem.org/Team:Peking/Device">Hardware</a> |
| </li> | | </li> |
| <li><a href="https://2015.igem.org/Team:Peking/Design/Speculation">Speculation</a> | | <li><a href="https://2015.igem.org/Team:Peking/Design/Speculation">Speculation</a> |
Line 117: |
Line 124: |
| </li> | | </li> |
| </ul> | | </ul> |
− | </ul><!-- End Navigation List -->
| + | <!-- End Navigation List --> |
− | </div>
| + | </div> |
− | </div>
| + | </div> |
− | </div><!-- End Header Logo & Naviagtion -->
| + | </div> |
− | </header> <!-- End Header Section --> | + | <!-- End Header Logo & Naviagtion --> |
| + | |
| + | </header> |
| + | <!-- End Header Section --> |
| | | |
− | <!-- Start Page Banner --> | + | |
− | <div class="page-banner" style="background-color:#e0e0e0;margin-top:1%;margin-bottom:20px;"> | + | <!-- Start Page Banner --> |
| + | <div class="page-banner" style="background-color:#e0e0e0;margin-top:1%;margin-bottom:20px;padding:20px"> |
| <div class="container"> | | <div class="container"> |
| <div class="row"> | | <div class="row"> |
| <div class="col-md-6"> | | <div class="col-md-6"> |
− | <h2><b>Collaborations</b></h2> | + | <h2 style="font-size:20px; margin-bottom:5px; padding-bottom:0"><b>Collaborations</b></h2> |
− | <p >Science is a collaborative endeavor.</p> | + | <p style="margin-top:0px;font-size:14px">Science is a collaborative endeavor.</p> |
| </div> | | </div> |
| <div class="col-md-6"> | | <div class="col-md-6"> |
| <ul class="breadcrumbs"> | | <ul class="breadcrumbs"> |
| <li><a href="https://2015.igem.org/Team:Peking">Home</a></li> | | <li><a href="https://2015.igem.org/Team:Peking">Home</a></li> |
− | <li>Achievements</li> | + | <li>Practices</li> |
| </ul> | | </ul> |
| </div> | | </div> |
Line 140: |
Line 151: |
| </div> | | </div> |
| </div> | | </div> |
− | <!-- End Page Banner --> | + | <!-- End Page Banner --> |
| | | |
− | <!-- Start Content -->
| + | <div id="content"> |
− | <div id="content"> | + | <div class="container"> |
− | <div class="container">
| + | <div class="row blog-page"> |
− | <div class="row blog-page">
| + | |
− | <!--Sidebar-->
| + | <!--Sidebar--> |
| <div class="col-md-3 sidebar left-sidebar"> | | <div class="col-md-3 sidebar left-sidebar"> |
− | <!-- sidebar for large screen --> | + | <!-- Categories Widget --> |
− | <div id="sidebar1" class="widget widget-categories"> | + | <div id="sidebar1"class="widget widget-categories"> |
− | <h4 style="font-size:18px">Collaborations <span class="head-line"></span></h4> | + | <h4 style="font-size:18px">Achievements <span class="head-line"></span></h4> |
| <ul> | | <ul> |
− | <li><a href="#CCiC">CCiC</a></li> | + | <li> |
− | <li><a href="#communication">Communications</a></li>
| + | <a href="https://2015.igem.org/Team:Peking/JudgingCriteria">Judging Criteria</a> |
− | </ul>
| + | </li> |
| + | <li> |
| + | <a href="https://2015.igem.org/Team:Peking/Parts">Parts</a> |
| + | </li> |
| + | <li> |
| + | <a href="https://2015.igem.org/Team:Peking/Collaborations" style="color:#00afd1">Collaborations</a> |
| + | </li> |
| + | |
| + | </ul> |
| </div> | | </div> |
− | <!--sidebar for small screen-->
| + | <div id="sidebar2"class="widget widget-categories"> |
− | <div id="sidebar2" class="widget widget-categories">
| + | <h4 style="font-size:18px">Device <span class="head-line"></span></h4> |
− | <h4 style="font-size:18px">Collaborations <span class="head-line"></span></h4> | + | <ul> |
− | <ul>
| + | <li> |
− | <li><a href="#CCiC">CCiC</a></li> | + | <a href="https://2015.igem.org/Team:Peking/JudgingCriteria">Judging Criteria</a> |
− | <li><a href="#communication">Communications</a></li>
| + | </li> |
| + | <li> |
| + | <a href="https://2015.igem.org/Team:Peking/Parts">Parts</a> |
| + | </li> |
| + | <li> |
| + | <a href="https://2015.igem.org/Team:Peking/Collaborations" style="color:#00afd1">Collaborations</a> |
| + | </li> |
| + | |
| </ul> | | </ul> |
| </div> | | </div> |
| </div> | | </div> |
| <!--End sidebar--> | | <!--End sidebar--> |
− | <!-- Page Content -->
| + | <!-- Page Content --> |
| <div class="col-md-9 page-content"> | | <div class="col-md-9 page-content"> |
− | <div id="collaborations"><!-- Classic Heading --> | + | <div id="Design"> |
− | <div id="CCiC">
| + | <!-- Classic Heading --> |
| + | <div id="CCiC"> |
| <div id="CCiC-banner"class="col-md-12" style="margin-bottom:30px;margin-top:0"> | | <div id="CCiC-banner"class="col-md-12" style="margin-bottom:30px;margin-top:0"> |
| <img src="https://static.igem.org/mediawiki/2015/7/78/Peking-Collaborations-CCiC-Pic1.JPG"style="margin:10px"/> | | <img src="https://static.igem.org/mediawiki/2015/7/78/Peking-Collaborations-CCiC-Pic1.JPG"style="margin:10px"/> |
Line 201: |
Line 228: |
| <div id="myCarousel" class="carousel slide col-md-12" data-ride="carousel" style="margin-top:20px"> | | <div id="myCarousel" class="carousel slide col-md-12" data-ride="carousel" style="margin-top:20px"> |
| <!-- Indicators --> | | <!-- Indicators --> |
− | <ol class="carousel-indicators"> | + | <ol class="carousel-indicators" style="margin: 0 -30%;"> |
| <li data-target="#myCarousel" data-slide-to="0" class="active"></li> | | <li data-target="#myCarousel" data-slide-to="0" class="active"></li> |
| <li data-target="#myCarousel" data-slide-to="1"></li> | | <li data-target="#myCarousel" data-slide-to="1"></li> |
Line 284: |
Line 311: |
| </p> | | </p> |
| </div> | | </div> |
− | </div>
| + | |
− | </div>
| + | |
− | </div>
| + | |
− | </div>
| + | |
| + | </div> |
| </div> | | </div> |
| </div> | | </div> |
− |
| + | </div> |
| + | </div> |
| + | </div> |
| + | </div> |
| + | </div> |
| + | |
| <!--FOOTER************FOOTER*******************FOOTER***************FOOTER************--> | | <!--FOOTER************FOOTER*******************FOOTER***************FOOTER************--> |
| <!--******************************* the only thing to CHANGE is the SHARE LINK******************************--> | | <!--******************************* the only thing to CHANGE is the SHARE LINK******************************--> |
| <!-- Start Footer --> | | <!-- Start Footer --> |
− | <footer style="margin-top:30px"> | + | <footer style="margin-top:30px; padding:0"> |
− | <div class="container"> | + | <div class="container" > |
− | <div class="row footer-widgets"> | + | <div class="row footer-widgets" style="padding:0:margin:0"> |
| + | |
| <!-- Start Subscribe & Social Links Widget --> | | <!-- Start Subscribe & Social Links Widget --> |
| <div class="col-md-3"> | | <div class="col-md-3"> |
− | <div class="col-md-12 footer-widget social-widget row"> | + | <div class="col-md-12 footer-widget social-widget row" style="padding-top:0:padding-bottom:0;margin-top:0;margin-bottom:0"> |
| <h4>Share This<span class="head-line"></span></h4> | | <h4>Share This<span class="head-line"></span></h4> |
− | <ul class="social-icons"> | + | <ul class="social-icons" style="padding-top:0:padding-bottom:0;margin-top:0;margin-bottom:0"> |
− | <li><!--HERE need to be changed--> | + | <li style="padding-top:0:padding-bottom:0;margin-top:0;margin-bottom:0"><!--HERE need to be changed--> |
− | <a class="twitter" target="_blank" href="https://twitter.com/home/?status=https://2015.igem.org/Team:Peking/Collaborations"> | + | <a class="twitter" target="_blank" href="https://twitter.com/home/?status=https://2015.igem.org/Team:Peking/Practices/Consultation"> |
| <i class="fa"> | | <i class="fa"> |
| <img src="https://static.igem.org/mediawiki/2015/d/d0/Peking-twitter.png" style="height:20px;width:auto; margin-top:7px;"> | | <img src="https://static.igem.org/mediawiki/2015/d/d0/Peking-twitter.png" style="height:20px;width:auto; margin-top:7px;"> |
Line 309: |
Line 343: |
| </a> | | </a> |
| </li> | | </li> |
− | <li><!--HERE need to be changed--> | + | <li style="padding-top:0:padding-bottom:0;margin-top:0;margin-bottom:0"><!--HERE need to be changed--> |
− | <a class="facebook"target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=https://2015.igem.org/Team:Peking/Collaborations"> | + | <a class="facebook"target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=https://2015.igem.org/Team:Peking/Practices/Consultation"> |
| <i class="fa"> | | <i class="fa"> |
| <img src="https://static.igem.org/mediawiki/2015/0/0e/Peking-facebook.png" style="height:20px; margin-top:7px;"> | | <img src="https://static.igem.org/mediawiki/2015/0/0e/Peking-facebook.png" style="height:20px; margin-top:7px;"> |
Line 316: |
Line 350: |
| </a> | | </a> |
| </li> | | </li> |
− | <li><!--HERE need to be changed--> | + | <li style="padding-top:0:padding-bottom:0;margin-top:0;margin-bottom:0"><!--HERE need to be changed--> |
− | <a class="google"target="_blank" href="https://plus.google.com/share?url=https://2015.igem.org/Team:Peking/Collaborations"> | + | <a class="google"target="_blank" href="https://plus.google.com/share?url=https://2015.igem.org/Team:Peking/Practices/Consultation"> |
| <i class="fa"> | | <i class="fa"> |
| <img src="https://static.igem.org/mediawiki/2015/7/7a/Peking-google_plus.png" style="height:20px; margin-top:7px;"> | | <img src="https://static.igem.org/mediawiki/2015/7/7a/Peking-google_plus.png" style="height:20px; margin-top:7px;"> |
Line 329: |
Line 363: |
| <div class="col-md-12 footer-widget social-widget row"> | | <div class="col-md-12 footer-widget social-widget row"> |
| <h4>Follow Us<span class="head-line"></span></h4> | | <h4>Follow Us<span class="head-line"></span></h4> |
− | <ul class="social-icons"> | + | <ul class="social-icons" style="padding-top:0:padding-bottom:0;margin-top:0;margin-bottom:0"> |
− | <li> | + | <li style="padding-top:0:padding-bottom:0;margin-top:0;margin-bottom:0"> |
| <a class="twitter" href="https://twitter.com/iGEM_Peking"><i class="fa"><img src="https://static.igem.org/mediawiki/2015/d/d0/Peking-twitter.png" style="height:20px; margin-top:7px;"></i></a> | | <a class="twitter" href="https://twitter.com/iGEM_Peking"><i class="fa"><img src="https://static.igem.org/mediawiki/2015/d/d0/Peking-twitter.png" style="height:20px; margin-top:7px;"></i></a> |
| </li> | | </li> |
− | <li> | + | <li style="padding-top:0:padding-bottom:0;margin-top:0;margin-bottom:0"> |
| <a class="facebook" href="https://www.facebook.com/pekingigem"><i class="fa"><img src="https://static.igem.org/mediawiki/2015/0/0e/Peking-facebook.png" style="height:20px; margin-top:7px;"></i></a> | | <a class="facebook" href="https://www.facebook.com/pekingigem"><i class="fa"><img src="https://static.igem.org/mediawiki/2015/0/0e/Peking-facebook.png" style="height:20px; margin-top:7px;"></i></a> |
| </li> | | </li> |
− | <li> | + | <li style="padding-top:0:padding-bottom:0;margin-top:0;margin-bottom:0"> |
| <a class="google" href="https://plus.google.com/u/0/102072923413833492667/posts"><i class="fa"><img src="https://static.igem.org/mediawiki/2015/7/7a/Peking-google_plus.png" style="height:20px; margin-top:7px;"></i></a> | | <a class="google" href="https://plus.google.com/u/0/102072923413833492667/posts"><i class="fa"><img src="https://static.igem.org/mediawiki/2015/7/7a/Peking-google_plus.png" style="height:20px; margin-top:7px;"></i></a> |
| </li> | | </li> |
Line 374: |
Line 408: |
| <!-- Start Contact Widget --> | | <!-- Start Contact Widget --> |
| <div class="col-md-3"> | | <div class="col-md-3"> |
− | <div class="footer-widget"> | + | <div class="footer-widget" style="padding:0:margin:0" > |
| <h4>Contact us<span class="head-line" ></span></h4> | | <h4>Contact us<span class="head-line" ></span></h4> |
− | <div class="footer-widget contact-widget" style="font-size:12px"> | + | <div class="footer-widget contact-widget"> |
| <img src="https://static.igem.org/mediawiki/2015/e/e1/Peking-footer-logo-1.png" style="max-height:100px;margin-top:10px;margin-bottom:10px" class="img-responsive" alt="Peking iGEM 2015 Logo" > | | <img src="https://static.igem.org/mediawiki/2015/e/e1/Peking-footer-logo-1.png" style="max-height:100px;margin-top:10px;margin-bottom:10px" class="img-responsive" alt="Peking iGEM 2015 Logo" > |
| | | |
− | <ul> | + | <ul style="font-size:12px;color:#b4b4b4"> |
− | <li><span>Email:</span> <a href="Mailto:pekingigem@gmail.com&Subject=Hello&Body=Hi, Peking iGEM!"style="color:#b4b4b4">pekingigem@gmail.com</a></li> | + | <li><span>Email:</span> <a href="Mailto:pekingigem@gmail.com&Subject=Hello&Body=Hi, Peking iGEM!"style="color:#b4b4b4">pekingigem@gmail.com</li> |
− | <li><span>Website:</span> <a href="2015.igem.org/Team:Peking" style="color:#b4b4b4">2015.igem.org/Team:Peking</a></li> | + | <li><span>Website:</span> <a href="2015.igem.org/Team:Peking" style="color:#b4b4b4"> 2015.igem.org/Team:Peking</a></li> |
| <li><span>Address:</span> Peking University, <br>No.5 Yiheyuan Road Haidian District, <br>Beijing, P.R.China 100871</li> | | <li><span>Address:</span> Peking University, <br>No.5 Yiheyuan Road Haidian District, <br>Beijing, P.R.China 100871</li> |
| </ul> | | </ul> |
Line 394: |
Line 428: |
| <div class="copyright-section"> | | <div class="copyright-section"> |
| <div class="row"> | | <div class="row"> |
− | <div class="col-md-6"> | + | <div class="col-md-12" style="padding:0;margin:0;height:30px"> |
− | <p>© 2015 Peking iGEM - All Rights Reserved. Based on <a href="getbootstrap.com">Bootstrap</a> and Margo template.</p> | + | <p class="text-center">© 2015 Peking iGEM - All Rights Reserved. Based on <a href="http://getbootstrap.com/"style="color:#b4b4b4">Bootstrap</a> and Margo template.</p> |
| </div> | | </div> |
| | | |
Line 410: |
Line 444: |
| | | |
| <!-- Go To Top Link --> | | <!-- Go To Top Link --> |
− | <a href="#" class="back-to-top" id="back-to-top"><i class="fa"><img src="https://static.igem.org/mediawiki/2015/0/06/Peking-Up.png" style="margin-top:5px; width:90%"></i></a> | + | <a href="#" class="back-to-top" style="z-index:9999"><i class="fa"><img src="https://static.igem.org/mediawiki/2015/0/06/Peking-Up.png" style="margin-top:5px; width:90%"></i></a> |
| | | |
| <div id="loader"> | | <div id="loader"> |
Line 418: |
Line 452: |
| </div> | | </div> |
| </div> | | </div> |
− |
| + | |
| + | |
| <!-- add ?action=raw&ctype=text/javascript when using Js--> | | <!-- add ?action=raw&ctype=text/javascript when using Js--> |
| <!-- Margo JS --> | | <!-- Margo JS --> |
Line 432: |
Line 467: |
| <script type="text/javascript" src="https://2015.igem.org/Template:Peking/Javascript/Nicescroll?action=raw&ctype=text/javascript"></script> | | <script type="text/javascript" src="https://2015.igem.org/Template:Peking/Javascript/Nicescroll?action=raw&ctype=text/javascript"></script> |
| <script type="text/javascript" src="https://2015.igem.org/Template:Peking/Javascript/Script?action=raw&ctype=text/javascript"></script> | | <script type="text/javascript" src="https://2015.igem.org/Template:Peking/Javascript/Script?action=raw&ctype=text/javascript"></script> |
− | | + | <script type="text/javascript" > |
− | <script type="text/javascript" >
| + | |
| function menuFixed(id){ | | function menuFixed(id){ |
| var obj = document.getElementById(id); | | var obj = document.getElementById(id); |
Line 443: |
Line 477: |
| } | | } |
| function changePos(id,height){ | | function changePos(id,height){ |
− | var obj = document.getElementById(id); | + | var obj = document.getElementById(id);var windowBottom = $(window).scrollTop() + $(window).innerHeight(); |
− | var scrollTop = document.documentElement.scrollTop || document.body.scrollTop-150; | + | var scrollTop = document.documentElement.scrollTop || document.body.scrollTop - 150; |
− | if(scrollTop < height){ | + | var windowBottom = $(window).scrollTop() + $(window).innerHeight(); |
− | obj.style.position = 'relative'; | + | var w = window.innerWidth; |
| + | if(w>=1024){ |
| + | if($(window).scrollTop() + $(window).height() > $(document).height() - 260){ |
| + | $('#sidebar1').fadeOut("fast");}else{$('#sidebar1').fadeIn("fast");} |
| + | } |
| + | if(scrollTop < height){ obj.style.position = 'relative'; |
| }else{ | | }else{ |
| obj.style.position = 'fixed'; | | obj.style.position = 'fixed'; |
Line 458: |
Line 497: |
| } | | } |
| </script> | | </script> |
− |
| + | |
| + | |
| | | |
| </body> | | </body> |
| </html> | | </html> |