Difference between revisions of "Team:IIT Delhi/home"

 
(143 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
<html>
 
<html>
  
<style>
 
  
 +
<style>
  
body{
 
 
background-color: white;
 
 
    margin-left:0px;
 
}
 
  
  
/*--------------General end-----------------*/
 
  
/*--------------Global/content start----------------*/
 
  
#content { /*-- changes default wiki settings --*/
 
width: 100%;
 
height: 100%;
 
border: 0px;
 
background-color: #EBADFF;
 
margin: 0px;
 
padding: 0px;
 
        background-image: url('https://static.igem.org/mediawiki/2014/6/6e/Scribblebg_iitd.png');
 
        background-repeat: repeat;
 
}
 
  
/*--------------Global end------------------*/
 
  
#cenimg{
+
 
margin-left:75px;
+
#tourimg{
 +
  display:none;
 +
  width:300px;
 +
  height:80px;
 +
  margin-top:2%;
 +
  margin-left:82.5%;
 +
  position:absolute;
 +
  z-index:9999;
 
}
 
}
  
#wrap {
+
ul.ldd_menu{
   position: absolute;
+
   margin-top:-10px;
  top: 0;
+
        margin-left:15px;
   left: 0;
+
   padding:0;
  width: 100%;
+
        position:absolute;
   height: 250px;
+
   height:70px;
   margin: 0;
+
        width:190px;
   padding: 0;
+
   list-style:none;
   overflow: hidden;
+
   font-family:Verdana, Geneva, sans-serif;
 +
        font-size:100%;
 +
   text-align: center;
 
}
 
}
  
#header {
+
#spanimg{
   position: absolute;
+
   position:absolute;
   top: 0;
+
   margin-top:0%;
   left: 0;
+
   margin-left:87%;
 +
  height:15%;
 +
  width:13%;
 +
  z-index:999;
 +
}
 +
ul.ldd_menu a{
 +
  text-decoration:none;
 +
}
 +
ul.ldd_menu > li{
 +
  float:left;
 +
  position:fixed;
 
   width: 100%;
 
   width: 100%;
   height: 200px;
+
   z-index: 9999;
  margin: 0;
+
  padding: 0;
+
  animation: move 20s infinite linear;
+
 
}
 
}
 
+
ul.ldd_menu > li > span{
@keyframes move {
+
   float:right;
   from {
+
  z-index:-1000;
    left: 0;
+
  position:absolute;
   }
+
  margin-left:550px;
   to {
+
  width:190px;
    left: -2450px;
+
  font-size:1px;
 +
  color:green;
 +
  opacity:0;
 +
   background-color:white;
 +
   height:190px;
 +
       
 +
  line-height:50px;
 +
  cursor:default;
 +
  padding:0px 20px;
 +
  border-radius:0 0 0 190px;
 +
  text-shadow:0px 0px 1px #CCC;
 
   }
 
   }
 +
 +
 +
.sub_wrap{
 +
  width: 2500px;
 +
  margin: 0 auto 0 auto;
 +
  background-color: #000;
 
}
 
}
  
#header > div {
+
ul.ldd_menu ul{
   width: 600px;
+
   list-style:none;
   height: 100px;
+
   display: inline-block;
   margin: 0;
+
   border-left:1px dotted #FFF;
   padding: 0;
+
   margin-top: 20px;
   border-right: 2px solid black;
+
   margin-right: 0px;
   background-position: center;
+
   margin-bottom: 10px;
   background-size: 600px auto;
+
   margin-left: 20px;
   display: block;
+
   padding-top: 10px;
   position: absolute;
+
   padding-right: 5px;
   border-bottom: 5px solid black;
+
   padding-bottom: 10px;
 +
  padding-left: 10px;
 
}
 
}
  
