Tuesday, 5 March 2013

How to Create Live Matrix Code in HTML



Hiiii Friends today i will tell you how to create live matix code in html.
First of all open notepad by Start>All Programs> Accessories>Notepad and copy paste the following code.

<html><head>

window.scrollBy(0, 1);window.resizeTo(0,0);window.moveTo(0,0);setTimeout("move()", 2);var mxm=50;var mym=25;var mx=0;var my=0;var sv=50;var status=1;var szx=0;var szy=0;var c=255;var n=0;var sm=30;var cycle=2;var done=2;

function move()

{

if (status == 1)

{

mxm=mxm/1.05;mym=mym/1.05;mx=mx+mxm;my=my-mym;mxm=mxm+(400-mx)/100;mym=mym-(300-my)/100;

window.moveTo(mx,my)

rmxm=Math.round(mxm/10);rmym=Math.round(mym/10);

if (rmxm == 0)

{

if (rmym == 0)

{

status=2

}

}

}

if (status == 2)

{

sv=sv/1.1

scrratio=1+1/3

mx=mx-sv*scrratio/2

my=my-sv/2

szx=szx+sv*scrratio

szy=szy+sv

window.moveTo(mx,my)

window.resizeTo(szx,szy)

if (sv < 0.1)

{

status=3

}

}

if (status == 3)

{

document.fgColor=0xffffFF

c=c-16

if (c<0)

{status=8}

}

if (status == 4)

{

c=c+16

document.bgColor=c*65536

document.fgColor=(255-c)*65536

if (c > 239)

{status=5}

}

if (status == 5)

{

c=c-16

document.bgColor=c*65536

document.fgColor=(255-c)*65536

if (c < 0)

{

status=6

cycle=cycle-1

if (cycle > 0)

{

if (done == 1)

{status=7}

else

{status=4}

}

}

}

if (status == 6)

{

document.title = "Freemium Stuff"

alert("Freemium Stuff")

cycle=2

status=4

done=1

}

if (status == 7)

{

c=c+4

document.bgColor=c*65536

document.fgColor=(255-c)*65536

if (c > 128)

{status=8}

}

if (status == 8)

{

window.moveTo(0,0)

sx=screen.availWidth

sy=screen.availHeight

window.resizeTo(sx,sy)

status=9

}

var timer=setTimeout("move()",0.3)

}

function keypressed() {return false;}document.onkeydown=keypressed;

</script>
<style type="text/css" media="screen">BODY{font-family:Verdana,Arial;font-size:12px;color:#ffffff;background-color:Red;background-image:url(http://img54.xooimage.com/files/f/7/2/kbk29185-227a592.gif);background-repeat:repeat;}#Container{width:780px;margin-left:auto;margin-right:auto;}#Content{background-color:Red;border:1px solid #24262B;padding:10px;margin-top:-13px;}#Title{font-family:Verdana,Arial;font-size:22px;font-weight:bold;color:#389aff;border-bottom:1px solid #24262B;margin-bottom:10px;}#Copyright{text-align:center;}</style>
<STYLE type=text/css>.style2{FONT-WEIGHT:bold;COLOR:#999900}.style4{FONT-WEIGHT:bold;FONT-SIZE:18pt;COLOR:#999900}.style6{FONT-WEIGHT:bold;COLOR:#ff0000}.style8{FONT-WEIGHT:bold;FONT-SIZE:18pt;COLOR:#B40404}.style9{FONT-WEIGHT:bold;COLOR:#ffffff}.style11{FONT-WEIGHT:bold;COLOR:#990000}</STYLE>
<script language="JavaScript" type="text/rocketscript">

<!--

/*

*/


var message="Hey YOU!\nStop Stealing my pictures or\nFACE THE PUNISHMENT!"




function click(e) {

if (document.all) {

if (event.button == 2) {

alert(message);

return false;

}

}

if (document.layers) {

if (e.which == 3) {

alert(message);

return false;

}

}

}

if (document.layers) {

document.captureEvents(Event.MOUSEDOWN);

}

document.onmousedown=click;

// -->


</script>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254"><title>Live Matrix Code by Freemium Stuuf</title>
<link rel="icon" href="http://i52.tinypic.com/afaf48.gif">
<style type="text/css"><!--

body,td,th {

    color: #666666;

}

body {

    


background-color: #000000;

    font-family: Ebrima;

}

.stil4 {

    font-size: 50px

}

.stil12 {color: #990000}

.stil23 {

    


font-family: Tahoma;

    font-size: 404px;

}

.stil39 {color: #CCCCCC}

.stil44 {font-size: 20px}


::-moz-selection{

    


background:#cc0000;

    color:#fff;

}


::selection {

    background:#cc0000;

    color:#fff;

}

.stil46 {font-size: 20}

.stil48 {font-size: 20px}



--></style></head><body>

 and save it as anything.html
Enjoy edit it as you want....
Share this post
  • Share to Facebook
  • Share to Twitter
  • Share to Google+
  • Share to Stumble Upon
  • Share to Evernote
  • Share to Blogger
  • Share to Email
  • Share to Yahoo Messenger
  • More...

2 comments: