Icerige atla
Extraloob

JavaScript Devam Siteniz İçin

· 22 Yanıt · 4.3K görüntüleme
N
Narqotic OP ⭐ 19y
#1
Tarih ve saat......
<html>
<head>
<title>Java Script Time</title>

<script language="JavaScript">
<!--
   var tick;
   function stop() {
      clearTimeout(tick);
   }
   function usnotime() {
      var ut=new Date();
      var d,mo,y;
      var h,m,s;
      var ms;
      var q="AM";
      var date;
      var time;

      y=ut.getYear();
      mo=ut.getMonth();
      d=ut.getDate();
      h=ut.getHours();
      m=ut.getMinutes();
      s=ut.getSeconds();
      ms=ut.getTime();

      mo++;
      if(mo<=9) mo=" "+mo;
      if(d<=9) d="0"+d;
      if(y< 80) y+=2000;
      if(y<=99) y+=1900;
      date=" "+mo+"/"+d+"/"+y+" ";

      if(h>=12) q="PM";
      if(h>=13) h-=12;
      if(s<=9) s="0"+s;
      if(m<=9) m="0"+m;
      if(h<=9) h=" "+h;
      time=" "+h+":"+m+":"+s+" "+q+" ";

      ms=ms+"  ";

      document.rclock.rdate.value=date;
      document.rclock.rtime.value=time;
//      document.rclock.rmill.value=ms;
      tick=setTimeout("usnotime()",1000);
   }
//-->
</script>
</head>

<BODY  
<form name="rclock">

<input type="text" name="rdate" value="            " size="14">

<input type="text" name="rtime" value="            " size="14">

<!-- br -->
<!-- input type="text" name="rmill" value="            " size="14") Milliseconds since 1/01/1970 -->

</form>
</body>
</html>
22 Yanıt
N
Narqotic OP ⭐ 19y
#2
Ziyaretçiyi tanimlama html kodu...
<script>
<!--
// Copyright (c) 1996-1997 Tomer Shiran. All rights reserved.
// Permission given to use the script provided that this notice remains as is.
// Additional scripts can be found at http://www.javadepo.com

// Boolean variable specified if alert should be displayed if cookie exceeds 4KB
var caution = false

// name - name of the cookie
// value - value of the cookie
// [expires] - expiration date of the cookie (defaults to end of current session)
// [path] - path for which the cookie is valid (defaults to path of calling document)
// [domain] - domain for which the cookie is valid (defaults to domain of calling document)
// [secure] - Boolean value indicating if the cookie transmission requires a secure transmission
// * an argument defaults when it is assigned null as a placeholder
// * a null placeholder is not required for trailing omitted arguments
function setCookie(name, value, expires, path, domain, secure) {
var curCookie = name + "=" + escape(value) +
((expires) ? "; expires=" + expires.toGMTString() : "") +
((path) ? "; path=" + path : "") +
((domain) ? "; domain=" + domain : "") +
((secure) ? "; secure" : "")
if (!caution || (name + "=" + escape(value)).length <= 4000)
document.cookie = curCookie
else
if (confirm("Cookie exceeds 4KB and will be cut!"))
document.cookie = curCookie
}

// name - name of the desired cookie
// * return string containing value of specified cookie or null if cookie does not exist
function getCookie(name) {
var prefix = name + "="
var cookieStartIndex = document.cookie.indexOf(prefix)
if (cookieStartIndex == -1)
return null
var cookieEndIndex = document.cookie.indexOf(";", cookieStartIndex + prefix.length)
if (cookieEndIndex == -1)
cookieEndIndex = document.cookie.length
return unescape(document.cookie.substring(cookieStartIndex + prefix.length, cookieEndIndex))
}

// name - name of the cookie
// [path] - path of the cookie (must be same as path used to create cookie)
// [domain] - domain of the cookie (must be same as domain used to create cookie)
// * path and domain default if assigned null or omitted if no explicit argument proceeds
function deleteCookie(name, path, domain) {
if (getCookie(name)) {
document.cookie = name + "=" + 
((path) ? "; path=" + path : "") +
((domain) ? "; domain=" + domain : "") +
"; expires=Thu, 01-Jan-70 00:00:01 GMT"
}
}

// date - any instance of the Date object
// * you should hand all instances of the Date object to this function for "repairs"
// * this function is taken from Chapter 14, "Time and Date in JavaScript", in "Learn Advanced JavaScript Programming"
function fixDate(date) {
var base = new Date(0)
var skew = base.getTime()
if (skew > 0)
date.setTime(date.getTime() - skew)
}

var now = new Date()
fixDate(now)
now.setTime(now.getTime() + 31 * 24 * 60 * 60 * 1000)
var name = getCookie("name")
if (!name)
name = prompt("Lütfen isminizi yazın:", "Adınız(site sizi bu isimle hatırlıycak.")
setCookie("name", name, now)
document.write(" " + name + "")
//-->
</script>
N
Narqotic OP ⭐ 19y
#3
Baslikta saat

<!-- Extraloob.com / narqoTic--!>
<SCRIPT Language="JavaScript">
<!-- Hide

/*
This script was written by Mike Cullen, 1999
Featured on Dynamic Drive (dynamicdrive.com)
For full source code, installation instructions
and many more DHTML scripts
Visit Dynamicdrive.com
*/


