w19880321 发表于 2007-9-22 11:34:22

交大家一个黑页的制作程序

将代码复制到记事本中,再重命名为***.html   再双击即可.:loveliness:


<head>
<title>华夏黑客联盟BY ****www.baidu.com</title>
</head>
<body bgcolor="#000000" onload="dynAnimation8()">
<h1><span id="theText" style="width:100%">
          〓华夏黑客联盟 *****〓警示:贵站已被测试,存在严重漏洞!</h1>   
</span>
<bgsound src=http://www.cnkinghack.com/vip/hack.mid loop="-1">

<script>
<!--
var from = 1;
var to = 4;
var delay = 55; //闪的速度
var glowColor = "lime";//颜色
var i = to;
var j = 0;
textPulseDown();

function textPulseUp()
{
if (!document.all)
return
if (i < to)
{
theText.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
i++;
theTimeout = setTimeout('textPulseUp()',delay);
return 0;
}

if (i = to)
{
theTimeout = setTimeout('textPulseDown()',delay);
return 0;
}


}

function textPulseDown()
{
if (!document.all)
return
if (i > from)
{
theText.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
i--;
theTimeout = setTimeout('textPulseDown()',delay);
return 0;
}

if (i = from)
{
theTimeout = setTimeout('textPulseUp()',delay);
return 0;
}
}

//-->
</script>

<SCRIPT language="JavaScript" FPTYPE="dynamicanimation8">
<!--
dynamicanimAttr = "dynamicanimation8"
animateElements = new Array()
currentElement = 0
speed = 0
stepsZoom = 8
stepsWord = 8
stepsFly = 12
stepsSpiral = 16
steps = stepsZoom
step = 0
outString = ""
function dynAnimation8()
{
    var ms = navigator.appVersion.indexOf("MSIE")
    ie4 = (ms>0) && (parseInt(navigator.appVersion.substring(ms+5, ms+6)) >= 4)
    if(!ie4)
    {
      if((navigator.appName == "Netscape") &&
      (parseInt(navigator.appVersion.substring(0, 1)) >= 4))
      {
      for (index=document.layers.length-1; index >= 0; index--)
      {
            layer=document.layers
            if (layer.left==10000)
                layer.left=0
      }
      }
      return
    }
    for (index=document.all.length-1; index >= document.body.sourceIndex; index--)
    {
      el = document.all
      animation = el.getAttribute(dynamicanimAttr, false)
      if(null != animation)
      {
      if(animation == "dropWord" || animation == "flyTopRightWord" || animation == "flyBottomRightWord")
      {
          ih = el.innerHTML
          outString = ""
          i1 = 0
          iend = ih.length
          while(true)
          {
            i2 = startWord(ih, i1)
            if(i2 == -1)
            i2 = iend
            outWord(ih, i1, i2, false, "")
            if(i2 == iend)
            break
            i1 = i2
            i2 = endWord(ih, i1)
            if(i2 == -1)
            i2 = iend
            outWord(ih, i1, i2, true, animation)
            if(i2 == iend)
            break
            i1 = i2
          }
          document.all.innerHTML = outString
          document.all.style.posLeft = 0
          document.all.setAttribute(dynamicanimAttr, null)
      }
      if(animation == "zoomIn" || animation == "zoomOut")
      {
          ih = el.innerHTML
          outString = "<SPAN " + dynamicanimAttr + "=\"" + animation + "\" style=\"position: relative; left: 10000;\">"
          outString += ih
          outString += "</SPAN>"
          document.all.innerHTML = outString
          document.all.style.posLeft = 0
          document.all.setAttribute(dynamicanimAttr, null)
      }
      }
    }
    i = 0
    for (index=document.body.sourceIndex; index < document.all.length; index++)
    {
      el = document.all
      animation = el.getAttribute(dynamicanimAttr, false)
      if (null != animation)
      {
      if(animation == "flyLeft")
      {
          el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
          el.style.posTop = 0
      }
      else if(animation == "flyRight")
      {
          el.style.posLeft = 10000-offsetLeft(el)+document.body.offsetWidth
          el.style.posTop = 0
      }
      else if(animation == "flyTop" || animation == "dropWord")
      {
          el.style.posLeft = 0
          el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
      }
      else if(animation == "flyBottom")
      {
          el.style.posLeft = 0
          el.style.posTop = document.body.scrollTop-offsetTop(el)+document.body.offsetHeight
      }
      else if(animation == "flyTopLeft")
      {
          el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
          el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
      }
      else if(animation == "flyTopRight" || animation == "flyTopRightWord")
      {
          el.style.posLeft = 10000-offsetLeft(el)+document.body.offsetWidth
          el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
      }
      else if(animation == "flyBottomLeft")
      {
          el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
          el.style.posTop = document.body.scrollTop-offsetTop(el)+document.body.offsetHeight
      }
      else if(animation == "flyBottomRight" || animation == "flyBottomRightWord")
      {
          el.style.posLeft = 10000-offsetLeft(el)+document.body.offsetWidth
          el.style.posTop = document.body.scrollTop-offsetTop(el)+document.body.offsetHeight
      }
      else if(animation == "spiral")
      {
          el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
          el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
      }
      else if(animation == "zoomIn")
      {
          el.style.posLeft = 10000
          el.style.posTop = 0
      }
      else if(animation == "zoomOut")
      {
          el.style.posLeft = 10000
          el.style.posTop = 0
      }
      else
      {
          el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
          el.style.posTop = 0
      }
      el.initLeft = el.style.posLeft
      el.initTop = el.style.posTop
      animateElements = el
      }
    }
    window.setTimeout("animate();", speed)
}
function offsetLeft(el)
{
    x = el.offsetLeft
    for (e = el.offsetParent; e; e = e.offsetParent)
      x += e.offsetLeft;
    return x
}
function offsetTop(el)
{
    y = el.offsetTop
    for (e = el.offsetParent; e; e = e.offsetParent)
      y += e.offsetTop;
    return y
}
function startWord(ih, i)
{
    for(tag = false; i < ih.length; i++)
    {
      c = ih.charAt(i)
      if(c == '<')
      tag = true
      if(!tag)
      return i
      if(c == '>')
      tag = false
    }
    return -1
}
function endWord(ih, i)
{
    nonSpace = false
    space = false
    while(i < ih.length)
    {
      c = ih.charAt(i)
      if(c != ' ')
      nonSpace = true
      if(nonSpace && c == ' ')
      space = true
      if(c == '<')
      return i
      if(space && c != ' ')
      return i
      i++
    }
    return -1
}
function outWord(ih, i1, i2, dyn, anim)
{
    if(dyn)
      outString += "<SPAN " + dynamicanimAttr + "=\"" + anim + "\" style=\"position: relative; left: 10000;\">"
    outString += ih.substring(i1, i2)
    if(dyn)
      outString += "</SPAN>"
}
function animate()
{
    el = animateElements
    animation = el.getAttribute(dynamicanimAttr, false)
    step++
    if(animation == "spiral")
    {
      steps = stepsSpiral
      v = step/steps
      rf = 1.0 - v
      t = v * 2.0*Math.PI
      rx = Math.max(Math.abs(el.initLeft), 200)
      ry = Math.max(Math.abs(el.initTop),200)
      el.style.posLeft = Math.ceil(-rf*Math.cos(t)*rx)
      el.style.posTop= Math.ceil(-rf*Math.sin(t)*ry)
    }
    else if(animation == "zoomIn")
    {
      steps = stepsZoom
      el.style.fontSize = Math.ceil(50+50*step/steps) + "%"
      el.style.posLeft = 0
    }
    else if(animation == "zoomOut")
    {
      steps = stepsZoom
      el.style.fontSize = Math.ceil(100+200*(steps-step)/steps) + "%"
      el.style.posLeft = 0
    }
    else
    {
      steps = stepsFly
      if(animation == "dropWord" || animation == "flyTopRightWord" || animation == "flyBottomRightWord")
      steps = stepsWord
      dl = el.initLeft / steps
      dt = el.initTop/ steps
      el.style.posLeft = el.style.posLeft - dl
      el.style.posTop = el.style.posTop - dt
    }
    if (step >= steps)
    {
      el.style.posLeft = 0
      el.style.posTop = 0
      currentElement++
      step = 0
    }
    if(currentElement < animateElements.length)
      window.setTimeout("animate();", speed)
}