#header > div.one {
+
ul.ldd_menu .ldd_submenu{
background: url(http://upload.wikimedia.org/wikipedia/commons/thumb/f/f8/Rho_Ophiuchi.jpg/611px-Rho_Ophiuchi.jpg);
+
  position:absolute;
   margin-left: 0;
+
  top:50px;
 +
  width:100%;
 +
  display:none;
 +
  opacity:0.90;
 +
  font-size:10px;
 +
  background-color: #fff;
 +
}
 +
a.ldd_subfoot{
 +
  background-color:#f0f0f0;
 +
   color:#444;
 +
  display:block;
 +
  clear:both;
 +
  padding:15px 20px;
 +
  font-family: Arial, serif;
 +
  font-size:10px;
 +
  text-shadow:0px 0px 1px #fff;
 +
  -moz-box-shadow:0px 0px 2px #777 inset;
 +
  -webkit-box-shadow:0px 0px 2px #777 inset;
 +
  -box-shadow:0px 0px 2px #777 inset;
 
}
 
}
  
#header > div.two {
+
ul.ldd_menu ul li a{
background:  url(http://upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Dawn_at_swifts_creek_panorama.jpg/1280px-Dawn_at_swifts_creek_panorama.jpg);
+
  font-family: Arial, serif;
   margin-left: 602px;
+
  font-size:12px;
 +
   line-height:20px;
 +
  color:#000;
 +
  padding:1px 3px;
 +
}
 +
ul.ldd_menu ul li a:hover{
 +
  background:#FF3300;
 
}
 
}
  
#header > div.three {
+
li.ldd_heading a{
background: url(http://upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Mist_-_Ensay_region3.jpg/1024px-Mist_-_Ensay_region3.jpg);
+
  color:#fff !imporatant;
   margin-left: 1204px;
+
}
 +
li.ldd_heading{
 +
  border:solid 1px black;
 +
  border-radius:5px 0 8px 0;
 +
  background-color:#0F93FC;
 +
  font-family: Georgia, serif;
 +
  color:white !important;
 +
  margin-bottom:5px;
 +
  font-size: 13px;
 +
  font-style: italic;
 +
   color:#FF3300;
 +
  text-shadow:0px 0px 1px #B03E23;
 +
  padding:5px 0px 5px 0px;
 
}
 
}
  
#header > div.four {
+
 
background:  url(http://upload.wikimedia.org/wikipedia/commons/thumb/e/e6/Lower_Manhattan_from_Staten_Island_Ferry_Jan_2006.jpg/1280px-Lower_Manhattan_from_Staten_Island_Ferry_Jan_2006.jpg);
+
 
  margin-left: 1806px;
+
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
/*--------------General end-----------------*/
 +
 
 +
/*--------------Global/content start----------------*/
 +
#content { /*-- changes default wiki settings --*/
 +
width: 100%;  
 +
height: 100%;
 +
border: 0px;
 +
margin: 0px;
 +
padding: 0px;
 +
 
 
}
 
}
  
#header > div.five {
+
 
background: url(http://upload.wikimedia.org/wikipedia/commons/thumb/a/a3/Mt_hotham_alpine_range_scenery.jpg/1024px-Mt_hotham_alpine_range_scenery.jpg);
+
/*--------------Global end------------------*/
   margin-left: 2408px;
+
 
 +
 
 +
body{
 +
  margin:0;
 +
  padding:0;
 +
  background-image:url("https://static.igem.org/mediawiki/2015/6/67/IITDwikipages_background.jpg");
 +
   background-size:100% 100%;
 +
 
 
}
 
}
  
#header > div.six {
+
.iconshome{
background: url(http://upload.wikimedia.org/wikipedia/commons/thumb/e/ea/Sydney_Harbour_Bridge_night.jpg/1024px-Sydney_Harbour_Bridge_night.jpg);
+
  position:absolute;
   margin-left: 3010px;
+
  width:7%;
 +
  -webkit-transition: all 1s ease;
 +
   -moz-transition: all 1s ease;
 +
  -o-transition: all 1s ease;
 +
  transition all 1s ease:
 +
}
 +
.iconActive{
 +
  width:10%;
 
}
 
}
 +
  
 