var scroller;
var ampm;
var actualtitle=document.title+" "
function antiMilitaryTime()
{
if (hr == "12"){
ampm="P.M."
}
else if (hr == "13"){
hr="1"
ampm="P.M."
}
else if (hr == "14"){
hr="2"
ampm="P.M."
}
else if (hr == "15"){
hr ="3"
ampm="P.M."
}
else if (hr == "16"){
hr = "4"
ampm="P.M."
}
else if (hr == "17"){
hr = "5"
ampm="P.M."
}
else if (hr == "18"){
hr = "6"
ampm="P.M."
}
else if (hr == "19"){
hr = "7"
ampm="P.M."
}
else if (hr == "20"){
hr = "8"
ampm="P.M."
}
else if (hr == "21"){
hr = "9"
ampm="P.M."
}
else if (hr == "22"){
hr = "10"
ampm="P.M."
}
else if (hr == "23"){
hr = "11"
ampm="P.M."
}
else if (hr == "24"){
hr = "12"
}
}
function addZero(){
if (min <= "9"){
min = "0"+min
}
if (sec<= "9"){
sec = "0"+sec
}
if (hr <="9"){
hr = "0"+hr
}
}
function time(){
dt=new Date()
sec=dt.getSeconds()
hr=dt.getHours()
ampm="A.M."
min=dt.getMinutes()
}
function scroll() {
time()
antiMilitaryTime()
addZero()
var scroller="SAAT: "+hr+":"+min+":"+sec+" "+ampm
var timeout=setTimeout("scroll()", 1000)
  document.title=actualtitle+scroller
  }
if (document.all)
scroll()
//-->
</SCRIPT>
N
Narqotic OP ⭐ 19y
#4
Web siten açilinca sarki çalsin mi?
<BGSOUND SRC="Dosyanın Adresi" LOOP=Kaç kere tekrarlanacağı>


ÖRNEK:
<BGSOUND SRC="../../Adnan - Salih/Cebimdekiler/Sesler/GS marşı.wav" LOOP=50>
N
Narqotic OP ⭐ 19y
#5
Banner kaldirma (Bazi free sitelerin banerlerinden kurtulma )


evet Size bazı free host weren sitelerdeki bannerları ortasdan kaldırmanıza yarayacak kodları vereceğim:

FREESERVERS.COM ADRESİNDEN ALINAN WEB ALANLARI İÇİN FİRMA REKLAMINI İPTAL ETME
Bu kodu ilk önce sayfanızın </Head> bölümüne koyun:
<style><!--iframe{display:none;}--></style>

Daha sonra aşağıdaki kodu <BODY> tagından sonra yerleştirin

<div style="position:relative;top:-50;z-index:0;background:black;"> (background rengini kendi sayfanızın rengiyle değiştirin. Örneğin sayfanız beyaz ise buraya white yazın. 
<p align="center"><br> 
</p> 

<p align="center"><br> 
</p>
N
Narqotic OP ⭐ 19y
#6
Sayfanizda midi çaldirmak için ideal
<Script Language="JavaScript">
<!-- Hiding 

s Array()
var x = 0

song[1] = "Cool Midi # 1"
song[2] = "Cool Midi # 2"
song[3] = "Cool Midi # 3"
song[4] = "Cool Midi # 4"
song[5] = "Cool Midi # 5"
song[6] = "Cool Midi # 6"

function prev(){
if (x>1)
{ x--
document.midi.typein.value=song [x]
}
}

function next(){
var max= song.length-1
if (x<max)
{ x++
document.midi.typein.value=song [x]
}
}

function go(){
if (x != 0){
location.href='song'+x+'.mid'
}
}

function start(){
x=1
document.midi.typein.value=song [x]
}

function end(){
x=song.length-1
document.midi.typein.value=song [x]
}

function cls(){
document.midi.typein.value="Select Midi Song"
}
// Done Hiding -->
</Script>
<BODY Bgcolor="#ffffff" 
<Center>
<FORM Name="midi">
<INPUT NAME="typein" TYPE="text" SIZE="25" ALIGN=top><BR>
<font size=3 face="Comic Sans Ms">
<INPUT TYPE=Button Value="|<<" Align=left 
<INPUT TYPE=Button Value="<<" Align=left 
<INPUT TYPE=Button Value="PLAY" Align=left 
<INPUT TYPE=Button Value=">>" Align=left 
<INPUT TYPE=Button Value=">>|" Align=left 
</FORM></font>
</Center>
</BODY>
</HTML>
<!-- End Of Midi Master Script -->

</body>
</html>
N
Narqotic OP ⭐ 19y
#7
Link üstüne gelince (+) isareti
<style>
<!--
a:hover{color:3399ff}
a{cursor:crosshair}
a{text-decoration:none;}
//-->

</style>
N
Narqotic OP ⭐ 19y
#8
canlı TV html kodu

<center><iframe name="player" height="250" width="600" src="http://www.canlitv.com/webmaster/player.php?style=1" border="0" frameborder="0" scroll="0"></iframe></center>
N
Narqotic OP ⭐ 19y
#9
Video izletir
<embed name="RAOCXplayer" src="buraya Video  nun url Yazyyorsunuz" type="application/x-mplayer2" ShowStatusBar="0" AutoSize="true" DisplaySize="0" AutoStart="true"></embed>
N
Narqotic OP ⭐ 19y
#10
Yukari kayan yazi
<HTML>
<HEAD>
<TITLE>Untitled Page</TITLE>
<META NAME="Generator" C by BlueVoda">
</HEAD>
<BODY bgcolor="#FFFFFF" text="#000000" vlink="#FF0000">
<DIV style="overflow:hidden; position:absolute; left:357px; top:71px; width:233px; height:336px; z-index:0"  align="left" align="top">
<p><font color="#00FF00" size="3" face="Arial"><strong><marquee bgcolor="#000080" height="331" direction="up" scrolldelay="80" scrollamount="2" behavior="scroll" align="top" loop="0">Site Kullanıcıları için çok iyi bir yukarı kayan yazı örneği. Hazırlayan Narqotic site kurucusu (bu yazıyı değiştirip ked istediğinizi yazabilir) Site Kullanıcıları için çok iyi bir yukarı kayan yazı örneği. Hazırlayan NarqoTiC site kurucusu (bu yazıyı değiştirip ked istediğinizi yazabilir) Site Kullanıcıları için çok iyi bir yukarı kayan yazı örneği. Hazırlayan  NarqoTiC site kurucusu (bu yazıyı değiştirip kod istediğinizi yazabilir)</marquee></strong></font></p>
</DIV>
</BODY>
</HTML>
N
Narqotic OP ⭐ 19y
#11
List box

Sehirlerin bir tanesi görüntülenirken ilçelerin üç tane görünüyor fakat imleç ile seçmek için kutucuga tiklandiginda diger seçenekler seçilebilmektedir

<html>
<head>
<title> ana sayfa </title>
<body>
<form method="post" action = "index11.htm">
<p> <b> şehir isimleri <b>
<br>
<select name="iller" size=1 mltiple>
<option>ADANA
<option>ADIYAMAN
<option>ARTVİN
<option>ARDAHAN
</select>
<p> <b> ilçe isimleri <b>
<br>
<select name="ilçeler" size=3 mltiple>
<option>kadirli
<option>kozan
<option>karaisalı
<option>ceyhan
<option>pozantı
</select>
</form>
</body>
</html>
N
Narqotic OP ⭐ 19y
#12
Sayfayi ekran dolusu açmak
<script language="JavaScript1.2">
<!--
window.moveTo(0,0);
if (document.all) {
top.window.resizeTo(screen.availWidth,screen.availHeight);}
else if (document.layers||document.getElementById) {
if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;}}
//-->
</script>
N
Narqotic OP ⭐ 19y
#13
Bir menüde site haritasi
<html><head><script language="JavaScript"> 
<!-- 
function buildArray() { 
  var a = buildArray.arguments; 
  for (i=0; i<a.length; i++) { 
    this = a; 
  } 
  this.length = a.length; 
} 
var urls1 = new buildArray("", 
"http://www.site.com/", 
"http://www.site.com/haberler/", 
"http://www.site.com/rehber/", 
"http://www.site.com/games/", 
"http://www.site.com/share/"); 
function go(which, num, win) { 
  n = which.selectedIndex; 
  if (n != 0) { 
    var url = eval("urls" + num + "[n]") 
    if (win) { 
      openWindow(url); 
    } else { 
      location.href = url; 
    } 
  } 
} 
// --> 
</script></head> 

