Team:UT-Tokyo/Templates/BeginContent
From 2011.igem.org
(Difference between revisions)
Line 4: | Line 4: | ||
<style type="text/css"> | <style type="text/css"> | ||
+ | |||
+ | /* ごめんなさい勝手に付け加えてます。すぐさまの修正を望みますが… */ | ||
+ | div.float-left{float:left;} | ||
+ | div.float-right{float:right; width:487.5px;} | ||
+ | div.active{} | ||
+ | div.panel{overflow: hidden;} | ||
+ | |||
/* @group general settings */ | /* @group general settings */ | ||
Line 651: | Line 658: | ||
<html>') | <html>') | ||
}); | }); | ||
+ | |||
+ | // 同じく勝手に付け加えてます本当に申し訳ない | ||
+ | $(function(){ | ||
+ | $("div.panel").hide(); | ||
+ | $("div.trigger").click(function(){ | ||
+ | $(this).toggleClass("active").next().slideToggle("fast"); | ||
+ | }); | ||
+ | }) | ||
+ | |||
</script> | </script> | ||
<div id="header"> | <div id="header"> |
Revision as of 04:38, 20 September 2011