</style> <!-- End of CSS -->
 
</style> <!-- End of CSS -->
 
<body>
 
<body>
<div id="wrap"><div id="header">
+
  <div id="homeWrapper">
  <div class="one"></div>
+
    <div id="homeContent">
   <div class="two"></div>
+
 
  <div class="three"></div>
+
 
  <div class="four"></div>
+
 
  <div class="five"></div>
+
 
  <div class="six"></div>
+
 
</div>
+
 
</div>
+
 
<div id="mainarea">
+
 
<img src="https://static.igem.org/mediawiki/2015/a/a0/19640686-home-red-circle-web-glossy-icon-on-white-background--Stock-Photo.jpg" width="50px" height="50px" />
+
 
<div id="cenimg">
+
 
<img src="https://static.igem.org/mediawiki/2015/4/41/Igem_cen.png" width="1200px" height="700px" />
+
<!--------------------------------code for site map-------------------------------->
</div>
+
<!---------------TOUR CANCELLED------------------------->
</div>
+
 
 +
<div id="tour">
 +
    <a href="https://2015.igem.org/Team:IIT_Delhi/tour"><img id="tourimg" src="https://static.igem.org/mediawiki/2015/1/11/IITDigem_tour.png"></a>
 +
  </div>
 +
 
 +
<!---------------TOUR CANCELLED------------------------->
 +
<!-------------Span sitemap image--------->
 +
<img id="spanimg" src="https://static.igem.org/mediawiki/2015/1/1a/IITDsitemapfinal.png">           
 +
<!------------Span sitemap image---------->
 +
   <div class="box">
 +
    <ul id="ldd_menu" class="ldd_menu" style="position:absolute;">
 +
      <li>
 +
        <span>SiteMap</span>
 +
        <!---
 +
        <img id="spanimg" src="https://static.igem.org/mediawiki/2015/6/6b/IITDSitemap.png">         
 +
          -->
 +
          <div class="ldd_submenu">
 +
            <ul>
 +
      <li class="ldd_heading"><a style="color:white;" href="https://2015.igem.org/Team:IIT_Delhi/abstract">ABSTRACT</a></li>
 +
              <li><a href="https://2015.igem.org/Team:IIT_Delhi/abstract#ourproject">OUR PROJECT</a></li>
 +
              <li><a href="https://2015.igem.org/Team:IIT_Delhi/abstract#categories">CATEGORIES</a></li>
 +
              <li><a href="https://2015.igem.org/Team:IIT_Delhi/abstract#sponsors">SPONSORS</a></li>
 +
              <li><a href="#"></a></li>
 +
              <li><a href="#"></a></li>
 +
          </ul>
 +
            <ul>
 +
      <li class="ldd_heading"><a style="color:white;" href="https://2015.igem.org/Team:IIT_Delhi/project_background">PROJECT</a></li>
 +
              <li><a href="https://2015.igem.org/Team:IIT_Delhi/project#research">BACKGROUND</a></li>
 +
      <li><a href="https://2015.igem.org/Team:IIT_Delhi/project#prototype">SOLUTION</a></li>
 +
              <li><a href="https://2015.igem.org/Team:IIT_Delhi/project#conclusion">RESEARCH</a></li>
 +
            </ul>
 +
            <ul>
 +
      <li class="ldd_heading"><a style="color:white;" href="https://2015.igem.org/Team:IIT_Delhi/notebook_summary">NOTEBOOK</a></li>
 +
      <li><a href="https://2015.igem.org/Team:IIT_Delhi/notebook#summary/">SUMMARY</a></li>
 +
      <li><a href="https://2015.igem.org/Team:IIT_Delhi/notebook#timeline">TIMELINE</a></li>
 +
      <li><a href="https://2015.igem.org/Team:IIT_Delhi/notebook#album">ALBUM</a></li>
 +
              <li><a href=""></a></li>
 +
              <li><a href=""></a></li>
 +
            </ul>
 +
            <ul>
 +