<body> 
<form name="form1"> 
<select name="menu1"> 
<option>Seçiminizi Yapın 
<option>Ana Sayfa 
<option>Haberler 
<option>Internet Rehberi 
<option>PC Games 
<option>Shareware 
</select> 
<input type="button" name="goButton" value="Git!"  1, false)"> 
</form></body></html>
N
Narqotic OP ⭐ 19y
#14
Ekrani titretmek
<html><HEAD>

<SCRIPT LANGUAGE="JavaScript1.2">

<!-- Begin
function shake(n) {
if (self.moveBy) {
for (i = 10; i > 0; i--) {
for (j = n; j > 0; j--) {
self.moveBy(0,i);
self.moveBy(i,0);
self.moveBy(0,-i);
self.moveBy(-i,0);
         }
      }
   }
}
// End -->
</script>
</HEAD>
<BODY bgcolor="red">
<center><font color="white">
<h1>DÜĞMEYE BASIN VE OLANLARI GÖRÜN</h1>
<br>
<h3>dilerseniz seri bi şekilde space'e basmayı deneyin</h3>


<center>
<form>
<input type=button  value="BAŞLA">
</form>
N
Narqotic OP ⭐ 19y
#15
Status bar da soldan saga kayan yazi
<script language="Javascript">
<!--
var x = 0
var speed = 90
var text = "www.forumalev.com"
var course =76
var text2 = text

function Scroll() {
window.status = text2.substring(0, text2.length)
if (course < text2.length) {
setTimeout("Scroll2()", speed)
}
else {
text2 = " " + text2
setTimeout("Scroll()", speed);
}
}
function Scroll2() {
window.status = text2.substring(x, text2.length)
if (text2.length - x == text.length) { 
text2 = text
x = 0
setTimeout("Scroll()", speed);
}
else {
x++
setTimeout("Scroll2()", speed);
}
}
Scroll()
//-->
</script>
N
Narqotic OP ⭐ 19y
#16
Web-sitenizde analog saat(swf)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>FLASH SAAT</TITLE>
<META c name=>
<META http-equiv=Content-Type c charset=windows-1254">
<META c FrontPage 5.0" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff leftMargin=0 topMargin=0 marginheight="0" marginwidth="0">


<p>
      <OBJECT id=flash0 
      codeBase=http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0 
      height=105 width=102 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000><PARAM NAME="movie" VALUE="saat.swf"><PARAM NAME="quality" VALUE="High">
        <PARAM NAME="bgcolor" VALUE="FFFFFF"><PARAM NAME="_cx" VALUE="2699">
        <PARAM NAME="_cy" VALUE="2778"><PARAM NAME="FlashVars" VALUE="0"><PARAM NAME="Src" VALUE="saat.swf"><PARAM NAME="WMode" VALUE="Opaque"><PARAM NAME="Play" VALUE="0"><PARAM NAME="Loop" VALUE="-1"><PARAM NAME="SAlign" VALUE=""><PARAM NAME="Menu" VALUE="-1"><PARAM NAME="Base" VALUE=""><PARAM NAME="AllowScriptAccess" VALUE="always"><PARAM NAME="Scale" VALUE="ShowAll"><PARAM NAME="DeviceFont" VALUE="0"><PARAM NAME="EmbedMovie" VALUE="0"><PARAM NAME="SWRemote" VALUE="">

<embed src="flash.swf" 
      quality=high bgcolor=#FDED7B              width=68 height=60 
      type="application/x-shockwave-flash"             
      pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> 
               </embed></OBJECT></p>

</BODY></HTML>
N
Narqotic OP ⭐ 19y
#17
Tetris oyunu
<html><head><title> Tanıtım</title></head><body  bgcolor=ffff00  background=gri2.jpg text=ffffff link=0000ff
hlink=ff0000 vlink=ff00ff  topmargin=5 leftmargin=5 marginheight=5 marginwidth=5>

<HEAD>

<SCRIPT LANGUAGE="JavaScript">

