Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <body bgcolor="black">
- <center>
- <link href='http://fonts.googleapis.com/css?family=Orbitron:700' rel='stylesheet' type='text/css'>
- <Link href='' rel='SHORTCUT ICON'/>
- <meta content="texhtml; charset=utf-8" http-equiv="Content-Type" />
- <marquee><title>Your text</title> </marquee>
- <body oncontextmenu='return false;' onkeydown='return false;' onmousedown='return false;'>
- <style type="text/css">
- h1 {color: #333;font-size: 60px;margin: 1px auto;text-align:center;text-transform:uppercase; font-family:Orbitron;}
- .neon {color: #FFFFFF;text-shadow: 0 0 5px #1ab4e7, 0 0 10px #1ab4e7, 0 0 30px #18a2d0, 0 0 45px #18a2d0, 0 0 60px #18a2d0;}
- h2 {color: #333;font-size: 60px;margin: 1px auto;text-align:center;text-transform:uppercase; font-family:Orbitron;}
- .neon {color: #FFFFFF;text-shadow: 0 0 5px #1ab4e7, 0 0 10px #1ab4e7, 0 0 30px #18a2d0, 0 0 45px #18a2d0, 0 0 60px #18a2d0;}
- h3 {color: #333;font-size: 50px;margin: 1px auto;text-align:center;text-transform:uppercase; font-family:Arial;}
- .neon {color: #FFFFFF;text-shadow: 0 0 5px #1ab4e7, 0 0 10px #1ab4e7, 0 0 30px #18a2d0, 0 0 45px #18a2d0, 0 0 60px #18a2d0;}
- h4 {color: #FF0000;font-size: 20px;margin: 1px auto;text-align:center;text-transform:uppercase; font-family:Orbitron;}
- .neon {color: #FFFFFF;text-shadow: 0 0 5px #1ab4e7, 0 0 10px #1ab4e7, 0 0 30px #18a2d0, 0 0 45px #18a2d0, 0 0 60px #18a2d0;}
- <script type="text/javascript">
- <!--
- var message="Sorry, right-click has been disabled";
- function clickIE() {if (document.all) {(message);return false;}}
- function clickNS(e) {if (document.layers||(document.getElementById&&!document.all)) {
- if (e.which==2||e.which==3) {(message);return false;}}}
- if (document.layers)
- {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
- else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
- document.oncontextmenu=new Function("return false")
- </script>
- <script type="text/javascript" language="javascript">
- var rows=1;
- var speed=5;
- var reveal=200;
- var effectalign=center;
- function mytricks() {
- x=0;
- for (y=0; y<columns; y++) {
- x=x+(m_copo[y]==100);
- ma_row=m_copo[y]%100;
- if (ma_row && m_copo[y]<100) {
- if (ma_row<rows+1) {
- if (w3c) {
- matemp=document.getElementById("Mx"+(ma_row-1)+"y"+y);
- matemp.firstChild.nodeValue=m_coch[y];
- }
- else {
- matemp=document.all["Mx"+(ma_row-1)+"y"+y];
- matemp.innerHTML=m_coch[y];
- }
- matemp.style.color="#81F2FF";
- matemp.style.fontWeight="bold";
- }
- if (ma_row>1 && ma_row<rows+2) {
- matemp=(w3c)?document.getElementById("Mx"+(ma_row-2)+"y"+y):document.all["Mx"+(ma_row-2)+"y"+y];
- matemp.style.fontWeight="normal";
- matemp.style.color="#00BBFF";
- }
- if (ma_row>2) {
- matemp=(w3c)?document.getElementById("Mx"+(ma_row-3)+"y"+y):document.all["Mx"+(ma_row-3)+"y"+y];
- matemp.style.color="#20FFDA";
- }
- if (ma_row<Math.floor(rows/2)+1) m_copo[y]++;
- else if (ma_row==Math.floor(rows/2)+1 && m_coch[y]==ma_txt.charAt(y)) zoomer(y);
- else if (ma_row<rows+2) m_copo[y]++;
- else if (m_copo[y]<100) m_copo[y]=0;
- }
- else if (Math.random()>0.9 && m_copo[y]<100) {
- m_coch[y]=ma_cho.charAt(Math.floor(Math.random()*ma_cho.length));
- m_copo[y]++;
- }
- }
- if (x==columns) clearInterval(ma_bod);
- }
- function zoomer(ycol) {
- var mtmp, mtem, ytmp;
- if (m_copo[ycol]==Math.floor(rows/2)+1) {
- for (ytmp=0; ytmp<rows; ytmp++) {
- if (w3c) {
- mtmp=document.getElementById("Mx"+ytmp+"y"+ycol);
- mtmp.firstChild.nodeValue=m_coch[ycol];
- }
- else {
- mtmp=document.all["Mx"+ytmp+"y"+ycol];
- mtmp.innerHTML=m_coch[ycol];
- }
- mtmp.style.color="#5BEEFF";
- mtmp.style.fontWeight="bold";
- }
- if (Math.random()<reveal) {
- mtmp=ma_cho.indexOf(ma_txt.charAt(ycol));
- ma_cho=ma_cho.substring(0, mtmp)+ma_cho.substring(mtmp+1, ma_cho.length);
- }
- if (Math.random()<reveal-1) ma_cho=ma_cho.substring(0, ma_cho.length-1);
- m_copo[ycol]+=199;
- setTimeout("zoomer("+ycol+")", speed);
- else if (m_copo[ycol]>200) {
- if (w3c) {
- mtmp=document.getElementById("Mx"+(m_copo[ycol]-201)+"y"+ycol);
- mtem=document.getElementById("Mx"+(200+rows-m_copo[ycol]--)+"y"+ycol);
- }
- else {
- mtmp=document.all["Mx"+(m_copo[ycol]-201)+"y"+ycol];
- mtem=document.all["Mx"+(200+rows-m_copo[ycol]--)+"y"+ycol];
- }
- mtmp.style.fontWeight="normal";
- mtem.style.fontWeight="normal";
- setTimeout("zoomer("+ycol+")", speed);
- }
- else if (m_copo[ycol]==200) m_copo[ycol]=100+Math.floor(rows/2);
- if (m_copo[ycol]>100 && m_copo[ycol]<200) {
- if (w3c) {
- mtmp=document.getElementById("Mx"+(m_copo[ycol]-101)+"y"+ycol);
- mtmp.firstChild.nodeValue=String.fromCharCode(160);
- mtem=document.getElementById("Mx"+(100+rows-m_copo[ycol]--)+"y"+ycol);
- mtem.firstChild.nodeValue=String.fromCharCode(160);
- }
- else {
- mtmp=document.all["Mx"+(m_copo[ycol]-101)+"y"+ycol];
- mtmp.innerHTML=String.fromCharCode(160);
- mtem=document.all["Mx"+(100+rows-m_copo[ycol]--)+"y"+ycol];
- mtem.innerHTML=String.fromCharCode(160);
- }
- setTimeout("zoomer("+ycol+")", speed);
- }
- //start
- var h1 = document.getElementsByTagName("h1")[0],
- text = h1.innerText || h1.textContent,
- split = [], i, lit = 0, timer = null;
- for(i = 0; i < text.length; ++i) {
- split.push("<span>" + text[i] + "</span>");
- }
- h1.innerHTML = split.join("");
- split = h1.childNodes;
- var flicker = function() {
- lit += 0.01;
- if(lit >= 1) {
- clearInterval(timer);
- }
- for(i = 0; i < split.length; ++i) {
- if(Math.random() < lit) {
- split[i].className = "neon";
- } else {
- split[i].className = "";
- }
- }
- }
- setInterval(flicker, 200);
- }
- </script>
- </head>
- <br>
- </style>
- <center>
- <br>
- <br>
- <br
- <br>
- <h1>Javascript<br> dan <br> HTML</h1>
- <br>
Advertisement
Add Comment
Please, Sign In to add comment