<TITLE>By qRs.28--Kelimeleri Bul</TITLE>
<script language="javascript">
/*
Auto center window script- Eric King (http://redrival.com/eak/index.shtml)
Permission granted to Dynamic Drive to feature script in archive
For full source, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com
*/
var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
}
</script>
<!--15e3dcfbfeae1ca826d81d7dc9ba2e77-->
</head>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="keywords" content="SPLASH, INTRO, PAGE, JAVASCRIPT, JAVASCRIPTS, SCRIPTS, DHTML, DYNAMIC, KICK, ASS, CODING, PROGRAMMING, PROGRAMMER, DEVELOPMENT, KICK-ASS, EFFECT, EFFECTS, KANEOHE, SCREEN, SCREENS, HAWAII, RHUCKO1, RICHARD, HUCKO, COOL">
<meta name="description" content="Word Scramble! Game JavaScript CROSS-BROWSER, JavaScripts and DHTML Effects -
www.DynamicScripts.TK"><title>Word Scramble JavaScript - CROSS-BROWSER </title>
<script language="JavaScript" type="text/javascript">
<!--
var word=new Array("İNGİLİZCE","BİLGİSAYAR","ATATÜRK","GÜVENLİK","SATRANÇ","YAZICI","SÜPÜRGE","İSMİNİZ","FIRÇA","İNTERNET","YAVAŞ","TOSUN","YAMUK","KELİMELERİMİZ","MODEM","DİZÜSTÜ","KIZMA","BİRADER","BİSİKLET","ÇERCEVE","KİRAZ","MEYVE","ARMUT","KLAVYESİ","ANI","ANITKABİR","SİSTEM","OKUL","SIRA","LABORATUVAR","ANATOMİ","İLETİŞİM","LİRA","APARTMAN","HOLDİNG","ŞİRKET","ARABA","LÜKS","AMCA","TEYZE","HORTUM","TSUNAMİ","TARİH","COĞRAFYA","TERBİYESİZLİK");
var letter=new Array();
var rand;
var actual;
window.onload=main;
function main()
{
getRand();
scrambleWord();
creatWord();
}
function scrambleWord()
{
actual=word[rand];
Temp=word[rand].length;
for(var HUCKO=0;HUCKO<Temp+2;HUCKO++)
{
RHUCKO1=HUCKO-1;
letter[HUCKO]=word[rand].substring(RHUCKO1,RHUCKO1-1)
}
letter.sort();
word[rand]="";
for(var HUCKO=0;HUCKO<Temp+2;HUCKO++)
word[rand]+=letter[HUCKO];
}
function getRand()
{
rand=Math.floor(Math.random()*word.length);
}
function creatWord()
{
for(var x=0;x<word[rand].length+2;x++)
{
RHUCKO1=x-1;
a=document.createElement('a');
a.id="aid"+x;
a.className="scramble";
a.innerHTML=word[rand].substring(RHUCKO1,RHUCKO1-1);
a.href="javascript:append('"+x+"');";
document.getElementById('board').appendChild(a);
}
}
function creatWord2(x)
{
RHUCKO1=x-1;
a=document.createElement('a');
a.id="aid2"+x;
a.className="scramble";
a.innerHTML=word[rand].substring(RHUCKO1,RHUCKO1-1);
a.href="javascript:retract('"+x+"');";
document.getElementById('assemble').appendChild(a);
}
function append(RHUCKO1)
{
document.getElementById('aid'+RHUCKO1).style.visibility="hidden";
http://document.getElementById('assemble').innerHTML+=document.getElementById('aid'+RHUCKO1).innerHTML; creatWord2(RHUCKO1);
}
function retract(RHUCKO1)
{
document.getElementById('aid'+RHUCKO1).style.visibility="visible";
elem=document.getElementById('aid2'+RHUCKO1);
document.getElementById('assemble').removeChild(elem);
}
function showWord()
{
document.getElementById('theWord').innerHTML=actual;
}
//-->
</script>
<style type="text/css">
<!--
body {
text-align:center;
}
a.scramble {
color:black;
font-weight:bold;
font-size:30;
position:relative;
}
span#assemble {
font-weight:bold;
font-size:30;
position:relative;
}
span#theWord {
color:white;
background-color:black;
font-weight:bold;
font-size:30;
position:relative;
border:2 inset gray;
}
a:hover {
background-color:black;
color:white;
}
-->
</style>
</head>
<body>
<br />
<span id="board"></span>
<br /><br />
<span id="assemble"></span>
<br />
<br />
<span id="theWord"></span>
<form>
<input type="button" value="->Kelimeyi Gör" onclick="showWord();" />
<b style="visibility:hidden">__</b>
<input type="button" value="Yeniden Dene" onclick="javascript:history.go(0);" />
<div style="text-align:center;color:black;background-color:transparent;display:none;z-index:1;text-decoration:underline;"> </div>
</form>
</body>
</html>