Team:XMU-China/Project Application

From 2014.igem.org

(Difference between revisions)
 
(3 intermediate revisions not shown)
Line 206: Line 206:
margin-top:70px;
margin-top:70px;
}
}
-
#side_bar ul{list-style: none;border-color:#135996;border-width:2px}
+
#side_bar ul{list-style: none;border-color:#135996;border-width:5px}
#side_bar a{
#side_bar a{
text-decoration:none;
text-decoration:none;
Line 273: Line 273:
}
}
#Project_Application_sub01{left:20px;}
#Project_Application_sub01{left:20px;}
-
#Project_Application_sub02{right:20px;background:#6cad01;}
+
#Project_Application_sub02{right:20px;}
-
#Project_Application_sub03{left:20px;bottom:0px;background:#1d8ef1;}
+
#Project_Application_sub03{left:20px;bottom:0px;}
-
#Project_Application_sub04{right:20px;bottom:00px;background:#f8ab00;}
+
#Project_Application_sub04{right:20px;bottom:00px;}
</style>
</style>
<style>
<style>
Line 348: Line 348:
var sidebar_sub_hover_display = side_bar_hover_target.children(".sidebar_sub").css("display");
var sidebar_sub_hover_display = side_bar_hover_target.children(".sidebar_sub").css("display");
if(sidebar_sub_hover_display = "none"){
if(sidebar_sub_hover_display = "none"){
-
side_bar_hover_target.animate({width:"275px"},200);
+
side_bar_hover_target.stop().animate({width:"275px"},200);
-
side_bar_hover_target.children(".sidebar_sub").slideDown("normal");
+
};
};
$(".sidebar_main").mouseleave(function(){
$(".sidebar_main").mouseleave(function(){
Line 355: Line 354:
var sidebar_sub_hoveroff_display = side_bar_hoveroff_target.children(".sidebar_sub").css("display");
var sidebar_sub_hoveroff_display = side_bar_hoveroff_target.children(".sidebar_sub").css("display");
if(sidebar_sub_hover_display = "block"){
if(sidebar_sub_hover_display = "block"){
-
side_bar_hover_target.children(".sidebar_sub").slideUp(100);
+
side_bar_hover_target.stop().animate({width:"155px"},100);
-
side_bar_hover_target.animate({width:"155px"},100);
+
};
};
});
});
Line 363: Line 361:
$(".navbar_main").mouseenter(function(){
$(".navbar_main").mouseenter(function(){
var nav_bar_hover_target = $(this);
var nav_bar_hover_target = $(this);
-
nav_bar_hover_target.children(".navbar_sub").slideDown();
+
nav_bar_hover_target.children(".navbar_sub").stop().slideDown();
$(".navbar_main").mouseleave(function(){
$(".navbar_main").mouseleave(function(){
var nav_bar_hoveroff_target = $(this);
var nav_bar_hoveroff_target = $(this);
-
nav_bar_hoveroff_target.children(".navbar_sub").slideUp();
+
nav_bar_hoveroff_target.children(".navbar_sub").stop().slideUp();
});
});
});
});
Line 481: Line 479:
<div id="Project_Application_wd">
<div id="Project_Application_wd">
<div class="Project_Application_sub" id="Project_Application_sub01"><a href="https://2014.igem.org/Team:XMU-China/Project_Application_RBSpromoter"><p style="font-size:40px;position:absolute;"> <img src="https://static.igem.org/mediawiki/2014/7/74/Xmu_project_application_promoter.png" width="350px"></p></a></div>
<div class="Project_Application_sub" id="Project_Application_sub01"><a href="https://2014.igem.org/Team:XMU-China/Project_Application_RBSpromoter"><p style="font-size:40px;position:absolute;"> <img src="https://static.igem.org/mediawiki/2014/7/74/Xmu_project_application_promoter.png" width="350px"></p></a></div>
-
<div class="Project_Application_sub" id="Project_Application_sub02"><a href="https://2014.igem.org/Team:XMU-China/Project_Application_BlackHole"><p style="font-size:40px;position:absolute;"><img src="https://static.igem.org/mediawiki/2014/4/40/Xmu_project_black_hole_zwei_%281%29.png" height="350px"></p></a></div>
+
<div class="Project_Application_sub" id="Project_Application_sub02"><a href="https://2014.igem.org/Team:XMU-China/Project_Application_BlackHole"><p style="font-size:40px;position:absolute;"><img src="https://static.igem.org/mediawiki/2014/4/40/Xmu_project_black_hole_zwei_%281%29.png" width="350px"></p></a></div>
-
<div class="Project_Application_sub" id="Project_Application_sub03"><a href=""><p style="font-size:40px;position:absolute;top:25px;left:50px;">Black Hole</p></a></div>
+
<div class="Project_Application_sub" id="Project_Application_sub03"><a href="https://2014.igem.org/Team:XMU-China/Project_Application_Aptamer"><p style="font-size:40px;position:absolute;"><img src="https://static.igem.org/mediawiki/2014/8/82/Xmu_project_aptamer.png" width="350px"></p></a></div>
-
<div class="Project_Application_sub" id="Project_Application_sub04"><a href="https://2014.igem.org/Team:XMU-China/Project_Application_OscillationTimer"><p style="font-size:40px;position:absolute;top:25px;right:50px;">Oscillation Timer</p></a></div>
+
<div class="Project_Application_sub" id="Project_Application_sub04"><a href="https://2014.igem.org/Team:XMU-China/Project_Application_OscillationTimer"><p style="font-size:40px;position:absolute;"><img src="https://static.igem.org/mediawiki/2014/5/5d/Xmu_project_timer.png" width="350px"></p></a></div>
</div>
</div>
</div>
</div>

Latest revision as of 16:10, 17 October 2014

side_bar