var t=''; t1=''; qul=0;  xazi=0; d sackisid sur=true; ldd=false;
var best=0; dav=false; m1=0; m2=0; m3=0; m4=0; xazid 
var qulebi=0; n1=0; n2=0; n3=0; n4=0; strt=false; gacherdi=false;
var i=0; j=0; l=0; shua=540; shuabiji=50; shuavardna=20;
var dro, dro2, shemdegi; 
var qvebi = new Array();
var ferebi = new Array('white','magenta','red','chocolate','blue','green','gold','coral');
var suruch=ferebi[0];
var tx='Click Start \n Use Arrow keys to Play.\n Left Arrow - Move left; \n Up Arrow - Rotate; \n Right Arrow - Move right; \n Down Arrow - Drop Down;';
var txabo='Scriptris - Javascript Tetris \n Game idea by Alexey Pajitnov. \n Script by Alex-Soft.net. 2002.';

function bruni()
{
axali(i1,j1,suruch,0); axali(i2,j2,suruch,0); axali(i3,j3,suruch,0); axali(i4,j4,suruch,0);
i1=m1; j1=n1; i2=m2; j2=n2; i3=m3; j3=n3; i4=m4; j4=n4;
axali(i1,j1,sur,sh); axali(i2,j2,sur,sh); axali (i3,j3,sur,sh); axali(i4,j4,sur,sh);
}

