Team:KIT-Kyoto/Test

From 2014.igem.org

(Difference between revisions)
 
(226 intermediate revisions not shown)
Line 18: Line 18:
<li class="menuimg"><a href="/Team:KIT-Kyoto/Test/Notebook">NOTEBOOK</a></li>
<li class="menuimg"><a href="/Team:KIT-Kyoto/Test/Notebook">NOTEBOOK</a></li>
</ul>   
</ul>   
 +
 +
<a href="http://info.flagcounter.com/sSCm"><img src="http://s11.flagcounter.com/count/sSCm/bg_FFFFFF/txt_000000/border_CCCCCC/columns_2/maxflags_12/viewers_0/labels_0/pageviews_0/flags_0/" alt="Flag Counter" border="0" style="position:fixed;bottom:5px;left:5px;"></a>
</div>
</div>
<!--サイドメニュー終わり-->
<!--サイドメニュー終わり-->
Line 24: Line 26:
<!--メインコンテンツ-->
<!--メインコンテンツ-->
<div id="container">
<div id="container">
-
<section id="first" class="content">
+
<div id="topmenu">
-
<p class="logo">KIT-Kyoto</p>
+
<div class="timg">
-
<article>
+
<div class="show">
-
<h1>Welcome to KIT-Kyoto Wiki Page!</h1>
+
<a href="javascript:void(0);"><img src="/wiki/images/6/6b/Kit_Welcome.png"></a></div>
-
<p>This is our wiki page.</p>
+
 
-
</article>
+
<div class="hide">
-
</section>
+
<a href="javascript:void(0);"><img src="/wiki/images/3/3f/Kit_Welcome_on_c.jpg" width="1920"></a></div>
-
<section id="second" class="content">
+
</div>
-
<article>
+
 
-
<h2 id="toc-only-css">About us</h2>
+
<div class="timg">
-
<p>About our team members,our university,and so on...</p>
+
<div class="show">
-
</article>
+
<a href="/Team:KIT-Kyoto/About"><img src="/wiki/images/b/bf/Kit_Abou_Us.png" width="1920">
-
</section>
+
</a>
-
<section id="third" class="content">
+
</div>
-
<article>
+
<div class="hide">
-
<h2 id="toc-without-jquery">Project</h2>
+
<a href="/Team:KIT-Kyoto/About"><img src="/wiki/images/8/8e/Kit_Abou_Us_on_c.jpg" width="1920">
-
<p>You want to know our project details, click here.</p>
+
</a>
-
</article>
+
</div>
-
<img src="images/guernica.jpg" />
+
</div>
-
</section>
+
 
-
<section id="theend" class="content">
+
<div class="timg">
-
<h2 id="toc-the-end">Modeling</h2>
+
<div class="show">
-
<p>Modeling</p>
+
<a href="/Team:KIT-Kyoto/Project"><img src="/wiki/images/c/c2/Kit_Projectmenu.png" width="1920">
-
</section>
+
</a>
 +
</div>
 +
<div class="hide">
 +
<a href="/Team:KIT-Kyoto/Project"><img src="/wiki/images/1/11/Kit_Project_on_c.jpg" width="1920">
 +
</a>
 +
</div>
 +
</div>
 +
 
 +
<div class="timg">
 +
<div class="show">
 +
<a href="/Team:KIT-Kyoto/HumanPractice"><img src="/wiki/images/7/7e/Kit_PP.png" width="1920">
 +
</a>
 +
</div>
 +
<div class="hide">
 +
<a href="/Team:KIT-Kyoto/HumanPractice"><img src="/wiki/images/e/e6/Kit_PP_on_c.jpg" width="1920">
 +
</a>
 +
</div>
 +
</div>
 +
 
 +
<div class="timg">
 +
<div class="show">
 +
<a href="/Team:KIT-Kyoto/Achievement"><img src="/wiki/images/8/82/Kit_Achievement.png" width="1920">
 +
</a>
 +
</div>
 +
<div class="hide">
 +
<a href="/Team:KIT-Kyoto/Achievement"><img src="/wiki/images/6/6d/Kit_Achievement_on_c.jpg" width="1920">
 +
</a>
 +
</div>
 +
</div>
 +
 
 +
<div class="timg">
 +
<div class="show">
 +
<a href="/Team:KIT-Kyoto/Labnote"><img src="/wiki/images/1/17/Kit_LN.png" width="1920">
 +
</a>
 +
</div>
 +
<div class="hide">
 +
<a href="/Team:KIT-Kyoto/Labnote"><img src="/wiki/images/1/1b/Kit_LN_on_c.jpg" width="1920">
 +
</a>
 +
</div>
 +
</div>
 +
 
 +
</div>
<div class="clear"><hr /></div>  
<div class="clear"><hr /></div>  
     <div id='kitfooter-box' class='noprint'>
     <div id='kitfooter-box' class='noprint'>
Line 81: Line 124:
<style style="text/css">
<style style="text/css">
-
    .content {
+
#kitfooter-box{
-
    position: relative;
+
background-color:rgba(100,100,100,0);
-
    }
+
z-index:1;
-
    #first { background: url(https://static.igem.org/mediawiki/2014/1/12/Kit_top1.JPG) 50% 0 no-repeat fixed; }
+
}
-
    #second { background: url(https://static.igem.org/mediawiki/2014/e/e8/Kit_top2.JPG) 50% 0 no-repeat fixed #000; }
+
#fkit a{
-
    #third { background: url(https://static.igem.org/mediawiki/2014/5/52/Kit_top3.JPG) 50% 0 no-repeat fixed #000; }