<li class="ldd_heading"><a style="color:white;" href="https://2015.igem.org/Team:IIT_Delhi/results_parts">RESULTS</a></li>
 +
<li><a href="https://2015.igem.org/Team:IIT_Delhi/result#parts">PARTS SUBMITTED</a></li>
 +
<li><a href="https://2015.igem.org/Team:IIT_Delhi/result#judging">JUDGING CRITERION</a></li>
 +
                <li><a href="https://2015.igem.org/Team:IIT_Delhi/result#attributions">ATTRIBUTIONS</a></li>
 +
                <li><a href="#"></a></li>
 +
                <li><a href="#"></a></li>
 +
    </ul>
 +
    <ul>
 +
      <li class="ldd_heading"><a style="color:white;" href="https://2015.igem.org/Team:IIT_Delhi/modelling_introduction">MODELLING</a></li>
 +
      <li><a href="https://2015.igem.org/Team:IIT_Delhi/modelling#introduction">INTRODUCTION</a></li>
 +
              <li><a href="https://2015.igem.org/Team:IIT_Delhi/modelling#mathematical">MATHEMATICAL MODEL</a></li>
 +
              <li><a href="https://2015.igem.org/Team:IIT_Delhi/modelling#simulation">SIMULATION</a></li>
 +
              <li><a href="https://2015.igem.org/Team:IIT_Delhi/modelling#interpretation">INTERPRETATION</a></li>
 +
              <li><a href="#"></a></li>
 +
    </ul>
 +
            <ul>
 +
      <li class="ldd_heading"><a style="color:white;" href="https://2015.igem.org/Team:IIT_Delhi/team_ourstory">TEAM<a/></li>
 +
      <li><a href="https://2015.igem.org/Team:IIT_Delhi/team#ourstory">OUR STORY</a></li>
 +
      <li><a href="https://2015.igem.org/Team:IIT_Delhi/team#mentors">MENTORS</a></li>
 +
              <li><a href="https://2015.igem.org/Team:IIT_Delhi/team#members">MEMBERS</a></li>
 +
              <li><a href="https://2015.igem.org/Team:IIT_Delhi/team#carpediem">CARPE DIEM</a></li>
 +
    </ul>
 +
            <ul>
 +
      <li class="ldd_heading"><a style="color:white;" href="https://2015.igem.org/Team:IIT_Delhi/collaboration_iiser">COLLABORATION</a></li>
 +
              <li><a href="https://2015.igem.org/Team:IIT_Delhi/collaboration_iiser">IISER</a></li>
 +
      <li><a href="https://2015.igem.org/Team:IIT_Delhi/collaboration_enactus">ENACTUS</a></li>
 +
              <li><a href="https://2015.igem.org/Team:IIT_Delhi/collaboration_outreach">OUTREACH</a></li>
 +
              <li><a href="#"></a></li>
 +
              <li><a href="#"></a></li>
 +
    </ul>
 +
            <ul>
 +
<li class="ldd_heading"><a style="color:white;" href="https://2015.igem.org/Team:IIT_Delhi/ethics_orientation">ETHICS</a></li>
 +
                <li><a href="https://2015.igem.org/Team:IIT_Delhi/ethic_orientation">ORIENATION</a></li>
 +
<li><a href="https://2015.igem.org/Team:IIT_Delhi/ethics_openhouse">OPEN HOUSE</a></li>
 +
                <li><a href="https://2015.igem.org/Team:IIT_Delhi/ethics_tryst">TRYST</a></li>
 +
<li><a href="https://2015.igem.org/Team:IIT_Delhi/ethics_surveys">SURVEYS</a></li>
 +
                <li><a href="#"></a></li>
 +
    </ul>
 +
