qingtianyzl

晴天blog(QQ:14493558)
  博客园  :: 新随笔  :: 联系 :: 管理

一个简单层横向布局例子(2)

Posted on 2007-12-23 14:47  晴天  阅读(263)  评论(0)    收藏  举报

<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<style type="text/css">
<!--
body {
 margin-left: 0px;
 margin-top: 0px;
 margin-right: 0px;
 margin-bottom: 0px;
}
-->
</style>

<style type="text/css">
body{margin:0;}
#menu1{height:25px;  width:100%; padding-left:50px;margin:0; background-color:#0099cc; border-bottom:1px solid #000000;font-size:12px;color:#ffffff; text-align:center; list-style:none;}
#menu1 li{display:inline;}
#menu1 li a{ float:left;width:109px;color:#ffffff; letter-spacing:2px; text-decoration:none; padding-top:6px; padding-bottom:5px; border-left:1px solid #FFFFFF;margin-left:1px}
#menu1 li a:hover{ background-color:#eaeceb; color:#000000;padding-top:6px; padding-bottom:5px;}
#menu1 #menu{ border:3 ridge blue;height:60px;width:109px;left:163px;top:94px;}

#menu1 #menu div a{color:#FFFFFF; text-decoration:none; background-color:#0099cc; border:1px solid #ffffff;border-top:none;}
#menu1 #menu div a:hover{color:#000000; text-decoration:none;background-color:#eaeceb;}
#menu1 #menu2{ border:3 ridge blue;height:60px;width:109px;left:274px;top:94px;}

#menu1 #menu2 div a{color:#FFFFFF; text-decoration:none; background-color:#0099cc; border:1px solid #ffffff;border-top:none;}
#menu1 #menu2 div a:hover{color:#000000; text-decoration:none;background-color:#eaeceb;}

</style>
<script type="text/javascript">
function showmenu(sid)
{
 
if(sid=="show")
{
     document.getElementById("menu").filter="revealTrans(Duration=1,Transition=12)";
     document.getElementById("menu").style.display="block";
}
if(sid=="hidden")
{
     document.getElementById("menu").filter="revealTrans(Duration=1,Transition=12)";
     document.getElementById("menu").style.display="none";
  }
}

function showmenu1(sid)
{
 
if(sid=="show")
{
     document.getElementById("menu2").filter="revealTrans(Duration=1,Transition=12)";
     document.getElementById("menu2").style.display="block";
}
if(sid=="hidden")
{
     document.getElementById("menu2").filter="revealTrans(Duration=1,Transition=12)";
     document.getElementById("menu2").style.display="none";
  }
}
</script>

<table  bgcolor="#FFFFFF" height="60px" cellpadding="0px" cellspacing="0px">
<tr>
  <td width="577" height="63" >

    <img src="iamge2/toplogo1019.jpg">  </td>
  <td  height="48" align="right" valign="bottom">
  <!--具体导航-->
  <TABLE height=28 cellSpacing=0 cellPadding=0 width=300 border=0 style="font-size:12px">
        <TBODY>
        <TR>
          <TD width=16><IMG height=10
            src="iamge2/00000icon1.gif"
            width=10></TD>
          <TD width=61><FONT color=#009900><A
            href="javascript:window.external.AddFavorite('http://www.polyease.com','厦门钟易进出口贸易有限公司')" class="B">加入收藏</A></FONT></TD>
          <TD width=20><IMG height=10
            src="iamge2/00000icon1.gif"
            width=10></TD>
          <TD width=59><FONT color=#009900><A
            onclick='this.style.behavior="url(#default#homepage)";this.sethomepage("http://www.polyease.com")'
            href="http://www.polyease.com/#" class="B">设为首页</A></FONT></TD>
          <TD width=144 rowSpan=3 valign="top">
            <SCRIPT language=JavaScript class=text>
   <!--  
   currentDate = new Date()  
   with (currentDate){  
   day=getDay()
   month=getMonth()+1
   year=getYear()
   if(year==2000){
   document.write(year+'年'+month+'月'+getDate()+'日')  
   }else{  
   document.write(year+'年'+month+'月'+getDate()+'日')  
   }  
   }  
   if (day==1)  
   {document.write(' 星期一')}  
   if (day==2)  
   {document.write(' 星期二')}  
   if (day==3)  
   {document.write(' 星期三')}  
   if (day==4)  
   {document.write(' 星期四')}  
   if (day==5)  
   {document.write(' 星期五')}  
   if (day==6)  
   {document.write(' 星期六')}  
   if (day==0)  
   {document.write(' 星期日')}  
   document.write('<br>')
      // -->
   </SCRIPT>
            &nbsp;</TD>
        </TR>
        <TR>
          <TD><IMG height=10
            src="iamge2/00000icon1.gif"
            width=10></TD>
          <TD><A href="#" class="B">简体中文</A></TD>
          <TD><IMG height=10
            src="iamge2/00000icon1.gif"
            width=10></TD>
          <TD><A href="#" class="B">English</A>&nbsp;</TD>
          <TR>
          <TD colspan="4">&nbsp;</TD>
         </TBODY></TABLE>
  <!--具体导航-->  </td>