+
color:#fff;
-
    #theend { background: url(https://static.igem.org/mediawiki/2014/3/3a/Kit_top4.JPG) 50% 0 no-repeat fixed #e6cda4; }
+
}
-
    /* section first */
+
#bodyContent{
-
    .logo {
+
min-height:100%;
-
    position: fixed;
+
}
-
    top: 100px;
+
div#container{
-
    left: 50px;
+
margin:14px 0px 0px 250px;
-
    }
+
min-height:100%;
-
    #first article {
+
position:relative;
-
    position: absolute;
+
background-color:rgba(0,0,0,0.7);
-
    top: 200px;
+
}
-
    width: 800px;
+
 
-
    }
+
#topmenu{
-
    /* section third */
+
margin-top:14px;
-
    #third article {
+
position:relative;
-
    position: absolute;
+
}
-
    top: 0;
+
 
-
    }
+
#topmenu a{
-
    #third ing {
+
display:block;
-
    position: absolute;
+
position:relative;
-
    left: 30px;
+
padding:0;
-
    top: 600px;
+
}
-
    }
+
-
    /* section the end */
+
-
    #theend h2 {
+
-
    position: absolute;
+
-
    }
+
 +
.timg{
 +
position:relative;
 +
margin:0;
 +
}
 +
.show,.hide{
 +
width:100%;
 +
height:100%;
 +
position:absolute;
 +
top:0;
 +
left:0;
 +
marign:0;
 +
}
 +
.show{
 +
z-index:3;
 +
}
 +
.hide{
 +
z-index:2;
 +
}
</style>
</style>
 +
<script type="text/javascript">
 +
$(function(){
 +
var topimg = function(){
 +
var w = $("#container").width();
 +
$(".timg,.timg a img").css({width:w});
 +
var imgh = $('.show img').height();
 +
$(".timg").css({height:imgh});
 +
}
 +
$(function(){
 +
topimg();
 +
$(window).resize(topimg);
 +
});
 +
topimg();
 +
$('.hide').css('opacity','0');
 +
$('.show a,.hide a').hover(function(){
 +
var tnum = $('.show a').index(this);
 +
$('.show').eq(tnum).stop().animate({opacity:'0'},400);
 +
$('.hide').eq(tnum).stop().animate({opacity:'1'},400);
 +
},
 +
function(){
 +
var tnum = $('.show a').index(this);
 +
$('.show').eq(tnum).stop().animate({opacity:'1'},400);
 +
$('.hide').eq(tnum).stop().animate({opacity:'0'},400);
 +
}
 +
);
 +
 
 +
var slide = function(){
 +
                        $("#SideMenu").animate({left:'0px'},500,'swing');
 +
                        $("#close").animate({left:'215px'},500,'swing').addClass("close");
 +
                        $(".logo").animate({left:'250'},500,'swing');
 +
                        $("#container").animate({margin:'0px 0px 0px 250px'},{duration:500,easing:'swing',complete:function(){topimg();},});
 +
                        $(".toplogo,#nav5,.active,.submenu").animate({opacity:'1'},800,'swing');
 +
                        setTimeout(function(){
 +
                                  $("#close a")
 +
                                  .css({'background-image':'url("https://static.igem.org/mediawiki/2014/6/6d/Kit_close.png")'
 +
                        });},500);
 +
}
 +
    var ua = navigator.userAgent;
 +
if(ua.indexOf('iPhone') > 0 || ua.indexOf('Android') > 0 || ua.indexOf('BlackBerry') > 0 || ua.indexOf('Windows Phone') > 0){
 +
setTimeout(function(){topimg();},1100);
 +
$("#container").css({marginTop:'65px',marginLeft:'0px'});
 +
}else{
 +
        $("#close").removeClass('close');
 +
        $("#SideMenu").css({"left":"-215px"});
 +
        $("div#container").css({"margin":"0px 0px 0px 35px"});
 +
        $("#close").css({'left':'0'});
 +
        $(".toplogo,#nav5,.active,.submenu").css({opacity:'0'});
 +
        $("#close a").css({'background-image':'url("https://static.igem.org/mediawiki/2014/d/d0/Kit_open.png")'});
 +
        setTimeout(function(){
 +
              slide();
 +
                },2100);
 +
}
 +
       
 +
        $('#close a')
 +
        .click(function(){
 +
               
 +
                var closed = $("#close").hasClass("close");
 +
                if(closed){
 +
                        $("#SideMenu").animate({left:'-215px'},500,'swing');
 +
                        $("#close").animate({left:'0px'},500,'swing').removeClass("close");
 +
                        $(".logo").animate({left:'40'},500,'swing');
 +
                        $("#container").animate({margin:'0px 0px 0px 35px'},{duration:500,easing:'swing',complete:function(){topimg();},});
 +
                        $(".toplogo,#nav5,.active,.submenu").animate({opacity:'0'},800,'swing');
 +
                        setTimeout(function(){
 +
                                  $("#close a").css({'background-image':'url("https://static.igem.org/mediawiki/2014/d/d0/Kit_open.png")'});
 +
                        },500);
 +
                }else {
 +
                        slide();
 +
                }
 +
        });
 +
});
 +
</script>
</html>
</html>
{{Team:KIT-Kyoto/first}}
{{Team:KIT-Kyoto/first}}
{{Team:KIT-Kyoto/footer}}
{{Team:KIT-Kyoto/footer}}
{{Team:KIT-Kyoto/mobile}}
{{Team:KIT-Kyoto/mobile}}

Latest revision as of 02:43, 11 October 2014


kit