Team:NYMU-Taipei/Navigation

From 2013.igem.org

(Difference between revisions)
Line 116: Line 116:
color:#fff;
color:#fff;
}
}
 +
ul.sdt_menu li div.sdt_secsub {
 +
        float: left;
 +
        clear: both;
 +
        font-size: 20px;
 +
        line-height: 30px;
 +
        color: #ffffff;
 +
}
 +
</style>
</style>
</head>
</head>
Line 147: Line 155:
<div class="sdt_box" style="width: 210px; height: 170px;">
<div class="sdt_box" style="width: 210px; height: 170px;">
<a href="https://2013.igem.org/Team:NYMU-Taipei/Project/Enter">Enter of Bee.coli</a>
<a href="https://2013.igem.org/Team:NYMU-Taipei/Project/Enter">Enter of Bee.coli</a>
-
<a href="https://2013.igem.org/Team:NYMU-Taipei/Project/Survive">Survival Issue</a>
+
<a href="https://2013.igem.org/Team:NYMU-Taipei/Project/Inhibition">Inhibition Infection</a>
-
<a href="https://2013.igem.org/Team:NYMU-Taipei/Project/Sensor">Sensor</a>
+
                                                         <a href="https://2013.igem.org/Team:NYMU-Taipei/Project/Kill">Suicide Solution</a>
-
                                                        <a href="https://2013.igem.org/Team:NYMU-Taipei/Project/Restriction">Nosema Restriction</a>
+
-
                                                         <a href="https://2013.igem.org/Team:NYMU-Taipei/Project/Kill">Killing Sick Bee</a>
+
</div>
</div>
</li>
</li>
<li>
<li>
-
<a href="https://2013.igem.org/Team:NYMU-Taipei/Experiment">
+
<a href="https://2013.igem.org/Team:NYMU-Taipei/Experiments">
<img src="images/3.jpg" alt=""/>
<img src="images/3.jpg" alt=""/>
<span class="sdt_active"></span>
<span class="sdt_active"></span>
Line 232: Line 238:
left = '-127px';
left = '-127px';
$sub_menu.show().animate({'left':left},100);
$sub_menu.show().animate({'left':left},100);
 +
                                                        $secsub_menu = $element.find('.sdt_secsub')
 +
                                                        if($secsub_menu){
 +
                                                                var left = '254px'
 +
                                                                if($elem.parent().children().length == $elem.index()+1)
 +
                                                                var left = '-254px'
 +
                                                                $secsub_menu.show().animate({'left':left},100);
 +
                                                        }
}
}
});
});

Revision as of 13:19, 19 September 2013