function brunva()
{
if((strt)&&(!gacherdi))
{
if (sh == 7) {sh=14;}
else
if (sh == 14) {sh=21;}
else
if (sh == 21) {sh=28;}
else
if (sh == 28) {sh=7;}
else
if (sh == 6)
{
m2=i2+1; n2=j2+1;
m1=i1; n1=j1;
m3=i3-1; n3=j3-1;
m4=i4-2; n4=j4-2;
if (kiara()) {
sh=13;
bruni();
}
}
else
if (sh == 13)
{
m1=i1; n1=j1;
m2=i2+1; n2=j2-1;
m3=i3-1; n3=j3+1;
m4=i4-2; n4=j4+2;
if (kiara()){
sh=20;
bruni();
}
}
else
if (sh == 20)
{
m1=i1; n1=j1;
m2=i2-1; n2=j2-1;
m3=i3+1; n3=j3+1;
m4=i4+2; n4=j4+2;
if (kiara()) {
sh=27;
bruni();
}
}
else
if (sh == 27)
{
m1=i1; n1=j1;
m2=i2-1; n2=j2+1;
m3=i3+1; n3=j3-1;
m4=i4+2; n4=j4-2;
if (kiara()) {
sh=6;
bruni();
}
}
else
if (sh == 5)
{
m1=i1; n1=j1;
m2=i2-1; n2=j2+1;
m3=i3; n3=j3+2;
m4=i2; n4=j2;
if (kiara()) {
sh=12;
bruni();
}
}
else
if (sh == 12)
{
m1=i1; n1=j1;
m2=i2+1; n2=j2+1;
m3=i3+2; n3=j3;
m4=i2; n4=j2;
if (kiara()) {
sh=19;
bruni();
}
}
else
if (sh == 19)
{
m1=i1; n1=j1;
m2=i2+1; n2=j2-1;
m3=i3; n3=j3-2;
m4=i2; n4=j2;
if (kiara()) {
sh=26;
bruni();
}
}
else
if (sh == 26)
{
m1=i1; n1=j1;
m2=i2-1; n2=j2-1;
m3=i3-2; n3=j3;
m4=i2; n4=j2;
if (kiara()) {
sh=5;
bruni();
}
}
else
if (sh == 4)
{
m1=i1; n1=j1;
m2=i4; n2=j4;
m3=i3+2; n3=j3;
m4=i4-1; n4=j4-1;
if (kiara()) {
sh=11;
bruni();
}
}
else
if (sh == 11)
{
m1=i1; n1=j1;
m2=i4; n2=j4;
m3=i3; n3=j3-2;
m4=i4-1; n4=j4+1;
if (kiara()) {
sh=18;
bruni();
}
}
else
if (sh == 18)
{
m1=i1; n1=j1;
m2=i4; n2=j4;
m3=i3-2; n3=j3;
m4=i4+1; n4=j4+1;
if (kiara()) {
sh=25;
bruni();
}
}
else
if (sh == 25)
{
m1=i1; n1=j1;
m2=i4; n2=j4;
m3=i3; n3=j3+2;
m4=i4+1; n4=j4-1;
if (kiara()) {
sh=4;
bruni();
}
}
else
if (sh == 3)
{
m1=i1; n1=j1;
m2=i3; n2=j3;
m3=i3+1; n3=j3+1;
m4=i2; n4=j2;
if (kiara()) {
sh=10;
bruni();
}
}
else
if (sh == 10)
{
m1=i1; n1=j1;
m2=i3; n2=j3;
m3=i3+1; n3=j3-1;
m4=i2; n4=j2;
if (kiara()) {
sh=17;
bruni();
}
}
else
if (sh == 17)
{
m1=i1; n1=j1;
m2=i3; n2=j3;
m3=i3-1; n3=j3-1;
m4=i2; n4=j2;
if (kiara()) {
sh=24;
bruni();
}
}
else
if (sh == 24)
{
m1=i1; n1=j1;
m2=i3; n2=j3;
m3=i3-1; n3=j3+1;
m4=i2; n4=j2;
if (kiara()){
sh=3;
bruni();
}
}
else
if (sh == 2)
{
m1=i1; n1=j1;
m2=i2-1; n2=j2+1;
m3=i2; n3=j2;
m4=i4-2; n4=j4-2;
if (kiara())
{
sh=9;
bruni();
}
}
else
if (sh == 9)
{
m1=i1; n1=j1;
m2=i2+1; n2=j2+1;
m3=i2; n3=j2;
m4=i4-2; n4=j4+2;
if (kiara())
{
sh=16;
bruni();
}
}
else
if (sh == 16)
{
m1=i1; n1=j1;
m2=i2+1; n2=j2-1;
m3=i2; n3=j2;
m4=i4+2; n4=j4+2;
if (kiara()) {
sh=23;
bruni();
}
}
else
if (sh == 23)
{
m1=i1; n1=j1;
m2=i2-1; n2=j2-1;
m3=i2; n3=j2;
m4=i4+2; n4=j4-2;
if (kiara()){
sh=2;
bruni();
}
}
else
if (sh == 1)
{
m1=i1; n1=j1;
m2=i3; n2=j3;
m3=i3-1; n3=j3-1;
m4=i4-2; n4=j4-2;
if (kiara()) {
sh=8;
bruni();
}
}
else
if (sh == 😎
{
m1=i1; n1=j1;
m2=i3; n2=j3;
m3=i3-1; n3=j3+1;
m4=i4-2; n4=j4+2;
if (kiara()) {
sh=15;
bruni();
}
}
else
if (sh == 15)
{
m1=i1; n1=j1;
m2=i3; n2=j3;
m3=i3+1; n3=j3+1;
m4=i4+2; n4=j4+2;
if (kiara())
{
sh=22;
bruni();
}
}
else
if (sh == 22)
{
m1=i1; n1=j1;
m2=i3; n2=j3;
m3=i3+1; n3=j3-1;
m4=i4+2; n4=j4-2;
if (kiara())
{
sh=1;
bruni();
}
}
}
}

function marcxniv()
{
if((strt)&&(!gacherdi))
{
if ((j1 > 1)&&(j2 > 1)&&(j3 > 1)&&(j4 > 1)&&
(qvebi[(i1-1)*j10+j1-1] != 29)&&
(qvebi[(i2-1)*j10+j2-1] != 29)&&
(qvebi[(i3-1)*j10+j3-1] != 29)&&
(qvebi[(i4-1)*j10+j4-1] != 29)) 
{
axali(i1,j1,suruch,0);
axali(i2,j2,suruch,0);
axali(i3,j3,suruch,0);
axali(i4,j4,suruch,0);
j1--; j2--; j3--; j4--;
axali(i1,j1,sur,sh);
axali(i2,j2,sur,sh);
axali(i3,j3,sur,sh);
axali(i4,j4,sur,sh);
}
}
}

function marjvniv()
{
if((strt)&&(!gacherdi))
{
if ((j1 < j10)&&(j2 < j10)&&(j3 < j10)&&(j4 < j10)&&
(qvebi[(i1-1)*j10+j1+1] != 29)&&
(qvebi[(i2-1)*j10+j2+1] != 29)&&
(qvebi[(i3-1)*j10+j3+1] != 29)&&
(qvebi[(i4-1)*j10+j4+1] != 29))
{
axali(i1,j1,suruch,0);
axali(i2,j2,suruch,0);
axali(i3,j3,suruch,0);
axali(i4,j4,suruch,0);
j1++; j2++; j3++; j4++;
axali(i1,j1,sur,sh);
axali(i2,j2,sur,sh);
axali(i3,j3,sur,sh);
axali(i4,j4,sur,sh);
}
}
}

function chavardes()
{
shua=shuavardna;
}

function extract(val)
{
if ((endOfCookie=document.cookie.indexOf(';',val))==-1)
{
endOfCookie=document.cookie.length;
}
return unescape(document.cookie.substring(val, endOfCookie));
}

function read(names)
{
var number=document.cookie.length;
var len=names.length;
var u=0;
var v;
while (u<=number)
{
v=u+len;
if (document.cookie.substring(u, v)==names)
return (extract(v));
u=document.cookie.indexOf(' ', u)+1;
if (u==0) break;
}
return (null);
}

shuadidi=shua;

coo=read('robest=');
if (coo == null)
{i20=22}
else
{i20=parseInt(coo)};

coo=read('cobest=');
if (coo == null)
{j10=11}
else
{j10=parseInt(coo)};

i19=i20-1; j9=j10-1; ij200=i20*j10;

for (l=1; l<=ij200; l++)
{
qvebi[l]=0;
}

if (dro != null)clearTimeout(dro);
if (dro2 != null)clearTimeout(dro2);

function daicke()
{
if((strt == false)&&(ldd))
{
sackisid d
for (i=0; i<=9; i++)
{
if (document.forms[0].elements['doneairchie'].options.selected)
{
sackisid>.text;
d
qulebi=0;
for (j=1; j<=done; j++)
{
qulebi=qulebi+j*j*xazidoneze;
}
document.forms[0].elements[2].value=' '+done;
break;
}
}
var coo;
ricxvi();
achveneshemdegi();
for (l=1; l<=ij200; l++)
{
qvebi[l]=0; l1=l-1;
document.all['d'+l1].style.backgroundColor=suruch;
}
strt=true;
gacherdi=false;
qul=0; xazi=0;
cooknam='best2001'+i20+j10+'=';
coo=read(cooknam);
if (coo==null)
{best=0; nam=sax; st='0'}
else
{
k1=coo.indexOf('['); k3=k1+1; k4=coo.indexOf(']')-k1-1; k6=coo.length;
st=coo.substring(k3,k6); st=st.substring(0,k4);
best=parseInt(st);
nam=coo.substring(0,k1);
}
shua=shuadidi-shuabiji*done;
if (best==0)
document.forms[0].elements[0].value=''
else
document.forms[0].elements[0].value=' Score: 0.  '+nam+': '+best;
axaliqva();
if (dro != null)clearTimeout(dro);
rocadroa();
}
}

function ricxvi()
{
a=7*Math.random();
shemdegi=Math.ceil(a);
}

function bolos()
{
var cook;
var todayDate=new Date();
strt=false;
with (document)
{
if (qul>best)
{
best=qul;
todayDate.setDate(todayDate.getDate()+30);
st2=prompt('Congratulations! Enter Your Name:',nam); nam=st2;
cooknam='best2001'+i20+j10+'=';
cookie=cooknam+nam+'['+best+']'+'; expires='+todayDate.toGMTString()+';';
forms[0].elements[0].value='Congratulations '+nam+'!';
}
else
{
forms[0].elements[0].value='Result: '+qul+'. '+nam+': '+best;
}
with(document)
{
val=3*j10-1;
for (i=0; i<=val; i++)
{
all['p'+i].style.backgroundColor=suruch;
}
}
}
document.forms[1].elements[0].focus();
}

function rowsclick()
{
for (i=0; i<=3; i++)
{
if (document.forms[0].elements['rowsairchie'].options.selected)
{
i20=document.forms[0].elements['rowsairchie'].options.text;
todayDate=new Date();
todayDate.setDate(todayDate.getDate()+30);
document.cookie='robest='+i20+'; expires='+todayDate.toGMTString()+';';
break;
}
}
document.location=document.location.href;
}

function columnsclick()
{
for (i=0; i<=3; i++)
{
if (document.forms[0].elements['columnsairchie'].options.selected)
{
j10=document.forms[0].elements['columnsairchie'].options.text;
todayDate=new Date();
todayDate.setDate(todayDate.getDate()+30);
document.cookie='cobest='+j10+'; expires='+todayDate.toGMTString()+';';
break;
}
}
document.location=document.location.href;
}

function axaliqva()
{
shua=shuadidi-shuabiji*done;
sh=shemdegi;
sur=ferebi[sh];
if (sh == 1)
{i1=1; j1=5; i2=1; j2=6; i3=2; j3=5; i4=3; j4=5;}
else
if (sh == 2)
{i1=1; j1=5; i2=1; j2=4; i3=2; j3=5; i4=3; j4=5;}
else
if (sh == 3)
{i1=2; j1=6; i2=1; j2=6; i3=2; j3=7; i4=2; j4=5; sh=10;}
else
if (sh == 4)
{i1=2; j1=5; i2=2; j2=6; i3=1; j3=6; i4=3; j4=5;}
else
if (sh == 5)
{i1=2; j1=5; i2=2; j2=4; i3=1; j3=4; i4=3; j4=5;}
else
if (sh == 6)
{i1=1; j1=5; i2=1; j2=4; i3=1; j3=6; i4=1; j4=7; sh=27;}
else
if (sh == 7)
{i1=2; j1=5; i2=2; j2=6; i3=1; j3=6; i4=1; j4=5;};
if ((qvebi[i1,j1] == 29)||(qvebi[i2,j2] == 29)||(qvebi[i3,j3] == 29)||(qvebi[i4,j4] == 29))
{
bolos();
}
else
{
axali(i1,j1,sur,sh);
axali(i2,j2,sur,sh);
axali(i3,j3,sur,sh);
axali(i4,j4,sur,sh);
}
}

function axalish(ii,jj,ff)
{
l=(ii-1)*j10+jj; l1=l-1;
document.all['p'+l1].style.backgroundColor=ferebi[ff];
}

function axali(ii,jj,fil,ss)
{
l=(ii-1)*j10+jj;
if(qvebi[l] != ss)
{
qvebi[l]=ss; l1=l-1;
document.all['d'+l1].style.backgroundColor=fil;
}
}

function davardna()
{
dav=false;
for (k=1; k <=4; k++)
{
for (i=i20; i >= 1; i--)
{
n1=0;
for (j=1; j <= j10; j++)
{
l=(i-1)*j10+j;
if (qvebi[l] == 29) n1++
}
if (n1 == j10)
{
for (i1=i; i1>=2; i1--)
{
for (j1=1; j1 <= j10; j1++)
{
l=(i1-1)*j10+j1;
if(qvebi[l] != qvebi[l-j10])
{
l1=l-1;
qvebi[l]=qvebi[l-j10];
lj=l1-j10;
document.all['d'+l1].style.backgroundColor=document.all['d'+lj].style.backgroundColor;
}
}
}
dav=true;
xazi++
qul=qul+done*done;
if ((qul >= qulebi)&&(done < 10))
{
xazi=0;
done++;
qulebi=0;
for (i=1; i<=done; i++)
{
qulebi=qulebi+i*i*xazidoneze;
}
}
document.forms[0].elements[2].value=' '+done;
document.forms[0].elements[0].value='Score: '+qul+'.  '+nam+': '+best+'.';
}
if (n1 == j10) break;
}
if (n1 != j10) break;
}
}

function achveneshemdegi()
{
val=3*j10-1;
for (i=0; i<=val; i++)document.all['p'+i].style.backgroundColor=suruch;
val=shemdegi;
if (val == 1)
{i1s=1; j1s=5; i2s=1; j2s=6; i3s=2; j3s=5; i4s=3; j4s=5;}
else
if (val == 2)
{i1s=1; j1s=5; i2s=1; j2s=4; i3s=2; j3s=5; i4s=3; j4s=5;}
else
if (val == 3)
{i1s=3; j1s=6; i2s=2; j2s=6; i3s=3; j3s=7; i4s=3; j4s=5;}
else
if (val == 4)
{i1s=2; j1s=5; i2s=2; j2s=6; i3s=1; j3s=6; i4s=3; j4s=5;}
else
if (val == 5)
{i1s=2; j1s=5; i2s=2; j2s=4; i3s=1; j3s=4; i4s=3; j4s=5;}
else
if (val == 6)
{i1s=2; j1s=5; i2s=2; j2s=4; i3s=2; j3s=6; i4s=2; j4s=7;}
else
if (val == 7)
{i1s=2; j1s=5; i2s=2; j2s=6; i3s=1; j3s=6; i4s=1; j4s=5;}
axalish(i1s,j1s,val); axalish(i2s,j2s,val);
axalish(i3s,j3s,val); axalish(i4s,j4s,val);
}

function rocadroa()
{
if ((strt == true)&&(gacherdi == false))
{
if ((i1>i19)||(i2>i19)||(i3>i19)||(i4>i19)
||(qvebi[(i1)*j10+j1] == 29)||(qvebi[(i2)*j10+j2] == 29)
||(qvebi[(i3)*j10+j3] == 29)||(qvebi[(i4)*j10+j4] == 29))
{
qvebi[(i1-1)*j10+j1]=29;
qvebi[(i2-1)*j10+j2]=29;
qvebi[(i3-1)*j10+j3]=29;
qvebi[(i4-1)*j10+j4]=29;
davardna ();
axaliqva();
if (strt)
{
ricxvi();
achveneshemdegi();
}
}
else
{
if(i1>2)
{
if(qvebi[(i1-2)*j10+j1] != sh)axali(i1,j1,suruch,0);
if(qvebi[(i2-2)*j10+j2] != sh)axali(i2,j2,suruch,0);
if(qvebi[(i3-2)*j10+j3] != sh)axali(i3,j3,suruch,0);
if(qvebi[(i4-2)*j10+j4] != sh)axali(i4,j4,suruch,0);
}
else
{
axali(i1,j1,suruch,0);
axali(i2,j2,suruch,0);
axali(i3,j3,suruch,0);
axali(i4,j4,suruch,0);
}
i1++; i2++; i3++; i4++;
axali(i1,j1,sur,sh);
axali(i2,j2,sur,sh);
axali(i3,j3,sur,sh);
axali(i4,j4,sur,sh);
}
dro = setTimeout('rocadroa()',shua);
return true;
}
}

function kiara()
{
vali=true;
if((n1<1)||(n2<1)||(n3<1)||(n4<1))vali=false;
if((n1>j10)||(n2>j10)||(n3>j10)||(n4>j10))vali=false;
if(vali)
{
if((m1<1)||(m2<1)||(m3<1)||(m4<1))vali=false;
if((m1>i20)||(m2>i20)||(m3>i20)||(m4>i20))vali=false;
}
if(vali)
{
if((qvebi[(m1-1)*j10+n1] == 29)||(qvebi[(m2-1)*j10+n2] == 29))vali=false;
if((qvebi[(m3-1)*j10+n3]== 29)||(qvebi[(m4-1)*j10+n4] == 29)) vali=false;
}
return vali;
}

function zemot()
{
self.focus();
document.forms[0].elements[0].value=' Click Start!';
i=Math.round((i20-18)/2);
document.forms[0].elements['rowsairchie'].options.selected=true;
j=j10-9;
document.forms[0].elements['columnsairchie'].options[j].selected=true;
cooknam='best2001'+i20+j10+'=';
coo=read(cooknam);
ldd=true;
sax=read('abest=');
if(sax==null)sax=''; nam='';
document.forms[1].elements[0].focus();
}

document.

function keyDown(DnEvents)
{
k=window.event.keyCode;
if(k == 39){marjvniv()}
else
if(k == 37){marcxniv()}
else
if(k == 38){brunva()}
else
if(k == 40){chavardes()};
}

function gachereba()
{
if (strt)
{
if (gacherdi == false)
{
gacherdi=true;
document.forms[1].elements[1].value='^Pause ';
if (dro != null)clearTimeout(dro);
}
else
{
gacherdi=false;
document.forms[1].elements[1].value=' Pause ';
dro=setTimeout('rocadroa()', shua);
}
}
}

function chacera(mc)
{
if(mc == 3){aso='p'} else {aso='d'};
document.write('<TABLE Border=0 CellPadding=0 CellSpacing=0>');
for (i=1; i<=mc; i++)
{
with(document)
{
write("<TR>");
for (j=0; j<=j9; j++)
{
l=(i-1)*j10+j;
write("<TD align=center bgcolor="+suruch+" width=15 height=15 id='"+aso+l+"'></TD>")
}
write("</TR>");
}
}
document.write('</TABLE>');
}

if(!document.all){alert('Sorry, this script works properly only in MS Internet Explorer'); close();}

function hlp()
{
alert(tx);
}

function abo()
{
alert(txabo);
}


//-->
</SCRIPT>

</HEAD>

<!-- STEP TWO: Insert the onLoad event handler into your BODY tag  -->

<BODY 

<!-- STEP THREE: Copy this code into the BODY of your HTML document  -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<CENTER>
<TABLE CellPadding=6 CellSpacing=0 border=5 bgcolor=gray>
<TR>
<TD Align=center valign=top>
 <SCRIPT LANGUAGE="JavaScript">
 chacera (3);
</SCRIPT>

<FORM>
<TABLE border=0 width='100%'>
<TR>
<TD align=center colspan=2>
<INPUT TYPE='text' SIZE=29 VALUE='Please wait while loading!'>
</TD>
</TR>

<TR>
<TD>
<INPUT TYPE='text' SIZE=14 VALUE='Level'>
</TD>
<TD align=right>
<INPUT TYPE='text' SIZE=8 VALUE=''>
</TD>
</TR>

<TR>
<TD>
<INPUT TYPE='text' SIZE=14 VALUE='Starting Level'>
</TD>
<TD align=right>
<SELECT NAME = 'doneairchie' style="color: black; font: 10pt verdana; width:75; background:white"  this.style.color='gray'"  this.style.color='black'">
	<OPTION>1
	<OPTION>2
	<OPTION SELECTED>3
	<OPTION>4
	<OPTION>5
	<OPTION>6
	<OPTION>7
	<OPTION>8
	<OPTION>9
	<OPTION>10
</SELECT>
</TD>
</TR>

<TR>
<TD>
<INPUT TYPE='text' SIZE=14 VALUE='Rows'>
</TD>
<TD align=right>
<SELECT NAME = 'rowsairchie' style="color: black; font: 10pt verdana; width:75; background:white"   this.style.color='gray'"  this.style.color='black'">
<OPTION>18
<OPTION>20
<OPTION SELECTED>22
<OPTION>24
</SELECT>
</TD>
</TR>

<TR>
<TD>
<INPUT TYPE='text' SIZE=14 VALUE='Columns'>
</TD>
<TD align=right>

<SELECT NAME = 'columnsairchie' style="color: black; font: 10pt verdana; width:75; background:white"   this.style.color='gray'"  this.style.color='black'">
<OPTION>9
<OPTION>10
<OPTION SELECTED>11
<OPTION>12
</SELECT>
</TD>
</TR>
</TABLE>
</FORM>

<FORM>
<TABLE Border=0 width='100%'>
<TR>
<TD>
<Input Type='Button' Value=' Start '  style="color: black; font: 10pt verdana; width:75; background:white"  this.style.color='gray'"  this.style.color='black'">
</TD>
<TD Align='Right'>
<INPUT type='button' VALUE=' Pause '  style="color: black; font: 10pt verdana; width:75; background:white"  this.style.color='gray'"  this.style.color='black'">
</TD>
</TR>
<TR>
<TD>
<INPUT type='button' VALUE='Help'   style="color: black; font: 10pt verdana; width:75; background:white"  this.style.color='gray'"  this.style.color='black'">
</TD>
<TD Align='Right'>
</TD>
</TR>
</TABLE>
</FORM>

</TD>
<TD align=center>
<SCRIPT LANGUAGE="JavaScript">
chacera (i20);
</SCRIPT>
</TD>
</TR>
</TABLE>
</CENTER>
N
Narqotic OP ⭐ 19y
#18
Yukari dogru kayan haberler
<html>
<body bgcolor="000000">
<INPUT name=txtNewsAction type=hidden > <INPUT name=txtNewsID 
            type=hidden> 
            <MARQUEE direction=up height=100  
             scrollAmount=1 scrollDelay=40 width=147 
            left="15" top="0">
            <P align=center><A target=giris class=cKur 
            href="haberler.html" 
             9); return false;"><font color="yellow" size=2>Donanim cakismalarina son veriyoruz</A></P>
        <P align=center><A target=giris class=cKur 
            href="haberler.html" 
             6); return false;"><font color="blue" size=2>Gelecegin virusunu taniyalim!</A></P>
            <P align=center><A target=giris class=cKur 
            href="haberler.html" 
             5); return false;"><font color="red" size=2>Sabit diskde isletim sistemi senligi</A></P>
            <P align=center><A target=giris class=cKur 
            href="haberler.html" 
             3); return false;"><font color="aqua" size=2>Talip Hakan Ozturk'un universite grup arkadaslari</A></P>
            <P align=center><A target=giris class=cKur 
            href="haberler.html" 
             4); return false;"><font color="green" size=2>Programlama kitap yazarlari</A></P>
              </MARQUEE></TD></TR>