<a class="ldd_subfoot" href="">Click here for Site-Map image</a>
 +
    </div>
 +
  </li>
 +
</ul>
 +
      </div>
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
  <img style="position:absolute;width:100%;z-index:-5;" src="https://static.igem.org/mediawiki/2015/6/68/IITDwikihome_background1.jpg">
 +
  <nav style="border:solid 1px black;">
 +
 
 +
    <a href="https://2015.igem.org/Team:IIT_Delhi/abstract"><img class="iconshome iconsl" id="icon1" style="margin-top:4%; margin-left:10%;" src="https://static.igem.org/mediawiki/2015/6/6a/IITDabstract.png"></a>
 +
 
 +
    <a href="https://2015.igem.org/Team:IIT_Delhi/modelling_introduction"><img class="iconshome" id="icon2" style="margin-top:4%; margin-left:83%;" src="https://static.igem.org/mediawiki/2015/b/b9/IITDmodelling1.png"></a>
 +
 
 +
    <a href="https://2015.igem.org/Team:IIT_Delhi/project_background"><img class="iconshome iconsl" id="icon3" style="margin-top:14%; margin-left:6%;" src="https://static.igem.org/mediawiki/2015/2/2f/IITDproject1.png"></a>
 +
 
 +
    <a href="https://2015.igem.org/Team:IIT_Delhi/team_ourstory"><img class="iconshome" id="icon4" style="margin-top:14%; margin-left:87%;" src="https://static.igem.org/mediawiki/2015/0/01/Team1iitd.png"></a>
 +
 
 +
    <a href="https://2015.igem.org/Team:IIT_Delhi/notebook_summary"><img class="iconshome iconsl" id="icon5" style="margin-top:25%; margin-left:6%;" src="https://static.igem.org/mediawiki/2015/e/ee/Notebook_iitd.png"></a>
 +
 
 +
    <a href="https://2015.igem.org/Team:IIT_Delhi/human_practices"><img class="iconshome" id="icon6" style="margin-top:25%; margin-left:86.5%;" src="https://static.igem.org/mediawiki/2015/2/27/IITDhp.png"></a>
 +
 
 +
    <a href="https://2015.igem.org/Team:IIT_Delhi/results_parts"><img class="iconshome iconsl" id="icon7" style="margin-top:36%; margin-left:10%;" src="https://static.igem.org/mediawiki/2015/0/0b/Results1_iitd.png"></a>
 +
 
 +
    <a href="https://2015.igem.org/Team:IIT_Delhi/ethics_orientation"><img class="iconshome" id="icon8" style="margin-top:36%; margin-left:82%;" src="https://static.igem.org/mediawiki/2015/5/51/Ethics1_iitd.png"></a>
 +
  </nav>
 +
    </div>
 +