//-->


</SCRIPT>

<p dynamicanimation8="dropWord"
style="position: relative !important; left: 10000 !important" align="center"><font size="3" color="#00FF00"><b>不测不知道,一测吓我一跳,哥们你“露点”不少~</b></font><font size="7"><b><font face="Arial, Helvetica, sans-serif" color="#FF0000">华夏黑客联盟</font><font color="#FF0000">↑BYmalikai
</font></b></font></p>

<div style="width: 857; font-size: 15pt; font-family: Arial; color: White; position: relative; filter: glow(color=00CCFF, strength=5); height: 23">                                             
<font face="华文行楷" size="5">我藐视“淫秽信息制造者”!因为互联网是唯一洁净的天空!</font></div>
<div style="width: 857; font-size:15pt; font-family: Arial ; color: White; position: relative; filter: glow(color=00CCFF, strength=5)">                                    <p>                        <font face="华文行楷" size="5">贵站还有另外的入侵者。漏洞自己补。</font> </div>
<div style="width: 857; font-size:15pt; font-family: Arial ; color: White; position: relative; filter: glow(color=00CCFF, strength=5)">                                    <p>                                             
<font face="华文行楷" size="5">      
我藐视“淫秽信息制造者”!因为它玷污了女性的纯洁!</font> </div>
<div style="width: 857; font-size:15pt; font-family: Arial ; color: White ; position: relative; filter: glow(color=00CCFF, strength=5)">   
<p>                              
<font face="华文行楷" size="5">虽然黑暗、孤寂在侵蚀我的世界,但</font><font face="隶书" size="7"><b>H</b></font><b><font face="黑体" size="5">acker</font></b><font face="华文行楷" size="5">精神,我还是毕生追求....</font>
<p>            <b>
<font face="华文新魏" size="5">
<marquee>《=◆天赋异能 谁与争峰 你的电脑 我的权限◆=》</marquee>
</font>
</b></div>
<div style="width: 857; font-size: 15pt; font-family: Arial; color: White; position: relative; filter: glow(color=FFFF00, strength=5); height: 35">                                                                                                
<font color="#FF0000"><font face="华文行楷" size="5"><i>华夏黑客联盟

njdxsheng 发表于 2007-9-22 13:14:19

看了还是不懂:call:

夏夜晨星 发表于 2007-9-22 13:50:38

那音乐不错,应该发到PC区~~

gg123 发表于 2007-9-22 15:28:28

又是HTML!
晕了!:Q

fjxwud 发表于 2007-9-22 19:46:55

你的电脑...我的权限...?:handshake

pangli1982 发表于 2007-9-22 20:36:20

??????????????????????

这个行吗?

onlyloveyf 发表于 2007-9-23 11:36:58

你的电脑...我的权限

经典

55308720 发表于 2007-9-23 19:24:58

貌似很无聊的一个html的源码.........
页: [1]
查看完整版本: 交大家一个黑页的制作程序