</font>
</body>
</html>
N
Narqotic OP ⭐ 19y
#19
Internet uzeri online radyo
<font size="2"><span lang="en-us">
      <object id="Player1" classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6" height="44" width="694" align="left">
        <param name="URL" value="http://www.radyodeniz.com/kpig.asx">
        <param name="rate" value="1">
        <param name="balance" value="0">
        <param name="currentPosition" value="0">
        <param name="defaultFrame" value>
        <param name="playCount" value="1">
        <param name="autoStart" value="-1">
        <param name="currentMarker" value="0">
        <param name="invokeURLs" value="-1">
        <param name="baseURL" value>
        <param name="volume" value="100">
        <param name="mute" value="0">
        <param name="uiMode" value="full">
        <param name="stretchToFit" value="-1">
        <param name="windowlessVideo" value="-1">
        <param name="enabled" value="-1">
        <param name="enableContextMenu" value="-1">
        <param name="fullScreen" value="0">
        <param name="SAMIStyle" value>
        <param name="SAMILang" value>
        <param name="SAMIFilename" value>
        <param name="captioningID" value>
        <param name="enableErrorDialogs" value="0">
        <param name="_cx" value="6562">
        <param name="_cy" value="6535">
      </object>
      </span></font>
N
Narqotic OP ⭐ 19y
#20
Slayt resim gösterisi
<script language="JavaScript1.2"><!--

