用户名:  密码:
兄弟在线   

标题:js 左边显示隐藏层代码

作者:佚名 来源:网络 时间:2012-05-13

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="www.w3.org/1999/xhtml">
<head>
<title>网页特效-综合特效-可显隐的QQ客服</title>
<meta http-equiv="content-Type" content="text/html;charset=gb2312">
</head>
<body>
<!--把下面代码加到<body>与</body>之间-->
<script language="JavaScript1.2">
function move(x, y) {
if (document.all) {
object1.style.pixelLeft += x;
object1.style.pixelTop  += y;}
else
if (document.layers) {
document.object1.left += x;
document.object1.top  += y;
}};
function position() {
document.object1.left += -200;
document.object1.top  += 0;
document.object1.visibility = "show"
};
function makeStatic() {
if (document.all) {object1.style.pixelTop=document.body.scrollTop+100}
else {eval('document.object1.top=eval(window.pageYOffset+20)');}
setTimeout("makeStatic()",0);}
</script>
<layer class="NS" onmouseover="move(580,0)" onmouseout="move(-580, 0)" top="20" visibility="hide" name="object1" left="0">
<script language="JavaScript1.2">
if (document.all)
document.write('<DIV ID="object1" style="Position:Absolute;Left:-125px;Top:20px;Width:0px;Z-Index:20">')
</script>
<table onmouseover="move(120,0)" onmouseout="move(-120, 0)" cellspacing="1" cellpadding="2" border="0">
  <tr>
    <td>
      <table cellspacing="0" cellpadding="0" width="118" align="center" border="0">
        <tr>
          <td><img height="160" alt="" src="http://www.111cn.net/effect/images/qqkefu2/servicepic_01.jpg" width="118" border="0" name="servicepic_01"></td>
        </tr>
        <tr>
          <td>
            <table cellspacing="0" cellpadding="0" width="118" align="left" border="0">
              <tr>
                <td background="http://www.111cn.net/effect/images/qqkefu2/servicepic_02.jpg"><img height="25" alt="" src="http://www.111cn.net/effect/images/qqkefu2/servicepic_02.jpg" width="14" border="0" name="servicepic_02"></td>
                <td align="middle" width="89" bgcolor="#f8f6f7" height="25"><a target="blank" href="tencent://message/?uin=8127544&Site=网页特效&Menu=yes" style="font-size:9pt"><img border="0" src="http://www.111cn.net/guestbook/images/oicq.gif" alt="点击这里给我发消息">8127544</a></td>
                <td background="http://www.111cn.net/effect/images/qqkefu2/servicepic_03.jpg"><img height="25" alt="" src="http://www.111cn.net/effect/images/qqkefu2/servicepic_03.jpg" width="15" border="0" name="servicepic_03"></td>
              </tr>
            </table>
          </td>
        </tr>
        <tr>
          <td><img height="17" alt="" src="http://www.111cn.net/effect/images/qqkefu2/servicepic_04.jpg" width="118" border="0" name="servicepic_04"></td>
        </tr>
        <tr>
          <td>
            <table cellspacing="0" cellpadding="0" width="118" align="left" border="0">
              <tr>
                <td background="http://www.111cn.net/effect/images/qqkefu2/servicepic_05.jpg"><img height="24" alt="" src="http://www.111cn.net/effect/images/qqkefu2/servicepic_05.jpg" width="14" border="0" name="servicepic_05"></td>
                <td align="middle" width="89" bgcolor="#f8f6f7" height="24"><a href="http://amos1.taobao.com/msg.ww?v=2&uid=123456789&s=1" target="_blank"><img alt="点击这里给我发消息" src="http://www.111cn.net/effect/images/qqkefu2/offline.gif" border="0"></a></td>
                <td background="http://www.111cn.net/effect/images/qqkefu2/servicepic_06.jpg"><img height="24" alt="" src="http://www.111cn.net/effect/images/qqkefu2/servicepic_06.jpg" width="15" border="0" name="servicepic_06"></td>
              </tr>
              <tr>
                <td background="http://www.111cn.net/effect/images/qqkefu2/servicepic_05.jpg"> </td>
                <td align="middle" bgcolor="#f8f6f7" height="35">
                  <table cellspacing="1" cellpadding="2" width="88%" align="center" bgcolor="#ffa800" border="0">
                    <tr>
                      <td align="middle" bgcolor="#ffffff"><a href="#" target="_blank"><span style="font-size: 9pt">站点留言簿</span></a></td>
                    </tr>
                  </table>
                </td>
                <td background="http://www.111cn.net/effect/images/qqkefu2/servicepic_06.jpg"> </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr>
          <td><img height="22" alt="" src="http://www.111cn.net/effect/images/qqkefu2/servicepic_07.gif" width="118" border="0" name="servicepic_07"></td>
        </tr>
      </table>
    </td>
    <td valign="top" align="middle" width="12" rowspan="100"><img height="109" src="http://www.111cn.net/effect/images/qqkefu2/kefu.gif" width="20"></td>
  </tr>
<script language="JavaScript1.2">
<!--
if (document.all||document.layers)
makeStatic();
if (document.layers) {
window.onload=position;
}
var sitems=new Array();
var sitemlinks=new Array();
function hl(n) {
n.className='hl'}
function n(h) {
h.className='n'}
//--></script>
</table>
<script language="JavaScript1.2">
if (document.all)
document.write('</DIV>')
</script>
</layer>
</body>
</html>



编辑:admin 总点击 [945]   评论  0 查看评论
上一篇:js 点击切换图片的效果
下一篇:js 控制execel表格
【关闭窗口】
您可能感兴趣的文章
我要评论
          
评论标题:   可以输入250
 
验证数字: 4 + 5 =
兄弟友情提示
· 请自觉遵守国家有关法律、法规,尊重网上道德。
· 兄弟在线坚决抵制不良言行,违者文责自负。
· 如果文章有版权或其他问题等,请联系我们,我们会尽快处理。
· 文章注名来自网络的旨在传播共享信息,不做其它用途;注名原创的本站支持原创,但不代表同意其观点。
· 兄弟在线拥有管理用户与其文章和评论的一切权利,并有权在网站内转载或引用。
兄弟在线
兄弟热门文章
兄弟推荐文章
兄弟站内搜索

兄弟感兴趣的文章
兄弟最新影视