Team:SJTU-Software2/test

From 2014.igem.org

(Difference between revisions)
 
(246 intermediate revisions not shown)
Line 1: Line 1:
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
{{CSS/Main}}
-
<html xmlns="http://www.w3.org/1999/xhtml">
+
 
-
<head>
+
 
-
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
+
<html>
-
<title>修改国外的导航下拉菜单-青蛙实战</title>
+
 
 +
<!--main content -->
 +
 
 +
<p>
 +
<style type="text/css"> body {background-image:url(https://static.igem.org/mediawiki/2014/5/57/Sjtu_software_background.jpg); background-repeat:no-repeat; background-attachment:fixed} </style>
 +
<script type="text/javascript" src="https://2014.igem.org/Team:SJTU-Software/182min.js%20?action=raw&ctype=text/js"></script>
 +
<script type="text/javascript" src="https://2014.igem.org/Team:SJTU-Software/toolsmin.js%20?action=raw&ctype=text/js"></script>
 +
<script type="text/javascript" src="https://2014.igem.org/Team:SJTU-Software/main.js%20?action=raw&ctype=text/js"></script>
<style type="text/css">
<style type="text/css">
-
.imcm ul,.imcm li,.imcm div,.imcm span,.imcm a{text-align:left;vertical-align:top;padding:0px;margin:0;list-style:none outside none;border-style:none;background-image:none;clear:none;float:none;display:block;position:static;overflow:visible;line-height:normal;}.imcm li a img{display:inline;border-width:0px;}.imcm span{display:inline;}.imcm .imclear,.imclear{clear:both;height:0px;visibility:hidden;line-height:0px;font-size:1px;}.imcm .imsc{position:relative;}.imcm .imsubc{position:absolute;visibility:hidden;}.imcm li{list-style:none;font-size:1px;float:left;}.imcm ul ul li{width:100%;float:none !important;}.imcm a{display:block;position:relative;}.imcm ul .imsc,.imcm ul .imsubc {z-index:10;}.imcm ul ul .imsc,.imcm ul ul .imsubc{z-index:20;}.imcm ul ul ul .imsc,.imcm ul ul ul .imsubc{z-index:30;}.imde ul li:hover .imsubc{visibility:visible;}.imde ul ul li:hover  .imsubc{visibility:visible;}.imde ul ul ul li:hover  .imsubc{visibility:visible;}.imde li:hover ul  .imsubc{visibility:hidden;}.imde li:hover ul ul .imsubc{visibility:hidden;}.imde li:hover ul ul ul  .imsubc{visibility:hidden;}.imcm .imea{display:block;position:relative;left:0px;font-size:1px;line-height:1px;height:0px;width:1px;float:right;}.imcm .imea span{display:block;position:relative;font-size:1px;line-height:0px;}.dvs,.dvm{border-width:0px}
+
 
-
/*以上是调浏览器兼容的*/
+
.slider
-
#imenus0 .imeam span,#imenus0 .imeamj span {
+
{
-
width:9px;
+
    background: #d5d5d5;
-
height:6px;
+
    height: 7px;
-
left:-9px;
+
    position: relative;
-
top:5px;
+
    cursor: pointer;
 +
    width: 100%;
 +
    clear: right;
 +
    top: 0px;
 +
    -moz-border-radius: 5px;
 +
    -webkit-border-radius: 5px;
 +
    -moz-box-shadow: inset 0 0 8px #000;
 +
    margin: 10px 0 10px 0;
}
}
-
#imenus0 li:hover .imeam span,#imenus0 li a.iactive .imeamj span {
+
 
 +
/* progress bar (enabled with progress: true) */
 +
.progress
 +
{
 +
    height: 7px;
 +
    position: relative;
 +
    background: #5389c5; /* Old browsers */
 +
background: -moz-linear-gradient(top, #5389c5 0%, #4775a9 100%); /* FF3.6+ */
 +
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5389c5), color-stop(100%,#4775a9)); /* Chrome,Safari4+ */
 +
background: -webkit-linear-gradient(top, #5389c5 0%,#4775a9 100%); /* Chrome10+,Safari5.1+ */
 +
background: -o-linear-gradient(top, #5389c5 0%,#4775a9 100%); /* Opera 11.10+ */
 +
background: -ms-linear-gradient(top, #5389c5 0%,#4775a9 100%); /* IE10+ */
 +
background: linear-gradient(to bottom, #5389c5 0%,#4775a9 100%); /* W3C */
 +
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5389c5', endColorstr='#4775a9',GradientType=0 ); /* IE6-9 */
 +
    -moz-border-radius: 5px;
 +
    -webkit-border-radius: 5px;
 +
    top: 0px;
 +
    border: 1px solid #4b7bb1;
 +
 
 +
    -moz-box-shadow: inset 0 .7px 0 0 rgba(255, 255, 255, 0.3);
 +
-webkit-box-shadow: inset 0 .7px 0 0 rgba(255, 255, 255, 0.3);
 +
box-shadow: inset 0 .7px 0 0 rgba(255, 255, 255, 0.3);
}
}
-
/* --[[ Sub Expand Icons ]]-- */
+
 
-
#imenus0 ul .imeas span,#imenus0 ul .imeasj span {background-image:url(http://www.jsweb8.cn/jsweb8/images/medium_purple_right.gif); width:6px; height:9px; left:-6px; top:6px; background-repeat:no-repeat;background-position:top left;}
+
/* drag handle */
-
  #imenus0 ul li:hover .imeas span,#imenus0 ul li a.iactive .imeasj span {background-image:url(medium_purple_right.gif); background-repeat:no-repeat;background-position:top left;}
+
.handle
-
/* --[[ Main Container ]]-- */
+
{
-
#imouter0 {border-style:none; border-color:#6a6a6a; border-width:1px; padding:0px; margin:0px; }
+
    background: url(../images/handle.png) repeat-x center;
-
/* --[[ Sub Container ]]-- */
+
    height: 16px;
-
#imenus0 li ul { padding:5px 0px 0px 0px; margin:-5px 0px 0px 0px; }
+
    width: 16px;
-
  /* [Underlayment (Drop Shadow)] */
+
    top: -5px;
-
  #imenus0 .imunder {top:3px; left:3px; filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);opacity:0.50;-moz-opacity:0.50;}
+
    position: absolute;
-
/* --导航栏目字体以及边框样式-- */
+
    display: block;
-
#imenus0 li a, #imenus0 .imctitle { color:#fff; background-color:#599DDB;text-align:center; font-family:Arial; font-size:13px; font-weight:bold; text-decoration:none; padding:2px 8px; margin:0px 2px 0px 0px; }
+
    margin-top: 1px;
-
+
    cursor: pointer;
-
  /* [hover] - These settings must be duplicated for IE compatibility.*/
+
 
-
  #imenus0 li:hover>a {text-decoration:none; }
+
}
-
  #imenus0 li a.ihover, .imde imenus0 a:hover {text-decoration:none; }
+
 
-
  /* [active] */
+
/* the input field */
-
  #imenus0 li a.iactive {}
+
.range
-
/* -下拉列表样式 */
+
{
-
#imenus0 ul a, #imenus0 .imsubc li .imctitle  {background-color:#599DDB; color:#fff; text-align:center; font-size:12px; font-weight:bold; text-decoration:none; padding:2px 5px; height:23px; line-height:23px; border-top:#fff solid 1px; border-left:#fff solid 1px; border-right:#fff solid 1px; border-bottom:none}
+
    display: none;
-
  /* [hover] - These settings must be duplicated for IE comptatibility.*/
+
}
-
  #imenus0 ul li a:hover {background-color:#599DDB; text-decoration:none; }
+
/*
-
  #imenus0 ul li a.ihover {background-color:#3A8BD3; text-decoration:none; }
+
* CSS Expandable Menu
-
  /* [active] */
+
* @author: Francisco Neves
-
  #imenus0 ul li a.iactive {background-color:#3A8BD3; }</style>
+
*/
-
</head>
+
 
-
<body><div class="imrcmain0 imgl" style="width:600px;z-index:999999;position:relative;"><div class="imcm imde" id="imouter0"><ul id="imenus0">
+
/** Reset */
-
  <li class="imatm" style="width:85px; cursor:pointer"><a class="" href="#">公司简介</a>
+
* { font-family: "museo500", "Arial"; font-size: 12px; list-style: none; margin: 0; padding: 0; outline: 0; text-decoration: none; box-sizing: border-box !important; -webkit-box-sizing: border-box !important; -moz-box-sizing: border-box !important; -ms-box-sizing: border-box !important; }
-
   
+
 
-
    <div class="imsc"><div class="imsubc" style="width:120px;top:0px;left:0px;"><div class="imunder"></div><div></div><ul style="">
+
/**
-
      <li><a href="http://www.jsweb8.cn"> 世宗概况</a></li>
+
  *  START FREEBIE STYLES
-
  <li><a href="http://www.jsweb8.cn">项目业绩</a></li>
+
*/
-
  <li><a href="http://www.jsweb8.cn">质量认证</a></li>
+
 
-
  <li><a href="http://www.jsweb8.cn">公司荣誉</a></li>
+
/*! Font Faces */
-
  <li><a href="http://www.jsweb8.cn">员工风采</a></li>
+
@font-face{
-
  <li><a href="http://www.jsweb8.cn">企业文化</a></li>
+
font-family: 'museo500';
-
 
+
    src: url('../fonts/MuseoSans_500-webfont.eot');
-
</ul></div></div>
+
    src: url('../fonts/MuseoSans_500-webfont.eot?#iefix') format('embedded-opentype'),
-
  </li>
+
        url('../fonts/MuseoSans_500-webfont.woff') format('woff'),
-
 
+
        url('../fonts/MuseoSans_500-webfont.ttf') format('truetype'),
-
  <li class="imatm"  style="width:85px;"><a href="#">产品信息</a>
+
        url('../fonts/MuseoSans_500-webfont.svg#museo_sans_500regular') format('svg');
-
   
+
    font-weight: normal;
-
    <div class="imsc"><div class="imsubc" style="width:120px;top:0px;left:-1px;"><div class="imunder"></div><div></div><ul style="">
+
    font-style: normal;
-
      <li><a href="http://www.jsweb8.cn">产品简介</a></li>
+
}
-
  <li><a href="http://www.jsweb8.cn">消防联动图例</a></li>
+
 
-
  <li><a href="http://www.jsweb8.cn">产品目录</a></li>
+
/*! Freebie Skelet */
-
 
+
ul.expmenu { width: 200px; }
-
</ul></div></div>
+
ul.expmenu * { list-style: none; }
-
  </li>
+
ul.expmenu > li > div.header { padding: 12px; border-bottom: 1px #396e9f solid; }
-
 
+
ul.expmenu > li:last-child > div.header { border-bottom: none; }
-
  <li class="imatm"  style="width:85px;"><a href="#">工程案例</a>
+
ul.expmenu > li ul li { background-color: #ececec; padding: 12px; border-bottom: 1px solid #dcdcdc; border-top: 1px solid #fff; color: #727272; text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8); }
-
   
+
ul.expmenu > li ul li:last-child { border-bottom: none; }
-
    <div class="imsc"><div class="imsubc" style="width:120px;top:0px;left:0px;"><div class="imunder"></div><div></div><ul style="">
+
ul.expmenu > li ul li.selected { background-color: #f4f4f4; }
-
      <li><a href="http://www.jsweb8.cn">国内案例</a></li>
+
ul.expmenu div.header
-
  <li><a href="http://www.jsweb8.cn">国外案例</a></li>
+
{
-
  </ul></div></div>
+
color: #203f61;
-
  </li>
+
text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.2);
-
 
+
 
-
  <li class="imatm"  style="width:85px;"><a href="#">销售网络</a>
+
background: #4d7fb8; /* Old browsers */
-
   
+
background: -moz-linear-gradient(top, #4d7fb8 0%, #4572a5 100%); /* FF3.6+ */
-
    <div class="imsc"><div class="imsubc" style="width:120px;top:0px;left:-1px;"><div class="imunder"></div><div></div><ul style="">
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4d7fb8), color-stop(100%,#4572a5)); /* Chrome,Safari4+ */
-
      <li><a href="http://www.jsweb8.cn">销售网一览</a></li>
+
background: -webkit-linear-gradient(top, #4d7fb8 0%,#4572a5 100%); /* Chrome10+,Safari5.1+ */
-
  <li><a href="http://www.jsweb8.cn">加盟商</a></li>
+
background: -o-linear-gradient(top, #4d7fb8 0%,#4572a5 100%); /* Opera 11.10+ */
-
  <li><a href="http://www.jsweb8.cn">子公司</a></li>
+
background: -ms-linear-gradient(top, #4d7fb8 0%,#4572a5 100%); /* IE10+ */
-
  <li><a href="http://www.jsweb8.cn">办事处</a></li>
+
background: linear-gradient(to bottom, #4d7fb8 0%,#4572a5 100%); /* W3C */
-
  <li><a href="http://www.jsweb8.cn">代理商</a></li>
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4d7fb8', endColorstr='#4572a5',GradientType=0 ); /* IE6-9 */
-
  </ul></div></div>
+
}
-
  </li>
+
ul.expmenu > li > div.header > .label { padding-left: 24px; background: no-repeat; }
-
  <li class="imatm"  style="width:85px;"><a href="#">客户服务</a>
+
ul.expmenu > li > div.header > .arrow { display: block; width: 16px; height: 16px; background: no-repeat center; float: right; }
 +
ul.expmenu > li > div.header > .arrow.up { background-image: url(../images/arrow_u.png); }
 +
ul.expmenu > li > div.header > .arrow.down { background-image: url(../images/arrow_d.png); }
 +
 
 +
/* Mouse Events */
 +
ul.expmenu div.header:hover
 +
{
 +
background: #4571a0; /* Old browsers */
 +
background: -moz-linear-gradient(top, #4d7fb8 0%, #4571a0 100%); /* FF3.6+ */
 +
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4d7fb8), color-stop(100%,#4571a0)); /* Chrome,Safari4+ */
 +
background: -webkit-linear-gradient(top, #4d7fb8 0%,#4571a0 100%); /* Chrome10+,Safari5.1+ */
 +
background: -o-linear-gradient(top, #4d7fb8 0%,#4571a0 100%); /* Opera 11.10+ */
 +
background: -ms-linear-gradient(top, #4d7fb8 0%,#4571a0 100%); /* IE10+ */
 +
background: linear-gradient(to bottom, #4d7fb8 0%,#4571a0 100%); /* W3C */
 +
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4d7fb8', endColorstr='#4571a0',GradientType=0 ); /* IE6-9 */
 +
 
 +
cursor: pointer;
 +
}
 +
 
 +
ul.expmenu > li ul li:not(.selected):hover
 +
{
 +
background: #e7e7e7; /* Old browsers */
 +
 
 +
cursor: pointer;
 +
}
 +
ul.expmenu > li ul li:not(.selected):active
 +
{
 +
background: #f1f1f1; /* Old browsers */
 +
 
 +
cursor: pointer;
 +
}
 +
/**
 +
*  END FREEBIE STYLES
 +
*/
 +
 +
 
 +
/**
 +
* Not important styles
 +
*/
 +
body
 +
{
 +
color: #b1b1b1;
 +
background: #e1e1e1; /* Old browsers */
 +
 
 +
font-family: "museo500";
 +
}
 +
ul#pagination-freebie { display: table; padding-right: 20px; margin: 20px auto; list-style: none; }
 +
ul#pagination-freebie:last-child { padding-right: 0; }
 +
ul#pagination-freebie li { float: left; margin-bottom: 20px }
 +
ul#pagination-freebie li:last-child { margin-right: 0; }
 +
 
 +
div#text { text-align: center; font-size: 48px; width: 610px; margin: 0 auto; margin-top: 50px; margin-top: 80px; }
 +
div#smalltext { text-align: center; font-size: 15px; width: 600px; margin: 0 auto; }
 +
div#content { display: table; margin: 0 auto; padding: 30px; }
 +
</style>
 +
 
 +
 
 +
<div align="center">
 +
    <div class="container2" style="height:700px;width:71%;background-color:#FFFFFF;">
 +
          <div align=left>
 +
          <div class="container2" style="height:700px;width:30%;background-color:#00FF00;float:left; display:inline" >
 +
          <div id="content">
 +
<ul id="expmenu-freebie">
 +
<li>
 +
<!-- Start Freebie -->
 +
<ul class="expmenu">
 +
<li>
 +
<div class="header">
 +
<span class="label" style="background-image: url(images/messages.png);">Messages</span>
 +
<span class="arrow up"></span>
 +
</div>
 +
<ul class="menu">
 +
<li>Notification Settings</li>
 +
<li class="selected">Email Alerts</li>
 +
<li>Privacy Settings</li>
 +
</ul>
 +
</li>
 +
<li>
 +
<div class="header">
 +
<span class="label" style="background-image: url(images/user.png);">User Controls</span>
 +
<span class="arrow up"></span>
 +
</div>
 +
<ul class="menu">
 +
<li><input type="range" name="range" min="0" max="100" value="35" style="width: 100%;" /></li>
 +
</ul>
 +
</li>
 +
<li>
 +
<div class="header">
 +
<span class="label" style="background-image: url(images/pc.png);">Screen Settings</span>
 +
<span class="arrow down"></span>
 +
</div>
 +
<ul class="menu" style="display:none">
 +
<li>Your settings</li>
 +
</ul>
 +
</li>
 +
<li>
 +
<div class="header">
 +
<span class="label" style="background-image: url(images/search.png);">Search</span>
 +
</div>
 +
</li>
 +
</ul>
 +
<!-- End Freebie -->
 +
</li>
 +
</ul>
 +
  </div>
 +
          </div>  
 +
         
 +
           
 +
          <div  class="container2" style="height:700px;width:70%;background-color:#FFFF00;float:left; display:inline" >
 +
          </div>          
 +
          </div>
 +
    </div>
 +
 
 +
</div>    
 +
   
 +
 
      
      
-
    <div class="imsc"><div class="imsubc" style="width:120px;top:0px;left:-1px;"><div class="imunder"></div><div></div><ul style="">
+
 
-
      <li><a href="http://www.jsweb8.cn">售后承诺</a></li>
+
 
-
  <li><a href="http://www.jsweb8.cn">联系技术人员</a></li>
+
 
-
 
+
-
<li><a href="http://www.jsweb8.cn"><span class="imea imeas"><span></span></span>技术下载</a>
+
-
 
+
-
  <div class="imsc"><div class="imsubc" style="width:120px;top:-23px;left:100px;"><div class="imunder"></div><div></div><ul style="">
+
-
    <li><a href="http://www.jsweb8.cn" target="_self">设计指南</a></li>
+
-
    <li><a href="http://www.jsweb8.cn">产品说明</a></li>
+
-
    <li><a href="http://www.jsweb8.cn">CCCF证书及检测</a></li>
+
-
    <li><a href="http://www.jsweb8.cn">产品常识</a></li>
+
-
    </ul></div></div></li>
+
-
  </ul></div></div>
+
-
  </li>
+
-
  <li class="imatm"  style="width:85px;"><a href="http://www.jsweb8.cn">加盟招聘</a>
+
-
   
+
-
    <div class="imsc"><div class="imsubc" style="width:120px;top:0px;left:-1px;"><div class="imunder"></div><div></div><ul style="">
+
-
      <li><a href="http://www.jsweb8.cn">诚征加盟</a></li>
+
-
  <li><a href="http://www.jsweb8.cn">招聘信息</a></li>
+
-
  </ul></div></div>
+
-
  </li>
+
-
  <li class="imatm"  style="width:85px;"><a href="http://www.jsweb8.cn">联系我们</a></li>
+
-
 
+
-
</ul><div class="imclear"> </div></div></div>
+
-
<script language="JavaScript"  src="http://www.jsweb8.cn/jsweb8/ocscript.js"type="text/javascript"></script>
+
</body>
</body>
</html>
</html>
-
<a href="http://js.alixixi.com/">欢迎访问阿里西西网页特效代码站,js.alixixi.com</a>
 

Latest revision as of 08:01, 12 October 2014


    • Messages
    • User Controls
    • Screen Settings
    • Search