/*
DHTML Slayt Gösteri
*/


//Specify the slider's width (in pixels)
var sliderwidth=330
//Specify the slider's height (in pixels, pertains only to NS)
var sliderheight=145
//Specify the slider's scroll speed (larger is faster)
var slidespeed=4

//Specify the slider's images
var leftrightslide=new Array()
var finalslide=''
leftrightslide[0]='<a href="resimlinki" border=1></a>'
leftrightslide[1]='<a href="resmlinki" border=1></a>'
leftrightslide[2]='<a href="resimlinik" border=1></a>'
leftrightslide[3]='<a href="resimlinki" border=1></a>'
leftrightslide[4]='<a href="resimlinik" border=1></a>'


///////do NOT edit pass this line////////////////////////////////////

var copyspeed=slidespeed
//copy contents of leftrightslide into one variable
for (i=0;i<leftrightslide.length;i++)
finalslide=finalslide+leftrightslide+"  "


if (document.all){
//dynamically write out the marquee tag
document.write('<marquee id="ieslider" scrollAmount=0 style="width:'+sliderwidth+'">'+finalslide+'</marquee>')
//stop marquee when mouse is over it
ieslider. Function("ieslider.scrollAmount=0")
//re-enable marquee when mouse is out
ieslider. Function("if (document.readyState=='complete') ieslider.scrollAmount=slidespeed")
}

function regenerate(){
window.location.reload()
}
function regenerate2(){
if (document.layers){
document.ns_slider01.visibility="show"
setTimeout("window.
intializeleftrightslide()
}
if (document.all)
ieslider.scrollAmount=slidespeed
}

//NS specific function for initializing slider upon page load
function intializeleftrightslide(){
document.ns_slider01.document.ns_slider02.document.write('<nobr>'+finalslide+'</nobr>')
document. ns_slider01.document.ns_slider02.document.close()
thelength=document.ns_slider01.document.ns_slider02.document.width
scrollslide()
}

//NS specific function for sliding slideshow
function scrollslide(){
if (document.ns_slider01.document.ns_slider02.left>=thelength*(-1)){
document.ns_slider01.document.ns_slider02.left-=slidespeed
setTimeout("scrollslide()",100)
}
else{
document.ns_slider01.document.ns_slider02.left=sliderwidth
scrollslide()
}
}
window.

//--></script>


<ilayer width=&{sliderwidth}; height=&{sliderheight}; name="ns_slider01" visibility=hide>
<layer name="ns_slider02"  
</ilayer>

Yanıt yazmak için giriş yapın.

Giriş Yap
Paylaş: