Difference between revisions of "Template:RISE foot"

 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<html>
 
<html>
        <!-- Footer
+
    <!-- Footer
            ============================================= -->
+
        ============================================= -->
        <footer>
+
    <footer>
            <div class="container">
+
        <div class="container">
                <h1>Rise</h1>
+
            <div class="social">
                <div class="social">
+
                <a href="https://www.facebook.com/igemepfl/?fref=ts"><i class="fa fa-facebook fa-2x"></i></a>
                    <a href="#"><i class="fa fa-facebook fa-2x"></i></a>
+
                <a href="https://twitter.com/EPFL_iGEM"><i class="fa fa-twitter fa-2x"></i></a>
                    <a href="#"><i class="fa fa-twitter fa-2x"></i></a>
+
                <a href="http://igem.today"><i class="fa fa-newspaper-o fa-2x"></i></a>
                    <a href="#"><i class="fa fa-dribbble fa-2x"></i></a>
+
                </div>
+
                <h6>&copy; 2015 Rise.Development By BootstrapDev</h6>
+
 
             </div>
 
             </div>
         </footer>
+
         </div>
        <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
+
    </footer>
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
+
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
        <!-- Include all compiled plugins (below), or include individual files as needed -->
+
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
        <script src="bootstrap-assets/js/bootstrap.min.js"></script>
+
    <!-- Include all compiled plugins (below), or include individual files as needed -->
        <script src="js/custom.js"></script>
+
    <!-- start bootstrap.js -->
        <!-- JS PLUGINS -->
+
    <script src="https://static.igem.org/mediawiki/2016/2/25/T--EPFL--bootstrap.min.txt"></script>
        <script src="plugins/owl-carousel/owl.carousel.min.js"></script>
+
    <!-- end bootstrap.js -->
        <script src="js/jquery.easing.min.js"></script>
+
    <!-- ############ JS PLUGINS ############ -->
        <script src="plugins/waypoints/jquery.waypoints.min.js"></script>
+
    <script src="https://static.igem.org/mediawiki/2016/d/d0/T--EPFL--jquery.waypoints.min.txt"></script>
        <script src="plugins/countTo/jquery.countTo.js"></script>
+
    <script src="https://static.igem.org/mediawiki/2016/1/1b/Jquery.countTo.txt"></script>
        <script src="plugins/inview/jquery.inview.min.js"></script>
+
    <script src="https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.8.2/js/lightbox.min.js"></script>
        <script src="plugins/Lightbox/dist/js/lightbox.min.js"></script>
+
    <!--start wow-->
        <script src="plugins/WOW/dist/wow.min.js"></script>
+
    <script src="https://static.igem.org/mediawiki/2016/3/3b/T--EPFL--wow.min.txt"></script>
        <!-- GOOGLE MAP -->
+
    <!--end wow-->
        <script src="https://maps.googleapis.com/maps/api/js"></script>
+
    <script src="https://static.igem.org/mediawiki/2016/d/da/T--EPFL--jquery.qtip.min.txt"></script>
     </body>
+
   
 +
    <!-- start custom.js -->
 +
    <script src="https://static.igem.org/mediawiki/2016/b/b8/T--EPFL--rise-template-custom.txt"></script>
 +
     <!--end custom-->
  
  
 +
    <script type="text/javascript">
  
 +
        // This is the jquery part of your template.  Try not modify any of this code since it makes your menu work.
  
 +
        $(document).ready(function () {
  
 +
            $("#HQ_page").attr('id', '');
 +
            if (wgPageName.substring(0, 8) == "Template") {  // if the page is a template it displays the full name in a single line
 +
                $("#team_name").html(wgPageName);
 +
            } else if (((wgPageName.match(/\//g) || []).length) == 0) {  // if it is the home page , just print the team's name
 +
                $("#team_name").html(wgPageName.substring(5, wgPageName.length));
 +
            } else {
 +
                // this adds the team's name as an h1
 +
                $("#team_name").html(wgPageName.substring(5, wgPageName.indexOf("/")));
 +
                // this adds the page's title as an h4
 +
                $("#page_name").html((wgPageName.substring(wgPageName.indexOf("/") + 1, wgPageName.length)).replace(/\/|_/g, " "));
 +
            }
  
  
<script>
 
  
// This is the jquery part of your template.  Try not modify any of this code since it makes your menu work.
 
  
$(document).ready(function() {
+
            $('#accordion').find('.menu_item').click(function () {
  
$("#HQ_page").attr('id','');
+
                //Expand or collapse this panel
+
                submenu = $(this).find('.submenu');
 +
                submenu.toggle();
 +
                icon = $(this).find('.icon');
 +
                if (!$(submenu).is(':visible')) {
 +
                    icon.removeClass("less").addClass("plus");
 +
                } else {
 +
                    icon.removeClass("plus").addClass("less");
 +
                }
  
if ( wgPageName.substring( 0,  8) == "Template") {   // if the page is a template it displays the full name in a single line
+
                //Hide the other panels
$("#team_name").html( wgPageName );  
+
                $(".submenu").not(submenu).hide();
}
+
                $(".icon").not(icon).removeClass("less").addClass("plus");
 +
            });
 +
            $(".collapsable_menu_control").click(function () {
 +
                $(".menu_item").toggle();
 +
            });
 +
            $(window).resize(function () {
 +
                $(".menu_item").show();
 +
            });
 +
        });
  
else if (  ( (wgPageName.match(/\//g) || []).length ) == 0 ) {  // if it is the home page , just print the team's name
 
$("#team_name").html( wgPageName.substring( 5, wgPageName.length ) );
 
}
 
  
else {
 
// this adds the team's name as an h1
 
$("#team_name").html( wgPageName.substring( 5 , wgPageName.indexOf("/")  ) );
 
  
// this adds the page's title as an h4
 
$("#page_name").html (    ( wgPageName.substring( wgPageName.indexOf("/") + 1, wgPageName.length ) ).replace( /\/|_/g , " ")  );
 
}
 
  
 +
    </script>
  
  
 +
</body>
  
$('#accordion').find('.menu_item').click(function(){
 
  
//Expand or collapse this panel
 
submenu = $(this).find('.submenu');
 
submenu.toggle();
 
 
icon = $(this).find('.icon');
 
 
if ( !$( submenu ).is(':visible') ) {
 
icon.removeClass("less").addClass("plus");
 
}
 
else {
 
icon.removeClass("plus").addClass("less");
 
}
 
 
//Hide the other panels
 
$(".submenu").not(submenu).hide();
 
$(".icon").not(icon).removeClass("less").addClass("plus");
 
});
 
 
 
$(".collapsable_menu_control").click(function() {
 
$(".menu_item").toggle();
 
});
 
 
$( window ).resize(function() {
 
$(".menu_item").show();
 
});
 
 
 
});
 
 
 
 
 
</script>
 
  
  
 
</html>
 
</html>

Latest revision as of 03:24, 20 October 2016