</tr>

</table>

 <!--此为导航菜单-->
 <table width="100%"  border="0" cellspaing="0" cellpadding="0">
   <tr>
   <td>
    <ul id="menu1" >
    <li><a href="index.asp" >首  页</a></li>
 
    <li onMouseOver="showmenu('show')" onMouseOut="showmenu('hidden')">
 <a href="javascript:void(null)" onFocus="this.blur()">公司概况</a><div id="menu" style="display:none;filter:revealTrans(Duration=11,Transition=12);position:absolute;">
    <div style="color:#000000;"><a href="commany.asp">公司简介</a></div>
    <div style="color:#000000;"><a href="honor.asp">资质荣誉</a></div></div></li>
  
    <li onMouseOver="showmenu1('show')" onMouseOut="showmenu1('hidden')">
 <a href="javascript:void(null)" onFocus="this.blur()">产品展示</a><div id="menu2" style="display:none;filter:revealTrans(Duration=1,Transition=12);position:absolute;">
 <div style="color:#000000;"><a href="product_Machinery.asp">机械设备</a></div>
 <div style="color:#000000;"><a href="product_Imports.asp">进口设备</a></div>
 <div style="color:#000000;"><a href="product_Exports.asp">出口设备</a></div></div></li>
 
    <li><a href='zuzhi.asp'>组织架构</a></li>
    <li><a href='fuwu.asp'>服务中心</a></li>
    <li><a href='invite.asp'>人才招聘</a></li>
    <li><a href='contactus.asp'>联系我们</a></li>
</ul>
</td>
</tr> 
   <tr  valign="top" bgcolor="#666666">
     <td ><img src="iamge2/head.jpg" > </td>
   </tr>
 </table>

60多年前,一个朋友给我讲了一个笑话,把我笑翻了,后来由于肚子太疼进了医院。医生给我做手术前,问我 为什么笑成这样,我就讲给他听。他听后狂笑不止,最后竟然笑死了。 我被送上了法庭。法官让我把那个笑话讲出来,由陪审团判定是否与过失杀人的事实要件符合,我要求签订免责合同。法官宣布休庭,一天后重新开庭,宣布接纳我的意见。于是,我当庭把那个笑话讲了出来,结果有人笑得敲桌子,有人笑得在地上打滚。后来,当天所有听到这个笑话的人都笑死了。 我瞬间成了名人,各路记者纷纷要求采访我,我知道这笑话讲出去可能构成公共侵害,于是对着镜头,我含糊地说了一番话,大意就是:“理由永远是谎言,信仰永远是自慰。节目播出后,引起巨大反响。可没想到,有一天,几个神秘便衣闯进我的卧室,把我连拖带拽拉到一个黑屋子里。过了好久,一束强光照到我脸上。我勉强睁开眼睛,惊呆了,坐在我面前的人是目前惟一与我一样家喻户晓的人——总统。 总统大致交待了抓我的目的,很简单:把这个笑话录下来,然后送到中东敌对国家的独裁者那儿,笑死他。我只好答应他的要求,同时提出此笑话属于大规模杀伤性武器,不可针对平民。总统答应了。 两星期后,总统宣布已经掌握了那个笑话的关键技术,并且在沙漠地区试用成功。这在国际间引起轩然大波,很多国家惊慌失措,国际军事学家将此命名为“笑威慑”。就在此时,东方一个国家突然宣布也掌握了该笑话,原来给我讲笑话的那哥们投靠了该国。于是,我们之间形成了“笑威慑平衡”。 三年后,4月1日,我终日担心的终于发生了:中东一个恐怖组织盗取了那个笑话的原始技术。结果,文明遭到前所未有的破坏,各国政府惶惶不可终日。联合国只好召开全球首脑大会,最后将4月1日设定为愚人节。 60多年过去了,我已经风烛残年。在离开世界之前,作为历史见证人,我想有必要把这个笑话讲给大家。那天,我朋友给我讲的这个笑话很简单,很短,就一句话: http://www.tf-studio.com/WORK/FUN/15.HTML 必须回复后,才能查看