</div>
 +
     
 +
  <script>
 +
    $(document).ready(function(){ 
 +
$("#icon1").hover(
 +
        function(){
 +
          $(this).css("margin-top","2.5%");
 +
          $(this).css("margin-left","8.5%");
 +
          $(this).addClass("iconActive");
 +
        },
 +
        function(){
 +
 
 +
          $(this).css("margin-top","4%");
 +
          $(this).css("margin-left","10%");
 +
          $(this).removeClass("iconActive");
 +
        }
 +
      );
 +
     
 +
$("#icon2").hover(
 +
        function(){
 +
          $(this).css("margin-top","2.5%");
 +
          $(this).css("margin-left","81.5%");
 +
          $(this).addClass("iconActive");
 +
        },
 +
        function(){
 +
          $(this).css("margin-top","4%");
 +
          $(this).css("margin-left","83%");
 +
          $(this).removeClass("iconActive");
 +
        }
 +
      );
 +
$("#icon3").hover(
 +
        function(){
 +
          $(this).css("margin-top","12.5%");
 +
          $(this).css("margin-left","4.5%");
 +
          $(this).addClass("iconActive");
 +
        },
 +
        function(){
 +
          $(this).css("margin-top","14%");
 +
          $(this).css("margin-left","6%");
 +
          $(this).removeClass("iconActive");
 +
        }
 +
      );
 +
$("#icon4").hover(
 +
        function(){
 +
          $(this).css("margin-top","12.5%");
 +
          $(this).css("margin-left","85.5%");
 +
          $(this).addClass("iconActive");
 +
        },
 +
        function(){
 +
          $(this).css("margin-top","14%");
 +
          $(this).css("margin-left","87%");
 +
          $(this).removeClass("iconActive");
 +
        }
 +
      );
 +
 
 +
$("#icon5").hover(
 +
        function(){
 +
          $(this).css("margin-top","23.5%");
 +
          $(this).css("margin-left","4.5%");
 +
          $(this).addClass("iconActive");
 +
        },
 +
        function(){
 +
          $(this).css("margin-top","25%");
 +
          $(this).css("margin-left","6%");
 +
          $(this).removeClass("iconActive");
 +
        }
 +
      );
 +
$("#icon6").hover(
 +
        function(){
 +
          $(this).css("margin-top","23.5%");
 +
          $(this).css("margin-left","85%");
 +
          $(this).addClass("iconActive");
 +
        },
 +
        function(){
 +
          $(this).css("margin-top","25%");
 +
          $(this).css("margin-left","86.5%");
 +
          $(this).removeClass("iconActive");
 +
        }
 +
      );
 +
 
 +
$("#icon7").hover(
 +
        function(){
 +
          $(this).css("margin-top","34.5%");
 +
          $(this).css("margin-left","8.5%");
 +
          $(this).addClass("iconActive");
 +
        },
 +
        function(){
 +
          $(this).css("margin-top","36%");
 +
          $(this).css("margin-left","10%");
 +
          $(this).removeClass("iconActive");
 +
        }
 +
      );
 +
$("#icon8").hover(
 +
        function(){
 +
          $(this).css("margin-top","34.5%");
 +
          $(this).css("margin-left","80.5%");
 +
          $(this).addClass("iconActive");
 +
        },
 +
        function(){
 +
          $(this).css("margin-top","36%");
 +
          $(this).css("margin-left","82%");
 +
          $(this).removeClass("iconActive");
 +
        }
 +
      );
 +
    });
 +
  </script>         
 +
     
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
<script>
 +
$(document).ready(function(){
 +
console.log("hi2");
 +
/**
 +
* the menu
 +
*/
 +
var $menu = $('#ldd_menu');
 +
 +
/**
 +
* for each list element,
 +
* we show the submenu when hovering and
 +
* expand the span element (title) to 510px
 +
*/
 +
$menu.children('li').each(function(){
 +
var $this = $(this);
 +
var $span = $this.children('span');
 +
$span.data('width',$span.width());
 +
 +
$this.bind('mouseenter',function(){
 +
$menu.find('.ldd_submenu').stop(true,true).hide();
 +
$span.stop().animate({'width':'10%'},200,function(){
 +
$this.find('.ldd_submenu').slideDown(400);
 +
});
 +
}).bind('mouseleave',function(){
 +
/**$this.find('.ldd_submenu').stop(true,true).hide(); */
 +
$span.stop().animate({'width':$span.data('width')+'px'},300);
 +
$this.find('.ldd_submenu').slideUp(400);
 +
});
 +
});
 +
            });
 +
 +
//ipad and iphone fix
 +
if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)) || (navigator.userAgent.match(/iPad/i))) {
 +
    $(" #ldd_menu li a").click(function(){
 +
        //we just need to attach a click event listener to provoke iPhone/iPod/iPad's hover event
 +
        //strange
 +
    });
 +
}
 +
</script>
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 
</body>
 
</body>
 
</html>
 
</html>

Latest revision as of 00:31, 17 September 2015