Team:UCSF/Home1
From 2013.igem.org
(Difference between revisions)
(Created page with "<html> <!-- * Markup for jQuery Orbit Plugin 1.2.3 * www.ZURB.com/playground * Copyright 2010, ZURB * Free to use under the MIT license. * http://www.opensource.org/lice...") |
|||
Line 1: | Line 1: | ||
<html> | <html> | ||
+ | <style type="text/css"> | ||
+ | /* hiding the top section*/ | ||
+ | body{position:absolute; top:0px; width:100%; height:1259px;} | ||
+ | #top-section{ | ||
+ | height:0px; | ||
+ | border:none; | ||
+ | width:980px; | ||
+ | margin:0 auto; | ||
+ | padding:0 0 0 0; | ||
+ | background-color:transparent; | ||
+ | overflow:hide; | ||
+ | } | ||
+ | #p-logo{display:none;} | ||
+ | #search-controls{display:none;} | ||
+ | #top{display:none;} | ||
+ | .firstHeading{display:none;} | ||
+ | /* end of hiding the top section*/ | ||
+ | /* global setting*/ | ||
+ | #globalWrapper{position:absolute; top:0px;left:0px; width:100%; background-image:url(https://static.igem.org/mediawiki/igem.org/a/aa/Metal.jpg); padding:0 0 0 0;margin:0 0 0 0;height:100%} | ||
+ | #content{ | ||
+ | background-color:transparent; | ||
+ | border:none; | ||
+ | width:980px; | ||
+ | height:700px; | ||
+ | marign:0 auto; | ||
+ | padding:0 0 0 0; | ||
+ | top:-40px; | ||
+ | } | ||
+ | #bodyContent{ | ||
+ | background-color:transparent; | ||
+ | border:none; | ||
+ | |||
+ | } | ||
+ | siteSub{ | ||
+ | display:none; | ||
+ | border:none; | ||
+ | } | ||
+ | contentSub{ | ||
+ | display:none; | ||
+ | } | ||
+ | /* end of global setting*/ | ||
- | + | /*hiding the footer-box*/ | |
- | + | #footer-box{display:none;} | |
- | + | #catlinks{display:none;} | |
- | + | /*end of hiding the footer book*/ | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | /* menu (page, edit ...) */ | |
- | + | #menubar { | |
- | + | background-color:transparent; | |
- | + | position: relative; | |
- | + | float:left; | |
- | + | white-space: nowrap; | |
- | + | top:-6px; | |
- | + | width: 490px; | |
- | + | z-index: 5; | |
- | + | font-family: sans-serif; | |
- | + | font-size: 95%; | |
- | + | line-height: 1em; | |
- | + | z-index:99; | |
- | + | } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
+ | .left-menu, .left-menu a { | ||
+ | text-align: left; | ||
+ | color:#999999; | ||
+ | text-transform: lowercase; | ||
+ | } | ||
- | + | .left-menu:hover { | |
+ | color: #D00000; | ||
+ | background-color: transparent; | ||
+ | } | ||
- | + | .right-menu{width:400px; float:right} | |
- | + | .right-menu, .right-menu a { | |
- | + | right: 0px; | |
- | + | text-align: right; | |
- | + | color: #999999; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | #menubar ul { | |
- | + | color: #999999; | |
+ | list-style: none; | ||
} | } | ||
- | + | #menubar li { | |
- | # | + | display: inline; |
- | + | position: relative; | |
- | + | cursor: pointer; | |
- | + | padding-left: 0px; | |
- | + | padding-right: 0px; | |
- | + | ||
- | + | ||
} | } | ||
- | + | .left-menu li a { | |
- | + | padding: 0px 10px 0px 0px; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | .left-menu .selected { | |
- | + | # color: #999999; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
+ | #.left-menu .selected:hover { | ||
+ | # color: #999999; | ||
+ | #} | ||
- | + | .left-menu:hover a { | |
- | + | color: #999999;; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | + | .left-menu li a:hover { | |
- | + | color: #D00000; | |
- | + | text-decoration: underline; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | .right-menu li { | |
- | + | # background-color: transparent; | |
- | # | + | |
- | background: | + | |
} | } | ||
- | + | .right-menu li a { | |
- | # | + | padding: 0px 15px 0px 0px; |
- | background: | + | color: #999999;; |
+ | background-color: transparent; | ||
} | } | ||
- | + | .right-menu li a:hover { | |
- | + | color: #D00000; | |
+ | text-decoration: underline; | ||
} | } | ||
- | + | /* end menu (edit, page ...) */ | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | /* navigation bar*/ | |
+ | #navigationblock{background-color:#FFFFFF; position:fixed; top:0px; width:980px; height:150px; overflow:hidden; font-family:Microsoft YaHei,Calieri, Arial; float:left; margin:0px; padding:0px; z-index:1000; border-bottom:1px solid #d3d7d8;} | ||
- | + | #navbarlogo{position:relative; top:8px; float:left; height:140px;} | |
- | + | #navigationbar{position:absolute; left:380px; top:28px; font-size:13px; font-weight:100; color:#999999;} | |
- | + | #navigationbar > li {display:block; list-style-type:none; float:left; width:80px; height:20px; text-align:center; background-color:transparent;} | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
- | + | ||
- | + | ||
- | + | ||
+ | .Navbar_Item a {color:#999999; text-decoration:none;} | ||
+ | .Navbar_Item > ul {display:none; width:500px; height:50px; text-align:center; color:#999999;} | ||
+ | .Navbar_Item > ul > li {float:left; list-style:none; width:100px; text-align:center; background-color:transparent; position:relative; top:10px;} | ||
+ | .Navbar_Item:hover{ border-bottom:1px solid #D00000; color:#D00000} | ||
+ | .Navbar_Item:hover > ul{ display:block;} | ||
+ | .Navbar_Item:hover >a {color:#D00000} | ||
+ | .Navbar_Item > ul > li:hover {border-bottom:1px solid #D00000; color:#D00000} | ||
+ | .Navbar_Item > ul > li:hover >a {color:#D00000} | ||
+ | #Home_Sublist{position:relative; top:0px; left:-50px;} | ||
+ | #Team_Sublist{position:relative; top:0px; left:-60px;} | ||
+ | #Project_Sublist{position:relative; top:0px; left:-100px;} | ||
+ | #Model_Sublist{position:relative; top:0px; left:-140px;} | ||
+ | #Lab_Sublist{position:relative; top:0px; left:-180px;} | ||
+ | #HumanPractice_Sublist{position:relative; top:0px; left:-220px;} | ||
+ | /*end navigation bar*/ | ||
+ | /*Major body*/ | ||
+ | #MajorBody{position:absolute; top:0px; width:980px; height:1019px;} | ||
+ | #ProjectTitle{position:absolute; background-color:#D00000; width:980px; height:130px; top:120px;} | ||
+ | #ProjectName{position:absolute; left:300px; top:20px; border-bottom:0px; color:#FFFFFF; font-size:45px; font-family:Impact,Arial, Helvetica, sans-serif;} | ||
+ | .slide_container{position:relative; width:980px;} | ||
+ | .slide_container img{position:absolute; top:0px; width:980px;} | ||
+ | .activated_slide{position:absolute; top:227px; width:980px; height:800px; z-index:200;} | ||
+ | .inactivated_slide{position:absolute; top:227px; width:980px; height:800px; z-index:100;} | ||
+ | .transitional_slide{position:absolute; top:227px; width:980px; height:800px; z-index:300;} | ||
+ | .slide_passage{position:absolute; top:500px; background-color:#FFFFFF; width:980px; height:300px; z-index:500; font-family: Arial, Helvetica, sans-serif; font-size:16px; line-height:30px; font-weight:normal;} | ||
+ | #abstract_passage{position:absolute; top:10px; left:20px; width:940px;} | ||
+ | .slide_list_container{position:absolute; left:0px; top:632px; width:980px; height:95px; background-color:transparent; z-index:500;} | ||
+ | .slide_list_background{position:absolute; left:0px; top:0px; width:980px; height:95px; background-color:white; opacity:0.5;} | ||
+ | .slide_list{position:absolute; left:0px; top:0px; width:940px; height:95px; background-color:transparent; list-style:none; list-style-type:none; font-family:Arial, Helvetica, sans-serif;} | ||
+ | .left_slide_list_item{position:absolute; top:35px; left:270px; font-weight:normal; font-size:30px; opacity:0.5; width:130px; text-align:center;} | ||
+ | .left_slide_list_item:hover{opacity:0.8;} | ||
+ | .middle_slide_list_item{position:absolute; top:30px; left:400px; font-weight:bold; font-size:40px; opacity:1; width:200px; text-align:center;} | ||
+ | .right_slide_list_item{position:absolute; top:35px; left:600px; font-weight:normal; font-size:30px; opacity:0.5; width:130px; text-align:center;} | ||
+ | .right_slide_list_item:hover{opacity:0.8;} | ||
+ | /*end of Major body*/ | ||
+ | #AcknowledgementBox{ position:absolute; left:0px; top:1027px; width:980px;} | ||
+ | </style> | ||
+ | <!--navigationbar--> | ||
+ | <div id="navigationblock"> | ||
+ | <img id="navbarlogo" src="https://static.igem.org/mediawiki/igem.org/c/c9/Peking_Logo.jpg"/> | ||
+ | <ul id="navigationbar"> | ||
+ | <li id="PKU_navbar_Home" class="Navbar_Item"> | ||
+ | <a href="https://2013.igem.org/Team:Peking">home</a> | ||
+ | <ul id="Home_Sublist" > | ||
+ | <li><a>Item1</a></li> | ||
+ | <li><a>Item2</a></li> | ||
+ | <li><a>Item3</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li id="PKU_navbar_Team" class="Navbar_Item"> | ||
+ | <a href="https://2013.igem.org/Team:Peking/Team">team</a> | ||
+ | <ul id="Team_Sublist"> | ||
+ | <li><a>Item1</a></li> | ||
+ | <li><a>Item2</a></li> | ||
+ | <li><a>Item3</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li id="PKU_navbar_Project" class="Navbar_Item"> | ||
+ | <a href="https://2013.igem.org/Team:Peking/Project">project</a> | ||
+ | <ul id="Project_Sublist"> | ||
+ | <li><a>Item1</a></li> | ||
+ | <li><a>Item2</a></li> | ||
+ | <li><a>Item3</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li id="PKU_navbar_Model" class="Navbar_Item"> | ||
+ | <a href="https://2013.igem.org/Team:Peking/Model">model</a> | ||
+ | <ul id="Model_Sublist"> | ||
+ | <li><a>Item1</a></li> | ||
+ | <li><a>Item2</a></li> | ||
+ | <li><a>Item3</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li id="PKU_navbar_Lab" class="Navbar_Item"> | ||
+ | <a href="https://2013.igem.org/Team:Peking/Lab">lab</a> | ||
+ | <ul id="Lab_Sublist"> | ||
+ | <li><a>Item1</a></li> | ||
+ | <li><a>Item2</a></li> | ||
+ | <li><a>Item3</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li id="PKU_navbar_HumanPractice" class="Navbar_Item" style="width:120px"> | ||
+ | <a href="https://2013.igem.org/Team:Peking/HumanPractice">human practice</a> | ||
+ | <ul id="HumanPractice_Sublist"> | ||
+ | <li><a>Item1</a></li> | ||
+ | <li><a>Item2</a></li> | ||
+ | <li><a>Item3</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
- | </ | + | </ul> |
- | + | ||
+ | </div> | ||
+ | <!--end navigationbar--> | ||
- | + | <!--MajorBody--> | |
- | + | <div id="MajorBody"> | |
- | <!-- | + | <div id="ProjectTitle"> |
- | + | <h1 id="ProjectName">Aromatics Busted</h1> | |
- | + | </div> | |
- | + | <div class="slide_container"> | |
- | + | <div id="slide-1" class="inactivated_slide" > | |
- | + | <img src="https://static.igem.org/mediawiki/igem.org/9/93/%E6%9C%AA%E5%90%8D%E6%B9%961.jpg" /> | |
- | + | <div class="slide_passage"> | |
- | + | ||
- | + | ||
</div> | </div> | ||
- | |||
- | |||
- | |||
</div> | </div> | ||
- | < | + | <div id="slide-2" class="activated_slide"> |
- | + | <img src="https://static.igem.org/mediawiki/igem.org/d/d7/Abstract.jpg" /> | |
- | + | <div class="slide_passage"> | |
- | + | <p id="abstract_passage">Some prokaryotes, including Escherichia coli and Pseudomonas putida naturally produce enzymes capable of detecting toxic aromatic molecules and regulating the transcription of corresponding catabolic genes. However, these naturally existing biosensors are limited in terms of their detection range, expression leakage, and induction ratio.<br />This year our team designed a series of aromatic sensors and combined them with related enzymes from their original catabolic pathways to increase the number of molecules the sensors can detect. In order to semi-quantitatively measure the concentrations of these compounds, we constructed a biological band-pass circuit, enabling our sensors to detect the concentrations of target compounds within a certain range. Our system is a fast and easy way of detecting aromatic pollution, and another step forward in ensuring water safety. | |
- | + | </p> | |
- | + | </div> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
</div> | </div> | ||
- | + | <div id="slide-3" class="inactivated_slide"> | |
- | + | <img src="https://static.igem.org/mediawiki/igem.org/6/6f/%E6%9C%AA%E5%90%8D%E6%B9%966.jpg" /> | |
- | + | <div class="slide_passage"> | |
- | + | </div> | |
- | + | ||
- | + | ||
</div> | </div> | ||
- | + | <div class="slide_list_container"><div class="slide_list_background"></div> | |
- | + | <ul class="slide_list"> | |
- | + | <li class="left_slide_list_item" id="slide_list-1">Project</li> | |
- | + | <li class="middle_slide_list_item" id="slide_list-2">Abstract</li> | |
- | + | <li class="right_slide_list_item" id="slide_list-3">Team</li> | |
- | + | </ul> | |
</div> | </div> | ||
- | + | </div> | |
- | + | ||
- | </div> | + | |
- | < | + | </div><!--end of major body--> |
- | + | <img id="AcknowledgementBox" src="https://static.igem.org/mediawiki/igem.org/e/e9/Sponsers.jpg"> | |
- | + | <!--end of acknowledgement box--> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script> | |
- | + | <script type="text/javascript"> | |
- | + | function ChangeSlide(CurrentSlideId,NewSlideId) | |
- | + | {if(CurrentSlideId!=NewSlideId){ | |
- | < | + | $(NewSlideId).fadeOut(0); |
- | + | $(NewSlideId).removeClass("inactivated_slide"); | |
- | + | $(NewSlideId).addClass("transitional_slide"); | |
- | + | $(NewSlideId).fadeIn(function(){ | |
- | + | $(CurrentSlideId).removeClass("activated_slide"); | |
- | + | $(CurrentSlideId).addClass("inactivated_slide"); | |
- | + | $(NewSlideId).removeClass("transitional_slide"); | |
+ | $(NewSlideId).addClass("activated_slide"); | ||
+ | }); | ||
+ | } | ||
+ | } | ||
+ | function ChangeSlideList(CurrentLeftId,CurrentMiddleId,CurrentRightId,NewMiddleId) | ||
+ | { | ||
+ | if(CurrentLeftId==NewMiddleId) | ||
+ | { | ||
+ | $(CurrentRightId).fadeOut(0); | ||
+ | $(CurrentMiddleId).animate({left:"600px",fontSize:'30px',fontWeight:'normal'},function(){ | ||
+ | $(CurrentMiddleId).removeClass("middle_slide_list_item"); | ||
+ | $(CurrentMiddleId).css({left:"600px",fontSize:'30px',fontWeight:'normal'}); | ||
+ | $(CurrentMiddleId).addClass("right_slide_list_item"); | ||
+ | }); | ||
+ | $(CurrentLeftId).animate({left:"400px",fontSize:'40px',fontWeight:'bold'},function(){ | ||
+ | $(CurrentLeftId).removeClass("left_slide_list_item"); | ||
+ | $(CurrentLeftId).css({left:"400px",fontSize:'40px',fontWeight:'bold'}); | ||
+ | $(CurrentLeftId).addClass("middle_slide_list_item"); | ||
- | + | $(CurrentRightId).removeClass("right_slide_list_item"); | |
- | + | $(CurrentRightId).css({left:"270px",fontSize:'30px',fontWeight:'normal'}); | |
+ | $(CurrentRightId).addClass("left_slide_list_item"); | ||
+ | $(CurrentRightId).fadeIn(0); | ||
+ | }); | ||
+ | |||
+ | } | ||
+ | else if(CurrentRightId==NewMiddleId) | ||
+ | { | ||
+ | |||
+ | $(CurrentLeftId).fadeOut(0); | ||
+ | $(CurrentMiddleId).animate({left:"270px",fontSize:'30px',fontWeight:'normal'},function(){ | ||
+ | $(CurrentMiddleId).removeClass("middle_slide_list_item"); | ||
+ | $(CurrentMiddleId).css({left:"270px",fontSize:'30px',fontWeight:'normal'}); | ||
+ | $(CurrentMiddleId).addClass("left_slide_list_item"); | ||
+ | }); | ||
+ | $(CurrentRightId).animate({left:"400px",fontSize:'40px',fontWeight:'bold'},function(){ | ||
+ | $(CurrentRightId).removeClass("right_slide_list_item"); | ||
+ | $(CurrentRightId).css({left:"400px",fontSize:'40px',fontWeight:'bold'}); | ||
+ | $(CurrentRightId).addClass("middle_slide_list_item"); | ||
- | + | $(CurrentLeftId).removeClass("left_slide_list_item"); | |
- | + | $(CurrentLeftId).css({left:"600px",fontSize:'30px',fontWeight:'normal'}); | |
- | + | $(CurrentLeftId).addClass("right_slide_list_item"); | |
- | + | $(CurrentLeftId).fadeIn(0); | |
- | + | }); | |
- | + | } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | } | |
- | + | ||
- | + | ||
- | + | $("#slide_list-1").click(function(){ | |
- | + | ChangeSlide("#"+$(".activated_slide").attr("id"),"#slide-1"); | |
- | + | ChangeSlideList("#"+$(".left_slide_list_item").attr("id"), | |
- | + | "#"+$(".middle_slide_list_item").attr("id"), | |
- | + | "#"+$(".right_slide_list_item").attr("id"), | |
- | + | "#slide_list-1"); | |
- | + | }); | |
- | + | $("#slide_list-2").click(function(){ | |
- | + | ChangeSlide("#"+$(".activated_slide").attr("id"),"#slide-2"); | |
- | + | ChangeSlideList("#"+$(".left_slide_list_item").attr("id"), | |
- | + | "#"+$(".middle_slide_list_item").attr("id"), | |
- | + | "#"+$(".right_slide_list_item").attr("id"), | |
- | + | "#slide_list-2"); | |
- | + | }); | |
- | + | $("#slide_list-3").click(function(){ | |
- | + | ChangeSlide("#"+$(".activated_slide").attr("id"),"#slide-3"); | |
- | + | ChangeSlideList("#"+$(".left_slide_list_item").attr("id"), | |
- | + | "#"+$(".middle_slide_list_item").attr("id"), | |
- | + | "#"+$(".right_slide_list_item").attr("id"), | |
- | + | "#slide_list-3"); | |
- | + | }); | |
- | + | </script> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | </ | + | |
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
</html> | </html> |
Revision as of 18:11, 7 August 2013