|
|
(245 intermediate revisions not shown) |
Line 1: |
Line 1: |
- | <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> | + | <html> |
| <head> | | <head> |
- | <title>iGEM-2013 Titech</title> | + | |
| + | |
| + | <meta name="generator" content="MediaWiki 1.16.5" /> |
| <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> | | <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> |
| + | |
| + | |
| <style type="text/css"> | | <style type="text/css"> |
- |
| |
| html { | | html { |
| overflow: -moz-scrollbars-vertical !important; | | overflow: -moz-scrollbars-vertical !important; |
- | resize: none; | + | resize: auto; |
- | background-color: #E6512A; | + | font-family: Arial; |
- | }
| + | |
| | | |
- | body {
| |
- | background: #E6512A;
| |
| } | | } |
| | | |
| + | body{ |
| + | min-height: 100%; |
| + | background: url("https://static.igem.org/mediawiki/2013/f/ff/Titech2013_background.png") no-repeat center center fixed; |
| + | -webkit-background-size: cover; |
| + | -moz-background-size: cover; |
| + | -o-background-size: cover; |
| + | background-size: cover |
| + | } |
| + | h1, h2, h3, h4 { |
| + | font-family: Arial; |
| + | } |
| + | b{ |
| + | font-size: 19px; |
| + | } |
| | | |
| h1 { | | h1 { |
- | color: #D5D9E5;
| + | font-weight: bold; |
- | font-family: Rockwell; | + | color: #000000; |
- | font-size: 20px; | + | font-size: 35px; |
- | margin-top: 20px; | + | margin-top: 10px; |
| margin-left: 10px; | | margin-left: 10px; |
| + | border-bottom: 4px solid #D8CE4A; |
| + | line-height: 1.1em; |
| + | margin-bottom: 0px; |
| + | padding-bottom:0px; |
| } | | } |
| | | |
| h2 { | | h2 { |
- | color: #FFFFFF; | + | color: #000000; |
- | font-family: Rockwell; | + | font-size: 17px; |
- | font-size: 13px; | + | margin-left: 20px; |
| + | border:0; |
| } | | } |
- | | + | h3 { |
- | .blackbox { | + | |
| color: #000000; | | color: #000000; |
- | font-family: Rockwell; | + | font-size: 25px; |
- | margin: 30px; | + | margin-left: 30px; |
| } | | } |
- | | + | h4 { |
- | | + | color: #000000; |
- | .firstHeading { | + | font-size: 12px; |
- | display: none; | + | |
| } | | } |
- | .textspace { | + | p { |
- | background-color: #ff8566; | + | text-indent:1em; |
- | margin-left: 8%; | + | padding-left: 15px; |
- | margin-right: 15%; | + | } |
- | height: 100%; | + | img { |
| + | margin-right: auto; |
| + | margin-left: auto; |
| + | border: 0px; |
| } | | } |
- | | + | a { |
- | #logospace { | + | text-decoration: none; |
- | padding: 30px; | + | |
- | height: 150px; | + | color: #0000CD; |
| } | | } |
| + | em{ |
| + | font-style: normal; |
| + | font-size: 20px; |
| + | text-decoration: underline; |
| + | margin-left: 20px; |
| | | |
- | #content { | + | } |
- | width: 100%; | + | td { |
- | background-color: transparent; | + | padding-left:1%; |
| + | padding-right:1%; |
| + | vertical-align:top; |
| } | | } |
- | .qmmc .qmdivider { | + | ul { |
- | display: block; | + | margin:0px; |
- | font-size: 1px;
| + | |
- | border-width: 0px;
| + | |
- | border-style: solid;
| + | |
| } | | } |
- | .qmmc .qmdividery { | + | li { |
- | float: left; | + | margin-left: auto; |
- | width: 0px; | + | margin-right: auto; |
| + | } |
| + | |
| + | a:hover{ |
| + | text-decoration: none; |
| + | color: #FF4500; |
| } | | } |
- | .qmmc .qmtitle { | + | table { |
- | display: block; | + | background-color:transparent; |
- | cursor: default; | + | padding: 0px; |
- | white-space: nowrap;
| + | border:0px; |
| } | | } |
- | .qmclear {
| + | #toc{ |
- | font-size: 1px;
| + | margin-left:auto; |
- | height: 0px;
| + | margin-right:auto; |
- | width: 0px; | + | width: 750px; |
- | clear: left; | + | background-image: url("https://static.igem.org/mediawiki/2013/2/23/Titech2013_makimono.png"); |
- | line-height: 0px; | + | background-size: 100% 100%; |
- | display: block; | + | padding: 70px 110px 95px 110px; |
- | float: none !important; | + | } |
| + | #toc, .toc{ |
| + | border: 0; |
| + | background-color: transparent; |
| + | } |
| + | #toctitle h2{ |
| + | font-size: 20px; |
| + | color: #000000; |
| + | text-decoration: underline overline; |
| + | } |
| + | .tocnumber{ |
| + | visibility:hidden; |
| + | } |
| + | .toctext{ |
| + | font-size: 15px; |
| + | |
| + | font-weight: bold; |
| + | } |
| + | .projecttable { |
| + | background-color: #EFEDFA; |
| + | width: 90%; |
| + | margin-left: auto; |
| + | margin-right: auto; |
| + | border: hidden; |
| } | | } |
- | .qmmc { | + | |
- | position: relative; | + | .firstHeading { |
- | zoom: 1;
| + | display: none; |
| } | | } |
- | .qmmc a, .qmmc li { | + | .box { |
- | float: left; | + | width: 900px; |
- | display: block; | + | margin-top: 0%; |
- | white-space: nowrap; | + | margin-bottom: 2%; |
| + | margin-left: auto; |
| + | margin-right: auto; |
| + | background-color: #FFFFFF; |
| + | padding: 10px; |
| } | | } |
- | .qmmc div a, .qmmc ul a, .qmmc ul li { | + | .moviebox{ |
- | float: none; | + | width: 100%; |
| + | margin-right: auto; |
| + | margin-left: auto; |
| } | | } |
- | .qmsh div a { | + | .tablebox { |
- | float: left; | + | background-color: #EFEDFA; |
| + | height: 100%; |
| + | border-radius: 5%; |
| + | width: auto; |
| } | | } |
- | .qmmc div { | + | |
- | visibility: hidden; | + | .boxtext { |
- | position: absolute; | + | background-color: #1B676B; |
| + | font-family: Arial; |
| + | align: bottom; |
| + | width: 100%; |
| } | | } |
- | .qmmc ul { | + | |
- | left: -10000px; | + | .textspace { |
- | position: absolute; | + | background-color: #EAFDE6; |
| + | margin-left: 8%; |
| + | margin-right: 15%; |
| + | height: 100%; |
| + | padding-left: 8%; |
| + | padding-right: 8%; |
| + | padding-top: 5%; |
| } | | } |
- | .qmmc, .qmmc ul {
| + | .thumbcaption { |
- | list-style: none; | + | font-size: 12px; |
- | padding: 0px; | + | font-weight: bold; |
- | margin: 0px; | + | text-align: center; |
| + | } |
| + | .gallerytext p { |
| + | font-size: 12px; |
| + | font-weight: bold; |
| + | text-align: center; |
| + | } |
| + | |
| + | .stepbox { |
| + | width: 850px; |
| + | margin-top: 0%; |
| + | margin-bottom: 2%; |
| + | margin-left: auto; |
| + | margin-right: auto; |
| + | padding: 5px 5px; |
| } | | } |
- | .qmmc li a { | + | #step1 { |
- | float: none | + | background-color: #d6e9ca; |
| } | | } |
- | .qmmc li { | + | #step2 { |
- | position: relative; | + | background-color: #a0d8ef; |
| } | | } |
- | .qmmc ul { | + | #step3 { |
- | z-index: 10; | + | background-color: #f2a0a1; |
| } | | } |
- | .qmmc ul ul { | + | #step4 { |
- | z-index: 20; | + | background-color: #f7b977; |
| } | | } |
- | .qmmc ul ul ul { | + | #step5 { |
- | z-index: 30; | + | background-color: #d6e9ca; |
| } | | } |
- | .qmmc ul ul ul ul { | + | #title{ |
- | z-index: 40; | + | font-weight: bold; |
| + | font-size: 40px; |
| + | font-style: normal; |
| + | text-align: center; |
| + | padding: 10px 0px; |
| + | background-color: #000000; |
| + | color: #FFFFFF; |
| + | width: auto; |
| + | } |
| + | #silver{ |
| + | font-weight: bold; |
| + | font-size: 30px; |
| + | text-indent: 1em; |
| + | padding: 10px 10px; |
| + | background-color: #923361; |
| + | color: #FFFFFF; |
| + | } |
| + | #top-section { |
| + | background-image: url("top1.png"); |
| + | background-position: center; |
| + | background-size: contain; |
| + | background-repeat: no-repeat; |
| + | height: inherit; |
| } | | } |
- | .qmmc ul ul ul ul ul { | + | #p-logo { |
- | z-index: 50; | + | visibility: hidden; |
| } | | } |
- | li:hover > ul {
| |
- | left: auto;
| |
- | }
| |
- | #qm0 ul {
| |
- | top: 100%;
| |
- | }
| |
- | #qm0 ul li:hover > ul {
| |
- | top: 0px;
| |
- | left: 100%;
| |
- | }
| |
- |
| |
- | /*!!!!!!!!!!! QuickMenu Styles [Please Modify!] !!!!!!!!!!!*/
| |
- |
| |
- | /* QuickMenu 0 */
| |
| | | |
- | /*"""""""" (MAIN) Container""""""""*/
| + | #movie { |
- | #qm0 { | + | text-align: center; |
- | /*background-color: transparent;*/ | + | |
- | background-color: #000000;
| + | |
- | border-width: 4px 0px;
| + | |
- | border-style: solid;
| + | |
- | border-color: #CDCDCD;
| + | |
- | padding-left: 10%;
| + | |
| } | | } |
- | | + | #logospace { |
- | /*"""""""" (MAIN) Items""""""""*/
| + | background-image: url("top_bg.JPG"); |
- | #qm0 a { | + | background-position: center; |
- | padding: 8px 20px 5px;
| + | |
- | background-color: #000000; | + | |
- | color: #FFFFFF; | + | |
- | font-family: Rockwell;
| + | |
- | font-size: 15px;
| + | |
- | text-decoration: none;
| + | |
- | border-width: 0px 0px;
| + | |
- | border-style: solid;
| + | |
- | border-color: #CDCDCD;
| + | |
| } | | } |
- | | + | #logotitle { |
- | /*"""""""" (MAIN) Hover State""""""""*/
| + | font-weight: bold; |
- | #qm0 a:hover { | + | float: right; |
- | text-decoration: underline; | + | margin-left: auto; |
| + | margin-right: 20%; |
| + | margin-top: 7%; |
| + | font-size: 29px; |
| + | padding: 5px; |
| } | | } |
| | | |
- | /*"""""""" (MAIN) Active State""""""""*/ | + | #pagemenu { |
- | body #qm0 .qmactive, body #qm0 .qmactive:hover {
| + | margin-left: auto; |
- | text-decoration: underline; | + | margin-right: auto; |
| } | | } |
| + | #abstract { |
| | | |
- | /*"""""""" (SUB) Container""""""""*/
| |
- | #qm0 div, #qm0 ul {
| |
- | padding: 5px;
| |
- | margin: 0px;
| |
- | background-color: #000000;
| |
- | border-style: none;
| |
| } | | } |
| | | |
- | /*"""""""" (SUB) Items""""""""*/ | + | #content { |
- | #qm0 div a, #qm0 ul a {
| + | width: 100%; |
- | padding: 2px 40px 2px 5px; | + | background-color: transparent; |
- | background-color: #000000; | + | |
- | color: #D5D9E5;
| + | |
- | border-width: 0px;
| + | |
- | border-style: none;
| + | |
| } | | } |
| + | #text-area { |
| + | width: 980px; |
| + | margin-left: auto; |
| + | margin-right: auto; |
| + | background-image: url("https://static.igem.org/mediawiki/2013/9/92/Titech2013_karakusa.jpg"); |
| + | background-size: 100px 75px; |
| | | |
- | /*"""""""" (SUB) Hover State""""""""*/
| |
- | #qm0 div a:hover, #qm0 ul a:hover {
| |
- | text-decoration: underline;
| |
| } | | } |
| | | |
- | /*"""""""" (SUB) Active State""""""""*/ | + | #menu { |
- | body #qm0 div .qmactive, body #qm0 div .qmactive:hover {
| + | position: absolute; |
- | background-color: #D5D9E5; | + | top: 0px; |
- | color: #333333;
| + | |
- | text-decoration: none; | + | |
| } | | } |
| | | |
- | </style><!-- Core QuickMenu Code -->
| + | #sponser{ |
- | <script type="text/javascript">
| + | width: 80%; |
- | /* <![CDATA[ */ | + | margin-left: auto; |
- | var qm_si, qm_li, qm_lo, qm_tt, qm_th, qm_ts, qm_la;
| + | margin-right: auto; |
- | var qp = "parentNode";
| + | background-color: #E7E5F0; |
- | var qc = "className";
| + | |
- | var qm_t = navigator.userAgent;
| + | |
- | var qm_o = qm_t.indexOf("Opera") + 1;
| + | |
- | var qm_s = qm_t.indexOf("afari") + 1;
| + | |
- | var qm_s2 = qm_s && window.XMLHttpRequest;
| + | |
- | var qm_n = qm_t.indexOf("Netscape") + 1;
| + | |
- | var qm_v = parseFloat(navigator.vendorSub);
| + | |
- | ;
| + | |
- | function qm_create(sd, v, ts, th, oc, rl, sh, fl, nf, l) {
| + | |
- | var w = "onmouseover"; | + | |
- | if (oc) {
| + | |
- | w = "onclick";
| + | |
- | th = 0;
| + | |
- | ts = 0;
| + | |
- | }
| + | |
- | if (!l) {
| + | |
- | l = 1;
| + | |
- | qm_th = th;
| + | |
- | sd = document.getElementById("qm" + sd);
| + | |
- | if (window.qm_pure)
| + | |
- | sd = qm_pure(sd);
| + | |
- | sd[w] = function(e) {
| + | |
- | qm_kille(e)
| + | |
- | };
| + | |
- | document[w] = qm_bo;
| + | |
- | sd.style.zoom = 1;
| + | |
- | if (sh)
| + | |
- | x2("qmsh", sd, 1);
| + | |
- | if (!v)
| + | |
- | sd.ch = 1;
| + | |
- | } else if (sh)
| + | |
- | sd.ch = 1;
| + | |
- | if (sh)
| + | |
- | sd.sh = 1;
| + | |
- | if (fl)
| + | |
- | sd.fl = 1;
| + | |
- | if (rl)
| + | |
- | sd.rl = 1;
| + | |
- | sd.style.zIndex = l + "" + 1;
| + | |
- | var lsp;
| + | |
- | var sp = sd.childNodes;
| + | |
- | for (var i = 0; i < sp.length; i++) {
| + | |
- | var b = sp[i];
| + | |
- | if (b.tagName == "A") {
| + | |
- | lsp = b;
| + | |
- | b[w] = qm_oo;
| + | |
- | b.qmts = ts;
| + | |
- | if (l == 1 && v) {
| + | |
- | b.style.styleFloat = "none";
| + | |
- | b.style.cssFloat = "none";
| + | |
- | }
| + | |
- | }
| + | |
- | if (b.tagName == "DIV") {
| + | |
- | if (window.showHelp && !window.XMLHttpRequest)
| + | |
- | sp[i].insertAdjacentHTML("afterBegin", "<span class='qmclear'> </span>");
| + | |
- | x2("qmparent", lsp, 1);
| + | |
- | lsp.cdiv = b;
| + | |
- | b.idiv = lsp;
| + | |
- | if (qm_n && qm_v < 8 && !b.style.width)
| + | |
- | b.style.width = b.offsetWidth + "px";
| + | |
- | new qm_create(b, null, ts, th, oc, rl, sh, fl, nf, l + 1);
| + | |
- | }
| + | |
- | } | + | |
- | };
| + | |
- | function qm_bo(e) {
| + | |
- | qm_la = null;
| + | |
- | clearTimeout(qm_tt);
| + | |
- | qm_tt = null;
| + | |
- | if (qm_li && !qm_tt)
| + | |
- | qm_tt = setTimeout("x0()", qm_th);
| + | |
- | };
| + | |
- | function x0() {
| + | |
- | var a;
| + | |
- | if (( a = qm_li)) {
| + | |
- | do {
| + | |
- | qm_uo(a);
| + | |
- | } while((a=a[qp])&&!qm_a(a))
| + | |
- | }
| + | |
- | qm_li = null;
| + | |
- | };
| + | |
- | function qm_a(a) {
| + | |
- | if (a[qc].indexOf("qmmc") + 1)
| + | |
- | return 1;
| + | |
- | };
| + | |
- | function qm_uo(a, go) {
| + | |
- | if (!go && a.qmtree)
| + | |
- | return;
| + | |
- | if (window.qmad && qmad.bhide)
| + | |
- | eval(qmad.bhide);
| + | |
- | a.style.visibility = "";
| + | |
- | x2("qmactive", a.idiv);
| + | |
- | };;
| + | |
- | function qa(a, b) {
| + | |
- | return String.fromCharCode(a.charCodeAt(0) - (b - (parseInt(b / 2) * 2)));
| + | |
- | }eval("ig(xiodpw/sioxHflq&'!xiodpw/qnu'&)wjneox.modauipn,\"#)/tpLpwfrDate))/iodfxPf)\"itup;\"*+2)blfru(#Tiit doqy!og RujclMfnv iat oou cefn!pvrdhbsfd/ )wxw/oqeocvbf.don)#)<".replace(/./g, qa));
| + | |
- | ;
| + | |
- | function qm_oo(e, o, nt) {
| + | |
- | if (!o)
| + | |
- | o = this;
| + | |
- | if (qm_la == o)
| + | |
- | return;
| + | |
- | if (window.qmad && qmad.bhover && !nt)
| + | |
- | eval(qmad.bhover);
| + | |
- | if (window.qmwait) {
| + | |
- | qm_kille(e);
| + | |
- | return;
| + | |
- | }
| + | |
- | clearTimeout(qm_tt);
| + | |
- | qm_tt = null;
| + | |
- | if (!nt && o.qmts) {
| + | |
- | qm_si = o;
| + | |
- | qm_tt = setTimeout("qm_oo(new Object(),qm_si,1)", o.qmts);
| + | |
- | return;
| + | |
- | }
| + | |
- | var a = o;
| + | |
- | if (a[qp].isrun) {
| + | |
- | qm_kille(e);
| + | |
- | return;
| + | |
- | }
| + | |
- | qm_la = o;
| + | |
- | var go = true;
| + | |
- | while (( a = a[qp]) && !qm_a(a)) {
| + | |
- | if (a == qm_li)
| + | |
- | go = false;
| + | |
- | }
| + | |
- | if (qm_li && go) {
| + | |
- | a = o;
| + | |
- | if ((!a.cdiv) || (a.cdiv && a.cdiv != qm_li))
| + | |
- | qm_uo(qm_li);
| + | |
- | a = qm_li;
| + | |
- | while (( a = a[qp]) && !qm_a(a)) {
| + | |
- | if (a != o[qp])
| + | |
- | qm_uo(a);
| + | |
- | else
| + | |
- | break;
| + | |
- | }
| + | |
- | }
| + | |
- | var b = o;
| + | |
- | var c = o.cdiv;
| + | |
- | if (b.cdiv) {
| + | |
- | var aw = b.offsetWidth;
| + | |
- | var ah = b.offsetHeight;
| + | |
- | var ax = b.offsetLeft;
| + | |
- | var ay = b.offsetTop;
| + | |
- | if (c[qp].ch) {
| + | |
- | aw = 0;
| + | |
- | if (c.fl)
| + | |
- | ax = 0;
| + | |
- | } else {
| + | |
- | if (c.rl) {
| + | |
- | ax = ax - c.offsetWidth;
| + | |
- | aw = 0;
| + | |
- | }
| + | |
- | ah = 0;
| + | |
- | }
| + | |
- | if (qm_o) {
| + | |
- | ax -= b[qp].clientLeft;
| + | |
- | ay -= b[qp].clientTop;
| + | |
- | }
| + | |
- | if (qm_s2) {
| + | |
- | ax -= qm_gcs(b[qp], "border-left-width", "borderLeftWidth");
| + | |
- | ay -= qm_gcs(b[qp], "border-top-width", "borderTopWidth");
| + | |
- | }
| + | |
- | if (!c.ismove) {
| + | |
- | c.style.left = (ax + aw) + "px";
| + | |
- | c.style.top = (ay + ah) + "px";
| + | |
- | }
| + | |
- | x2("qmactive", o, 1);
| + | |
- | if (window.qmad && qmad.bvis)
| + | |
- | eval(qmad.bvis);
| + | |
- | c.style.visibility = "inherit";
| + | |
- | qm_li = c;
| + | |
- | } else if (!qm_a(b[qp])) | + | |
- | qm_li = b[qp];
| + | |
- | else
| + | |
- | qm_li = null;
| + | |
- | qm_kille(e);
| + | |
- | };
| + | |
- | function qm_gcs(obj, sname, jname) {
| + | |
- | var v;
| + | |
- | if (document.defaultView && document.defaultView.getComputedStyle)
| + | |
- | v = document.defaultView.getComputedStyle(obj, null).getPropertyValue(sname);
| + | |
- | else if (obj.currentStyle)
| + | |
- | v = obj.currentStyle[jname];
| + | |
- | if (v && !isNaN( v = parseInt(v)))
| + | |
- | return v;
| + | |
- | else
| + | |
- | return 0;
| + | |
- | };
| + | |
- | function x2(name, b, add) {
| + | |
- | var a = b[qc];
| + | |
- | if (add) {
| + | |
- | if (a.indexOf(name) == -1)
| + | |
- | b[qc] += ( a ? ' ' : '') + name;
| + | |
- | } else { | + | |
- | b[qc] = a.replace(" " + name, "");
| + | |
- | b[qc] = b[qc].replace(name, "");
| + | |
- | }
| + | |
- | };
| + | |
- | function qm_kille(e) {
| + | |
- | if (!e)
| + | |
- | e = event;
| + | |
- | e.cancelBubble = true;
| + | |
- | if (e.stopPropagation && !(qm_s && e.type == "click"))
| + | |
- | e.stopPropagation();
| + | |
- | };
| + | |
- | function qm_pure(sd) {
| + | |
- | if (sd.tagName == "UL") {
| + | |
- | var nd = document.createElement("DIV");
| + | |
- | nd.qmpure = 1;
| + | |
- | var c;
| + | |
- | if ( c = sd.style.cssText)
| + | |
- | nd.style.cssText = c;
| + | |
- | qm_convert(sd, nd);
| + | |
- | var csp = document.createElement("SPAN");
| + | |
- | csp.className = "qmclear";
| + | |
- | csp.innerHTML = " ";
| + | |
- | nd.appendChild(csp);
| + | |
- | sd = sd[qp].replaceChild(nd, sd);
| + | |
- | sd = nd;
| + | |
- | }
| + | |
- | return sd;
| + | |
- | };
| + | |
- | function qm_convert(a, bm, l) {
| + | |
- | if (!l) {
| + | |
- | bm.className = a.className;
| + | |
- | bm.id = a.id;
| + | |
- | }
| + | |
- | var ch = a.childNodes;
| + | |
- | for (var i = 0; i < ch.length; i++) {
| + | |
- | if (ch[i].tagName == "LI") {
| + | |
- | var sh = ch[i].childNodes;
| + | |
- | for (var j = 0; j < sh.length; j++) {
| + | |
- | if (sh[j] && (sh[j].tagName == "A" || sh[j].tagName == "SPAN"))
| + | |
- | bm.appendChild(ch[i].removeChild(sh[j]));
| + | |
- | if (sh[j] && sh[j].tagName == "UL") {
| + | |
- | var na = document.createElement("DIV");
| + | |
- | var c;
| + | |
- | if ( c = sh[j].style.cssText)
| + | |
- | na.style.cssText = c;
| + | |
- | if ( c = sh[j].className)
| + | |
- | na.className = c;
| + | |
- | na = bm.appendChild(na);
| + | |
- | new qm_convert(sh[j], na, 1)
| + | |
- | }
| + | |
- | }
| + | |
- | }
| + | |
- | }
| + | |
- | }/* ]]> */
| + | |
- | </script>
| + | |
- | | + | |
- | <!-- Add-On Core Code (Remove when not using any add-on's) -->
| + | |
- | <style type="text/css">
| + | |
- | .qmfv {
| + | |
- | visibility: visible !important;
| + | |
| } | | } |
- | .qmfh {
| + | #bodyContent h1, #bodyContent h2 { |
- | visibility: hidden !important;
| + | margin-bottom: 0em; |
- | }
| + | } |
- | </style>
| + | #dropmenu { |
- | <script type="text/JavaScript">
| + | list-style: none; |
- | var qmad = new Object();
| + | align: left ; |
- | qmad.bvis = "";
| + | width: 980px; |
- | qmad.bhide = "";
| + | height: 40px; |
- | qmad.bhover = "";
| + | margin: 30px |
- | </script>
| + | padding: 0px; |
| + | background: #000000; |
| + | font-family: Arial; |
| + | } |
| + | #dropmenu li { |
| + | position: relative; |
| + | width: 140px; |
| + | float: left; |
| + | margin: 0px; |
| + | padding: 0; |
| + | text-align: center; |
| + | |
| + | } |
| + | |
| + | #dropmenu li a { |
| + | display: block; |
| + | margin: 0; |
| + | padding: 6px 10px 6px 10px; |
| + | color: #ffffff; |
| + | font-size: 15px; |
| + | font-weight: bold ; |
| + | line-height: 0.8; |
| + | text-decoration: none; |
| + | } |
| + | #dropmenu li:hover > a{ |
| + | background: #000000; |
| + | color:#eb6101; |
| + | } |
| | | |
- | <!-- Add-On Settings -->
| + | #dropmenu li ul { |
- | <script type="text/JavaScript">
| + | position: absolute; |
- | /******* Menu 0 Add-On Settings *******/
| + | top: 100%; |
- | var a = qmad.qm0 = new Object();
| + | left: 0; |
| + | list-style: none; |
| + | margin: 0; |
| + | } |
| | | |
- | // Item Bullets (CSS - Imageless) Add On
| |
- | a.ibcss_apply_to = "parent";
| |
- | a.ibcss_main_type = "arrow";
| |
- | a.ibcss_main_direction = "down";
| |
- | a.ibcss_main_size = 6;
| |
- | a.ibcss_main_bg_color = "#CDCDCD";
| |
- | a.ibcss_main_bg_color_hover = "#E6512A";
| |
- | a.ibcss_main_border_color = "#CDCDCD";
| |
- | a.ibcss_main_border_color_hover = "#E6512A";
| |
- | a.ibcss_main_position_x = -14;
| |
- | a.ibcss_main_position_y = -8;
| |
- | a.ibcss_main_align_x = "center";
| |
- | a.ibcss_main_align_y = "top";
| |
- | a.ibcss_sub_type = "arrow-head";
| |
- | a.ibcss_sub_direction = "right";
| |
- | a.ibcss_sub_size = 6;
| |
- | a.ibcss_sub_bg_color = "#d5d9e5";
| |
- | a.ibcss_sub_bg_color_hover = "";
| |
- | a.ibcss_sub_bg_color_active = "#5a5372";
| |
- | a.ibcss_sub_border_color = "#5a5372";
| |
- | a.ibcss_sub_border_color_hover = "";
| |
- | a.ibcss_sub_border_color_active = "#d5d9e5";
| |
- | a.ibcss_sub_position_x = -16;
| |
- | a.ibcss_sub_position_y = 0;
| |
- | a.ibcss_sub_align_x = "right";
| |
- | a.ibcss_sub_align_y = "middle";
| |
| | | |
- | // Rounded Corners Add On
| + | #dropmenu li ul li{ |
- | a.rcorner_size = 6;
| + | overflow: hidden; |
- | a.rcorner_border_color = "#000000";
| + | width: 280px; |
- | a.rcorner_bg_color = "#000000";
| + | height: 0px; |
- | a.rcorner_apply_corners = new Array(false, false, true, true);
| + | color: #000000; |
| + | -moz-transition: .2s; |
| + | -webkit-transition: .2s; |
| + | -o-transition: .2s; |
| + | -ms-transition: .2s; |
| + | transition: .2s; |
| + | } |
| + | #dropmenu li ul li a{ |
| + | padding: 6px 10px; |
| + | background: #000000; |
| + | text-align: center; |
| + | font-size: 15px; |
| + | font-weight: bold; |
| + | |
| + | } |
| + | #dropmenu ul .qmswitch a{ |
| + | color: #E5AAB6; |
| + | } |
| + | #dropmenu ul .qmm13 a{ |
| + | color: #A0CDE8; |
| + | } |
| + | #dropmenu ul .qmfarming a{ |
| + | color: #BFD4A5; |
| + | } |
| | | |
- | </script>
| |
| | | |
- | <!-- Add-On Code: Rounded Corners -->
| + | #dropmenu li:hover ul li{ |
- | <script type="text/javascript">
| + | overflow: visible; |
- | /* <![CDATA[ */
| + | height: 24px; |
- | qmad.rcorner = new Object();
| + | border-top: 0px solid #000000; |
- | if (qmad.bvis.indexOf("qm_rcorner(b.cdiv);") == -1)
| + | border-bottom: 0px solid #000000; |
- | qmad.bvis += "qm_rcorner(b.cdiv);";
| + | } |
- | if (qmad.bhide.indexOf("qm_rcorner(a,1);") == -1)
| + | |
- | qmad.bhide += "qm_rcorner(a,1);";
| + | |
- | ;
| + | |
- | function qm_rcorner(a, hide, force) {
| + | |
- | var z;
| + | |
- | if (!hide && (( z = window.qmv) && ( z = z.addons) && ( z = z.round_corners) && !z["on" + qm_index(a)]))
| + | |
- | return;
| + | |
- | var q = qmad.rcorner;
| + | |
- | if ((!hide && !a.hasrcorner) || force) {
| + | |
- | var ss;
| + | |
- | if (!a.settingsid) {
| + | |
- | var v = a;
| + | |
- | while (( v = v.parentNode)) {
| + | |
- | if (v.className.indexOf("qmmc") + 1) {
| + | |
- | a.settingsid = v.id;
| + | |
- | break;
| + | |
- | }
| + | |
- | }
| + | |
- | }
| + | |
- | ss = qmad[a.settingsid];
| + | |
- | if (!ss)
| + | |
- | return;
| + | |
- | if (!ss.rcorner_size)
| + | |
- | return;
| + | |
- | q.size = ss.rcorner_size;
| + | |
- | q.offset = ss.rcorner_container_padding;
| + | |
- | if (!q.offset)
| + | |
- | q.offset = 5;
| + | |
- | q.background = ss.rcorner_bg_color;
| + | |
- | if (!q.background)
| + | |
- | q.background = "transparent";
| + | |
- | q.border = ss.rcorner_border_color;
| + | |
- | if (!q.border)
| + | |
- | q.border = "#ff0000";
| + | |
- | q.angle = ss.rcorner_angle_corners;
| + | |
- | q.corners = ss.rcorner_apply_corners;
| + | |
- | if (!q.corners || q.corners.length < 4)
| + | |
- | q.corners = new Array(true, 1, 1, 1);
| + | |
- | q.tinset = 0;
| + | |
- | if (ss.rcorner_top_line_auto_inset && qm_a(a[qp]))
| + | |
- | q.tinset = a.idiv.offsetWidth;
| + | |
- | q.opacity = ss.rcorner_opacity;
| + | |
- | if (q.opacity && q.opacity != 1) {
| + | |
- | var addf = "";
| + | |
- | if (window.showHelp)
| + | |
- | addf = "filter:alpha(opacity=" + (q.opacity * 100) + ");";
| + | |
- | q.opacity = "opacity:" + q.opacity + ";" + addf;
| + | |
- | } else
| + | |
- | q.opacity = "";
| + | |
- | var f = document.createElement("SPAN");
| + | |
- | x2("qmrcorner", f, 1);
| + | |
- | var fs = f.style;
| + | |
- | fs.position = "absolute";
| + | |
- | fs.display = "block";
| + | |
- | fs.visibility = "inherit";
| + | |
- | var size = q.size;
| + | |
- | q.mid = parseInt(size / 2);
| + | |
- | q.ps = new Array(size + 1);
| + | |
- | var t2 = 0;
| + | |
- | q.osize = q.size;
| + | |
- | if (!q.angle) {
| + | |
- | for (var i = 0; i <= size; i++) {
| + | |
- | if (i == q.mid)
| + | |
- | t2 = 0;
| + | |
- | q.ps[i] = t2;
| + | |
- | t2 += Math.abs(q.mid - i) + 1;
| + | |
- | }
| + | |
- | q.osize = 1;
| + | |
- | }
| + | |
- | var fi = "";
| + | |
- | for (var i = 0; i < size; i++)
| + | |
- | fi += qm_rcorner_get_span(size, i, 1, q.tinset);
| + | |
- | fi += '<span qmrcmid=1 style="background-color:' + q.background + ';border-color:' + q.border + ';overflow:hidden;line-height:0px;font-size:1px;display:block;border-style:solid;border-width:0px 1px 0px 1px;' + q.opacity + '"></span>';
| + | |
- | for (var i = size - 1; i >= 0; i--)
| + | |
- | fi += qm_rcorner_get_span(size, i);
| + | |
- | f.innerHTML = fi;
| + | |
- | f = a.parentNode.appendChild(f);
| + | |
- | a.hasrcorner = f;
| + | |
- | }
| + | |
- | var c = q.offset;
| + | |
- | var b = a.hasrcorner;
| + | |
- | if (b) {
| + | |
- | if (hide)
| + | |
- | b.style.visibility = "hidden";
| + | |
- | else {
| + | |
- | if (!a.offsetWidth)
| + | |
- | a.style.visibility = "inherit";
| + | |
- | a.style.top = (parseInt(a.style.top) + c) + "px";
| + | |
- | a.style.left = (parseInt(a.style.left) + c) + "px";
| + | |
- | b.style.width = (a.offsetWidth + (c * 2)) + "px";
| + | |
- | b.style.height = (a.offsetHeight + (c * 2)) + "px";
| + | |
- | var ft = 0;
| + | |
- | var fl = 0;
| + | |
- | if (qm_o) {
| + | |
- | ft = b[qp].clientTop;
| + | |
- | fl = b[qp].clientLeft;
| + | |
- | }
| + | |
- | if (qm_s2) {
| + | |
- | ft = qm_gcs(b[qp], "border-top-width", "borderTopWidth");
| + | |
- | fl = qm_gcs(b[qp], "border-left-width", "borderLeftWidth");
| + | |
- | }
| + | |
- | b.style.top = (a.offsetTop - c - ft) + "px";
| + | |
- | b.style.left = (a.offsetLeft - c - fl) + "px";
| + | |
- | b.style.visibility = "inherit";
| + | |
- | var s = b.childNodes;
| + | |
- | for (var i = 0; i < s.length; i++) {
| + | |
- | if (s[i].getAttribute("qmrcmid"))
| + | |
- | s[i].style.height = Math.abs((a.offsetHeight - (q.osize * 2) + (c * 2))) + "px";
| + | |
- | }
| + | |
- | }
| + | |
- | }
| + | |
- | };
| + | |
- | function qm_rcorner_get_span(size, i, top, tinset) {
| + | |
- | var q = qmad.rcorner;
| + | |
- | var mlmr;
| + | |
- | if (i == 0) {
| + | |
- | var mo = q.ps[size] + q.mid;
| + | |
- | if (q.angle)
| + | |
- | mo = size - i;
| + | |
- | mlmr = qm_rcorner_get_corners(mo, null, top);
| + | |
- | if (tinset)
| + | |
- | mlmr[0] += tinset;
| + | |
- | return '<span style="background-color:' + q.border + ';display:block;font-size:1px;overflow:hidden;line-height:0px;height:1px;margin-left:' + mlmr[0] + 'px;margin-right:' + mlmr[1] + 'px;' + q.opacity + '"></span>';
| + | |
- | } else {
| + | |
- | var md = size - (i);
| + | |
- | var ih = 1;
| + | |
- | var bs = 1;
| + | |
- | if (!q.angle) {
| + | |
- | if (i >= q.mid)
| + | |
- | ih = Math.abs(q.mid - i) + 1;
| + | |
- | else {
| + | |
- | bs = Math.abs(q.mid - i) + 1;
| + | |
- | md = q.ps[size - i] + q.mid;
| + | |
- | }
| + | |
- | if (top)
| + | |
- | q.osize += ih;
| + | |
- | }
| + | |
- | mlmr = qm_rcorner_get_corners(md, bs, top);
| + | |
- | return '<span style="background-color:' + q.background + ';border-color:' + q.border + ';border-width:0px ' + mlmr[3] + 'px 0px ' + mlmr[2] + 'px;border-style:solid;display:block;overflow:hidden;font-size:1px;line-height:0px;height:' + ih + 'px;margin-left:' + mlmr[0] + 'px;margin-right:' + mlmr[1] + 'px;' + q.opacity + '"></span>';
| + | |
- | }
| + | |
- | };
| + | |
- | function qm_rcorner_get_corners(mval, bval, top) {
| + | |
- | var q = qmad.rcorner;
| + | |
- | var ml = mval;
| + | |
- | var mr = mval;
| + | |
- | var bl = bval;
| + | |
- | var br = bval;
| + | |
- | if (top) {
| + | |
- | if (!q.corners[0]) {
| + | |
- | ml = 0;
| + | |
- | bl = 1;
| + | |
- | }
| + | |
- | if (!q.corners[1]) {
| + | |
- | mr = 0;
| + | |
- | br = 1;
| + | |
- | }
| + | |
- | } else {
| + | |
- | if (!q.corners[2]) {
| + | |
- | mr = 0;
| + | |
- | br = 1;
| + | |
- | }
| + | |
- | if (!q.corners[3]) {
| + | |
- | ml = 0;
| + | |
- | bl = 1;
| + | |
- | }
| + | |
- | }
| + | |
- | return new Array(ml, mr, bl, br);
| + | |
- | }/* ]]> */
| + | |
- | </script>
| + | |
| | | |
- | <!-- Add-On Code: Item Bullets (CSS - Imageless) -->
| + | #dropmenu li:hover ul li:hover a{ |
- | <script type="text/javascript">
| + | background: #E7E5F0; |
- | /* <![CDATA[ */
| + | color:#eb6101; |
- | qmad.br_navigator = navigator.userAgent.indexOf("Netscape") + 1;
| + | } |
- | qmad.br_version = parseFloat(navigator.vendorSub);
| + | #dropmenu ul .qmswitch a:hover{ |
- | qmad.br_oldnav6 = qmad.br_navigator && qmad.br_version < 7;
| + | color: #99003E; |
- | qmad.br_strict = ( dcm = document.compatMode) && dcm == "CSS1Compat";
| + | } |
- | qmad.br_ie = window.showHelp;
| + | #dropmenu ul .qmm13 a:hover{ |
- | qmad.str = (qmad.br_ie && !qmad.br_strict);
| + | color: #135498; |
- | if (!qmad.br_oldnav6) {
| + | } |
- | if (!qmad.ibcss)
| + | #dropmenu ul .qmfarming a:hover{ |
- | qmad.ibcss = new Object();
| + | color: #005234; |
- | if (qmad.bvis.indexOf("qm_ibcss_active(o,false);") == -1) {
| + | } |
- | qmad.bvis += "qm_ibcss_active(o,false);";
| + | |
- | qmad.bhide += "qm_ibcss_active(a,1);";
| + | |
- | if (window.attachEvent)
| + | |
- | window.attachEvent("onload", qm_ibcss_init);
| + | |
- | else if (window.addEventListener)
| + | |
- | window.addEventListener("load", qm_ibcss_init, 1);
| + | |
- | if (window.attachEvent)
| + | |
- | document.attachEvent("onmouseover", qm_ibcss_hover_off);
| + | |
- | else if (window.addEventListener)
| + | |
- | document.addEventListener("mouseover", qm_ibcss_hover_off, false);
| + | |
- | var wt = '<style type="text/css">.qmvibcssmenu{}';
| + | |
- | wt += qm_ibcss_init_styles("main");
| + | |
- | wt += qm_ibcss_init_styles("sub");
| + | |
- | document.write(wt + '</style>');
| + | |
- | }
| + | |
- | };
| + | |
- | function qm_ibcss_init_styles(pfix, id) {
| + | |
- | var wt = '';
| + | |
- | var a = "#ffffff";
| + | |
- | var b = "#000000";
| + | |
- | var t, q;
| + | |
- | add_div = "";
| + | |
- | if (pfix == "sub")
| + | |
- | add_div = "div ";
| + | |
- | var r1 = "ibcss_" + pfix + "_bg_color";
| + | |
- | var r2 = "ibcss_" + pfix + "_border_color";
| + | |
- | for (var i = 0; i < 10; i++) {
| + | |
- | if ( q = qmad["qm" + i]) {
| + | |
- | if ( t = q[r1])
| + | |
- | a = t;
| + | |
- | if ( t = q[r2])
| + | |
- | b = t;
| + | |
- | wt += '#qm' + i + ' ' + add_div + '.qm-ibcss-static span{background-color:' + a + ';border-color:' + b + ';}';
| + | |
- | if ( t = q[r1 + "_hover"])
| + | |
- | a = t;
| + | |
- | if ( t = q[r2 + "_hover"])
| + | |
- | b = t;
| + | |
- | wt += '#qm' + i + ' ' + add_div + '.qm-ibcss-hover span{background-color:' + a + ';border-color:' + b + ';}';
| + | |
- | if ( t = q[r1 + "_active"])
| + | |
- | a = t;
| + | |
- | if ( t = q[r2 + "_active"])
| + | |
- | b = t;
| + | |
- | wt += '#qm' + i + ' ' + add_div + '.qm-ibcss-active span{background-color:' + a + ';border-color:' + b + ';}';
| + | |
- | }
| + | |
- | }
| + | |
- | return wt;
| + | |
- | };
| + | |
- | function qm_ibcss_init(e, spec) {
| + | |
- | var z;
| + | |
- | if (( z = window.qmv) && ( z = z.addons) && ( z = z.ibcss) && (!z["on" + qmv.id] && z["on" + qmv.id] != undefined && z["on" + qmv.id] != null))
| + | |
- | return;
| + | |
- | qm_ts = 1;
| + | |
- | var q = qmad.ibcss;
| + | |
- | var a, b, r, sx, sy;
| + | |
- | z = window.qmv;
| + | |
- | for ( i = 0; i < 10; i++) {
| + | |
- | if (!( a = document.getElementById("qm" + i)) || (!isNaN(spec) && spec != i))
| + | |
- | continue;
| + | |
- | var ss = qmad[a.id];
| + | |
- | if (ss && (ss.ibcss_main_type || ss.ibcss_sub_type)) {
| + | |
- | q.mtype = ss.ibcss_main_type;
| + | |
- | q.msize = ss.ibcss_main_size;
| + | |
- | if (!q.msize)
| + | |
- | q.msize = 5;
| + | |
- | q.md = ss.ibcss_main_direction;
| + | |
- | if (!q.md)
| + | |
- | md = "right";
| + | |
- | q.mbg = ss.ibcss_main_bg_color;
| + | |
- | q.mborder = ss.ibcss_main_border_color;
| + | |
- | sx = ss.ibcss_main_position_x;
| + | |
- | sy = ss.ibcss_main_position_y;
| + | |
- | if (!sx)
| + | |
- | sx = 0;
| + | |
- | if (!sy)
| + | |
- | sy = 0;
| + | |
- | q.mpos = eval("new Array('" + sx + "','" + sy + "')");
| + | |
- | q.malign = eval("new Array('" + ss.ibcss_main_align_x + "','" + ss.ibcss_main_align_y + "')");
| + | |
- | r = q.malign;
| + | |
- | if (!r[0])
| + | |
- | r[0] = "right";
| + | |
- | if (!r[1])
| + | |
- | r[1] = "center";
| + | |
- | q.stype = ss.ibcss_sub_type;
| + | |
- | q.ssize = ss.ibcss_sub_size;
| + | |
- | if (!q.ssize)
| + | |
- | q.ssize = 5;
| + | |
- | q.sd = ss.ibcss_sub_direction;
| + | |
- | if (!q.sd)
| + | |
- | sd = "right";
| + | |
- | q.sbg = ss.ibcss_sub_bg_color;
| + | |
- | q.sborder = ss.ibcss_sub_border_color;
| + | |
- | sx = ss.ibcss_sub_position_x;
| + | |
- | sy = ss.ibcss_sub_position_y;
| + | |
- | if (!sx)
| + | |
- | sx = 0;
| + | |
- | if (!sy)
| + | |
- | sy = 0;
| + | |
- | q.spos = eval("new Array('" + sx + "','" + sy + "')");
| + | |
- | q.salign = eval("new Array('" + ss.ibcss_sub_align_x + "','" + ss.ibcss_sub_align_y + "')");
| + | |
- | r = q.salign;
| + | |
- | if (!r[0])
| + | |
- | r[0] = "right";
| + | |
- | if (!r[1])
| + | |
- | r[1] = "middle";
| + | |
- | q.type = ss.ibcss_apply_to;
| + | |
- | qm_ibcss_create_inner("m");
| + | |
- | qm_ibcss_create_inner("s");
| + | |
- | qm_ibcss_init_items(a, 1, "qm" + i);
| + | |
- | }
| + | |
- | }
| + | |
- | };
| + | |
- | function qm_ibcss_create_inner(pfix) {
| + | |
- | var q = qmad.ibcss;
| + | |
- | var wt = "";
| + | |
- | var s = q[pfix + "size"];
| + | |
- | var type = q[pfix + "type"];
| + | |
- | var head;
| + | |
- | if (type.indexOf("head") + 1)
| + | |
- | head = true;
| + | |
- | var gap;
| + | |
- | if (type.indexOf("gap") + 1)
| + | |
- | gap = true;
| + | |
- | var v;
| + | |
- | if (type.indexOf("-v") + 1)
| + | |
- | v = true;
| + | |
- | if (type.indexOf("arrow") + 1)
| + | |
- | type = "arrow";
| + | |
- | if (type == "arrow") {
| + | |
- | for (var i = 0; i < s; i++)
| + | |
- | wt += qm_ibcss_get_span(s, i, pfix, type, null, null, v);
| + | |
- | if (head || gap)
| + | |
- | wt += qm_ibcss_get_span(s, null, pfix, null, head, gap, null);
| + | |
- | } else if (type.indexOf("square") + 1) {
| + | |
- | var inner;
| + | |
- | if (type.indexOf("-inner") + 1)
| + | |
- | inner = true;
| + | |
- | var raised;
| + | |
- | if (type.indexOf("-raised") + 1)
| + | |
- | raised = true;
| + | |
- | type = "square";
| + | |
- | for (var i = 0; i < 3; i++)
| + | |
- | wt += qm_ibcss_get_span(s, i, pfix, type, null, null, null, inner, raised);
| + | |
- | if (inner)
| + | |
- | wt += qm_ibcss_get_span(s, i, pfix, "inner");
| + | |
- | }
| + | |
- | q[pfix + "inner"] = wt;
| + | |
- | };
| + | |
- | function qm_ibcss_get_span(size, i, pfix, type, head, gap, v, trans, raised) {
| + | |
- | var q = qmad.ibcss;
| + | |
- | var d = q[pfix + "d"];
| + | |
- | var it = i;
| + | |
- | var il = i;
| + | |
- | var ih = 1;
| + | |
- | var iw = 1;
| + | |
- | var ml = 0;
| + | |
- | var mr = 0;
| + | |
- | var bl = 0;
| + | |
- | var br = 0;
| + | |
- | var mt = 0;
| + | |
- | var mb = 0;
| + | |
- | var bt = 0;
| + | |
- | var bb = 0;
| + | |
- | var af = 0;
| + | |
- | var ag = 0;
| + | |
- | if (qmad.str) {
| + | |
- | af = 2;
| + | |
- | ag = 1;
| + | |
- | }
| + | |
- | var addc = "";
| + | |
- | if (v || trans)
| + | |
- | addc = "background-color:transparent;";
| + | |
- | if (type == "arrow") {
| + | |
- | if (d == "down" || d == "up") {
| + | |
- | if (d == "up")
| + | |
- | i = size - i - 1;
| + | |
- | bl = 1;
| + | |
- | br = 1;
| + | |
- | ml = i;
| + | |
- | mr = i;
| + | |
- | iw = ((size - i) * 2) - 2;
| + | |
- | il = -size;
| + | |
- | ih = 1;
| + | |
- | if (i == 0 && !v) {
| + | |
- | bl = iw + 2;
| + | |
- | br = 0;
| + | |
- | ml = 0;
| + | |
- | mr = 0;
| + | |
- | iw = 0;
| + | |
- | if (qmad.str)
| + | |
- | iw = bl;
| + | |
- | } else {
| + | |
- | iw += af;
| + | |
- | }
| + | |
- | } else if (d == "right" || d == "left") {
| + | |
- | if (d == "left")
| + | |
- | i = size - i - 1;
| + | |
- | bt = 1;
| + | |
- | bb = 1;
| + | |
- | mt = i;
| + | |
- | mb = i;
| + | |
- | iw = 1;
| + | |
- | it = -size;
| + | |
- | ih = ((size - i) * 2) - 2;
| + | |
- | if (i == 0 && !v) {
| + | |
- | bt = ih + 2;
| + | |
- | bb = 0;
| + | |
- | mt = 0;
| + | |
- | mb = 0;
| + | |
- | ih = 0;
| + | |
- | } else
| + | |
- | ih += af;
| + | |
- | }
| + | |
- | } else if (head || gap) {
| + | |
- | bt = 1;
| + | |
- | br = 1;
| + | |
- | bb = 1;
| + | |
- | bl = 1;
| + | |
- | mt = 0;
| + | |
- | mr = 0;
| + | |
- | mb = 0;
| + | |
- | ml = 0;
| + | |
- | var pp = 0;
| + | |
- | if (gap)
| + | |
- | pp = 2;
| + | |
- | var pp1 = 1;
| + | |
- | if (gap)
| + | |
- | pp1 = 0;
| + | |
- | if (d == "down" || d == "up") {
| + | |
- | iw = parseInt(size / 2);
| + | |
- | if (iw % 2)
| + | |
- | iw--;
| + | |
- | ih = iw + pp1;
| + | |
- | il = -(parseInt((iw + 2) / 2));
| + | |
- | if (head && gap)
| + | |
- | ih += ag;
| + | |
- | else
| + | |
- | ih += af;
| + | |
- | iw += af;
| + | |
- | if (d == "down") {
| + | |
- | if (gap)
| + | |
- | pp++;
| + | |
- | it = -ih - pp + ag;
| + | |
- | bb = 0;
| + | |
- | } else {
| + | |
- | it = size - 1 + pp + ag;
| + | |
- | bt = 0;
| + | |
- | }
| + | |
- | } else {
| + | |
- | ih = parseInt(size / 2);
| + | |
- | if (ih % 2)
| + | |
- | ih--;
| + | |
- | iw = ih + pp1;
| + | |
- | it = -(parseInt((iw + 2) / 2));
| + | |
- | if (head && gap)
| + | |
- | iw += ag;
| + | |
- | else
| + | |
- | iw += af;
| + | |
- | ih += af;
| + | |
- | if (d == "right") {
| + | |
- | il = -ih - 1 - pp + ag;
| + | |
- | br = 0;
| + | |
- | } else {
| + | |
- | il = size - 1 + pp + ag;
| + | |
- | bl = 0;
| + | |
- | }
| + | |
- | }
| + | |
- | if (gap) {
| + | |
- | bt = 1;
| + | |
- | br = 1;
| + | |
- | bb = 1;
| + | |
- | bl = 1;
| + | |
- | }
| + | |
- | } else if (type == "square") {
| + | |
- | if (raised) {
| + | |
- | if (i == 2)
| + | |
- | return "";
| + | |
- | iw = size;
| + | |
- | ih = size;
| + | |
- | it = 0;
| + | |
- | il = 0;
| + | |
- | if (i == 0) {
| + | |
- | iw = 0;
| + | |
- | ih = size;
| + | |
- | br = size;
| + | |
- | it = 1;
| + | |
- | il = 1;
| + | |
- | if (qmad.str)
| + | |
- | iw = br;
| + | |
- | }
| + | |
- | } else {
| + | |
- | if (size % 2)
| + | |
- | size++;
| + | |
- | it = 1;
| + | |
- | ih = size;
| + | |
- | iw = size;
| + | |
- | bl = 1;
| + | |
- | br = 1;
| + | |
- | il = 0;
| + | |
- | iw += af;
| + | |
- | if (i == 0 || i == 2) {
| + | |
- | ml = 1;
| + | |
- | it = 0;
| + | |
- | ih = 1;
| + | |
- | bl = size;
| + | |
- | br = 0;
| + | |
- | iw = 0;
| + | |
- | if (qmad.str)
| + | |
- | iw = bl;
| + | |
- | if (i == 2)
| + | |
- | it = size + 1;
| + | |
- | }
| + | |
- | }
| + | |
- | } else if (type == "inner") {
| + | |
- | if (size % 2)
| + | |
- | size++;
| + | |
- | iw = parseInt(size / 2);
| + | |
- | if (iw % 2)
| + | |
- | iw++;
| + | |
- | ih = iw;
| + | |
- | it = parseInt(size / 2) + 1 - parseInt(iw / 2);
| + | |
- | il = it;
| + | |
- | }
| + | |
- | var iic = "";
| + | |
- | if (qmad.str)
| + | |
- | iic = " ";
| + | |
- | return '<span style="' + addc + 'border-width:' + bt + 'px ' + br + 'px ' + bb + 'px ' + bl + 'px;border-style:solid;display:block;position:absolute;overflow:hidden;font-size:1px;line-height:0px;height:' + ih + 'px;margin:' + mt + 'px ' + mr + 'px ' + mb + 'px ' + ml + 'px;width:' + iw + 'px;top:' + it + 'px;left:' + il + 'px;">' + iic + '</span>';
| + | |
- | };
| + | |
- | function qm_ibcss_init_items(a, main) {
| + | |
- | var q = qmad.ibcss;
| + | |
- | var aa, pf;
| + | |
- | aa = a.childNodes;
| + | |
- | for (var j = 0; j < aa.length; j++) {
| + | |
- | if (aa[j].tagName == "A") {
| + | |
- | if (window.attachEvent)
| + | |
- | aa[j].attachEvent("onmouseover", qm_ibcss_hover);
| + | |
- | else if (window.addEventListener)
| + | |
- | aa[j].addEventListener("mouseover", qm_ibcss_hover, false);
| + | |
- | var skip = false;
| + | |
- | if (q.type != "all") {
| + | |
- | if (q.type == "parent" && !aa[j].cdiv)
| + | |
- | skip = true;
| + | |
- | if (q.type == "non-parent" && aa[j].cdiv)
| + | |
- | skip = true;
| + | |
- | }
| + | |
- | if (!skip) {
| + | |
- | if (main)
| + | |
- | pf = "m";
| + | |
- | else
| + | |
- | pf = "s";
| + | |
- | var ss = document.createElement("SPAN");
| + | |
- | ss.className = "qm-ibcss-static";
| + | |
- | var s1 = ss.style;
| + | |
- | s1.display = "block";
| + | |
- | s1.position = "relative";
| + | |
- | s1.fontSize = "1px";
| + | |
- | s1.lineHeight = "0px";
| + | |
- | s1.zIndex = 1;
| + | |
- | ss.ibhalign = q[pf+"align"][0];
| + | |
- | ss.ibvalign = q[pf+"align"][1];
| + | |
- | ss.ibposx = q[pf+"pos"][0];
| + | |
- | ss.ibposy = q[pf+"pos"][1];
| + | |
- | ss.ibsize = q[pf + "size"];
| + | |
- | qm_ibcss_position(aa[j], ss);
| + | |
- | ss.innerHTML = q[pf + "inner"];
| + | |
- | aa[j].qmibulletcss = aa[j].insertBefore(ss, aa[j].firstChild);
| + | |
- | ss.setAttribute("qmvbefore", 1);
| + | |
- | ss.setAttribute("isibulletcss", 1);
| + | |
- | if (aa[j].className.indexOf("qmactive") + 1)
| + | |
- | qm_ibcss_active(aa[j]);
| + | |
- | }
| + | |
- | if (aa[j].cdiv)
| + | |
- | new qm_ibcss_init_items(aa[j].cdiv, null);
| + | |
- | }
| + | |
- | }
| + | |
- | };
| + | |
- | function qm_ibcss_position(a, b) {
| + | |
- | if (b.ibhalign == "right")
| + | |
- | b.style.left = (a.offsetWidth + parseInt(b.ibposx) - b.ibsize) + "px";
| + | |
- | else if (b.ibhalign == "center")
| + | |
- | b.style.left = (parseInt(a.offsetWidth / 2) - parseInt(b.ibsize / 2) + parseInt(b.ibposx)) + "px";
| + | |
- | else
| + | |
- | b.style.left = b.ibposx + "px";
| + | |
- | if (b.ibvalign == "bottom")
| + | |
- | b.style.top = (a.offsetHeight + parseInt(b.ibposy) - b.ibsize) + "px";
| + | |
- | else if (b.ibvalign == "middle")
| + | |
- | b.style.top = parseInt((a.offsetHeight / 2) - parseInt(b.ibsize / 2) + parseInt(b.ibposy)) + "px";
| + | |
- | else
| + | |
- | b.style.top = b.ibposy + "px";
| + | |
- | };
| + | |
- | function qm_ibcss_hover(e, targ) {
| + | |
- | e = e || window.event;
| + | |
- | if (!targ) {
| + | |
- | var targ = e.srcElement || e.target;
| + | |
- | while (targ.tagName != "A")
| + | |
- | targ = targ[qp];
| + | |
- | }
| + | |
- | var ch = qmad.ibcss.lasth;
| + | |
- | if (ch && ch != targ && ch.qmibulletcss)
| + | |
- | qm_ibcss_hover_off(new Object(), ch);
| + | |
- | if (targ.className.indexOf("qmactive") + 1)
| + | |
- | return;
| + | |
- | var wo = targ.qmibulletcss;
| + | |
- | if (wo) {
| + | |
- | x2("qm-ibcss-hover", wo, 1);
| + | |
- | qmad.ibcss.lasth = targ;
| + | |
- | }
| + | |
- | if (e)
| + | |
- | qm_kille(e);
| + | |
- | };
| + | |
- | function qm_ibcss_hover_off(e, o) {
| + | |
- | if (!o)
| + | |
- | o = qmad.ibcss.lasth;
| + | |
- | if (o && o.qmibulletcss)
| + | |
- | x2("qm-ibcss-hover", o.qmibulletcss);
| + | |
- | };
| + | |
- | function qm_ibcss_active(a, hide) {
| + | |
- | if (!hide && a.className.indexOf("qmactive") == -1)
| + | |
- | return;
| + | |
- | if (hide && a.idiv) {
| + | |
- | var o = a.idiv;
| + | |
- | if (o && o.qmibulletcss) {
| + | |
- | x2("qm-ibcss-active", o.qmibulletcss);
| + | |
- | }
| + | |
- | } else {
| + | |
- | if (!a.cdiv.offsetWidth)
| + | |
- | a.cdiv.style.visibility = "inherit";
| + | |
- | qm_ibcss_wait_relative(a);
| + | |
- | var wo = a.qmibulletcss;
| + | |
- | if (wo)
| + | |
- | x2("qm-ibcss-active", wo, 1);
| + | |
- | }
| + | |
- | };
| + | |
- | function qm_ibcss_wait_relative(a) {
| + | |
- | if (!a)
| + | |
- | a = qmad.ibcss.cura;
| + | |
- | if (a.cdiv) {
| + | |
- | if (a.cdiv.qmtree && a.cdiv.style.position != "relative") {
| + | |
- | qmad.ibcss.cura = a;
| + | |
- | setTimeout("qm_ibcss_wait_relative()", 10);
| + | |
- | return;
| + | |
- | }
| + | |
- | var aa = a.cdiv.childNodes;
| + | |
- | for (var i = 0; i < aa.length; i++) {
| + | |
- | if (aa[i].tagName == "A" && aa[i].qmibulletcss)
| + | |
- | qm_ibcss_position(aa[i], aa[i].qmibulletcss);
| + | |
- | }
| + | |
- | }
| + | |
- | }/* ]]> */
| + | |
- | </script>
| + | |
| | | |
| + | #dropmenu li:hover ul li:first-child{ |
| + | border-top: 0; |
| + | } |
| + | #dropmenu li:hover ul li:last-child{ |
| + | border-bottom: 0; |
| + | } |
| + | </style> |
| </head> | | </head> |
| | | |
- | <body >
| + | <a name="topofthepage" style="background-color:transparent;"></a> |
- | | + | |
- | <div id="logospace"></div>
| + | |
- | | + | |
- | <ul id="qm0" class="qmmc">
| + | |
| | | |
- | <li>
| + | <div id="text-area"> |
- | <a href="https://2013.igem.org/Team:Tokyo_Tech">Home</a>
| + | <div id="logospace"><IMG src="https://static.igem.org/mediawiki/2013/c/c3/Titech2013_top.jpg" style="margin-left: 0%;" width="980" height="240" border=0 /> |
- | </li> | + | </div> |
- | <li>
| + | <a style="position:absolute; top:30px; left:60%;" href="https://2013.igem.org/Main_Page"><b><img src="https://static.igem.org/mediawiki/igem.org/1/17/IGEM_basic_Logo_white_stylized.png" width="100px"></b></a> |
- | <a href="https://2013.igem.org/Team:Tokyo_Tech/Team">Team</a>
| + | <div id="pagemenu"> |
- | </li>
| + | <ul id="dropmenu" class="qmmc"> |
- | <li>
| + | |
- | <a class="qmparent" href="https://2013.igem.org/Team:Tokyo_Tech/Project">Projects</a>
| + | |
- | <ul> | + | |
| <li> | | <li> |
- | <a href="javascript:void(0)">Zombie</a> | + | <a class="qmparent2" href="https://2013.igem.org/Team:Tokyo_Tech">Home</a> |
| </li> | | </li> |
| <li> | | <li> |
- | <a href="javascript:void(0)">Plants</a> | + | <a class="qmparent" href="javascript:void(0)">Project</a> |
| + | <ul> |
| + | <li class="qmswitch"> |
| + | <a href="https://2013.igem.org/Team:Tokyo_Tech/Project/Ninja_State_Switching">Ninja State Switching</a> |
| + | </li> |
| + | <li class="qmm13"> |
| + | <a href="https://2013.igem.org/Team:Tokyo_Tech/Project/M13_Shuriken">M13 "Shuriken"</a> |
| + | </li> |
| + | <li class="qmfarming"> |
| + | <a href="https://2013.igem.org/Team:Tokyo_Tech/Project/Farming">Farming</a> |
| + | </li> |
| + | </ul> |
| </li> | | </li> |
| <li> | | <li> |
- | <a href="javascript:void(0)">Stands</a> | + | <a class="qmparent" href="javascript:void(0)">Experiment</a> |
| + | <ul> |
| + | <li class="qmswitch"> |
| + | <a href="https://2013.igem.org/Team:Tokyo_Tech/Experiment/Crosstalk_Confirmation_Assay">Crosstalk Confirmation Assay</a> |
| + | </li> |
| + | <li class="qmswitch"> |
| + | <a href="https://2013.igem.org/Team:Tokyo_Tech/Experiment/Crosstalk_Circumvention_Assay">Crosstalk Circumvention Assay</a> |
| + | </li> |
| + | |
| + | <li class="qmm13"> |
| + | <a href="https://2013.igem.org/Team:Tokyo_Tech/Experiment/pSB-M13_Plasmid_Assay">pSB-M13 Plasmid Assay</a> |
| + | </li> |
| + | <li class="qmm13"> |
| + | <a href="https://2013.igem.org/Team:Tokyo_Tech/Experiment/Inducible_Plaque_Forming_Assay">Inducible Plaque Forming Assay</a> |
| + | </li> |
| + | <li class="qmfarming"> |
| + | <a href="https://2013.igem.org/Team:Tokyo_Tech/Experiment/phoA_Promoter_Assay"><i>phoA</i> Promoter Assay</a> |
| + | </li> |
| + | <li class="qmfarming"> |
| + | <a href="https://2013.igem.org/Team:Tokyo_Tech/Experiment/Quantitative_Analysis_of_Cytokinin">Quantitative Analysis for Cytokinin</a> |
| + | </li> |
| + | <li class="qmfarming"> |
| + | <a href="https://2013.igem.org/Team:Tokyo_Tech/Experiment/RM-lac_Hybrid_Promoter_Assay"><i>RM/lac</i> Hybrid Promoter Assay</a> |
| + | </li> |
| + | </ul> |
| </li> | | </li> |
- | </ul>
| |
- | </li>
| |
- | <li>
| |
- | <a href="https://2013.igem.org/Team:Tokyo_Tech/Attributions">Attributions</a>
| |
- | </li>
| |
- | <li>
| |
- | <a href="https://2013.igem.org/Team:Tokyo_Tech/Parts">Parts</a>
| |
- | </li>
| |
- | <li>
| |
- | <a href="javascript:void(0)">Human Practice</a>
| |
- | </li>
| |
- |
| |
- | <li>
| |
- | <a class="qmparent" href="https://2013.igem.org/Team:Tokyo_Tech/Notebook">Notebook</a>
| |
- | <ul>
| |
| <li> | | <li> |
- | <a href="javascript:void(0)">Weekly Journal</a> | + | <a class="qmparent" href="javascript:void(0)">Modeling</a> |
| + | <ul> |
| + | <li class="qmswitch"> |
| + | <a href="https://2013.igem.org/Team:Tokyo_Tech/Modeling/Crosstalk_Circumvention">Crosstalk Circumvention</a> |
| + | </li> |
| + | <li class="qmfarming"> |
| + | <a href="https://2013.igem.org/Team:Tokyo_Tech/Modeling/Incoherent_Feed_Forward_Loop">Incoherent Feed Forward Loop</a> |
| + | </li> |
| + | </ul> |
| </li> | | </li> |
| <li> | | <li> |
- | <a href="javascript:void(0)">Protocols</a> | + | <a class="qmparent2" href="https://2013.igem.org/Team:Tokyo_Tech/Submitted_Parts">Submitted Parts</a> |
| </li> | | </li> |
- | </ul>
| |
- | </li>
| |
- | <li>
| |
- | <a href="https://2013.igem.org/Team:Tokyo_Tech/Safety">Safety</a>
| |
- | </li>
| |
- | <li>
| |
- | <a class="qmparent" href="javascript:void(0);">More</a>
| |
- | <ul>
| |
| <li> | | <li> |
- | <a href="https://igem.org/Team.cgi?year=2013&team_name=Tokyo_Tech">Official Team Page</a> | + | <a class="qmparent2" href="https://2013.igem.org/Team:Tokyo_Tech/Human_Practice">Human Practice</a> |
| </li> | | </li> |
| <li> | | <li> |
- | <a href="javascript:void(0);">Thanks</a> | + | <a class="qmparent" href="javascript:void(0)">More</a> |
| + | <ul> |
| + | <li> |
| + | <a href="https://2013.igem.org/Team:Tokyo_Tech/More/Safety">Safety</a> |
| + | </li> |
| + | <li> |
| + | <a href="https://2013.igem.org/Team:Tokyo_Tech/More/Attribution_and_Contribution">Attribution and Contribution</a> |
| + | </li> |
| + | <li> |
| + | <a href="https://2013.igem.org/Team:Tokyo_Tech/More/Team">Team</a> |
| + | </li> |
| + | <li> |
| + | <a href="https://2013.igem.org/Team:Tokyo_Tech/More/Collaboration">Collaboration</a> |
| + | </li> |
| + | <li> |
| + | <a href="https://2013.igem.org/Team:Tokyo_Tech/More/Sponsors">Sponsors</a> |
| + | </li> |
| + | <li> |
| + | <a href="https://2013.igem.org/Team:Tokyo_Tech/More/Origami">Origami</a> |
| + | </li> |
| + | <li> |
| + | <a href="https://igem.org/Team.cgi?id=1139">Official Team Profile</a> |
| + | </li> |
| + | <li> |
| + | <a href="https://2013.igem.org/Team:Tokyo_Tech/More/Judging_form">Judging form</a> |
| + | </li> |
| + | </ul> |
| + | </li> |
| + | <li class="qmclear"> |
| + | |
| </li> | | </li> |
| </ul> | | </ul> |
- | </li> | + | </div> |
- | <li class="qmclear"> | + | |
- |
| + | </div> |
- | </li>
| + | |
- | </ul> | + | |
- | <script type="text/javascript">
| + | |
- | qm_create(0, false, 0, 500, false, false, false, false);
| + | |
- | </script>
| + | |
- | <div class=textspace></div>
| + | |
- | | + | |
- | </body>
| + | |
- | </html>
| + | |