/* This program is free software. It comes without any warranty, to the extent permitted by applicable law. You can redistribute it and/or modify it under the terms of the Do What The Fuck You Want To Public License, Version 2, as published by Sam Hocevar. See http://sam.zoy.org/wtfpl/COPYING for more details. */ /* This code is MESSY! It is UNCOMMENTED! It is JAVASCRIPT! In short: It's not perfect. WTF. */ lw=true selected=false x=0 y=0 index=0 opts=true ccl=null cmi=null cemd=null menuh=30 lsp=0 ll=false nom=0 dpc=0 mst=0 function mdown(num) { c=0 for (i=0;ibnz[num]) { bnz[c]-=1 node.style.zIndex=bnz[c] } } c+=1 } } bnz[num]=index document.getElementById("select").id="selected" offl=document.getElementById("selected").offsetLeft offt=document.getElementById("selected").offsetTop xcoor=x-offl ycoor=y-offt xm=xcoor ym=ycoor c=0 for (i=0;i0 && x>0 && ynum) { for (ii=0;iinum) { node.lang=c-1 } c+=1 } } menuc.removeChild(document.getElementById("eremove")) if (index>nom) { mdown(bnh) mup() } checkscroll() } function istop(num) { num=num*1 for (i=0;iqheight || mon) { if (mon) nwdiv.style.height=qheight+"px" for (i=0;inom) { mdown(tnt) mup() } } function godesktop() { if (index>0) { mdown(dpc) mup() minimizewindow(dpc) dpc+=1 if (dpc0) { lsp-=10 launchlist.style.height=lsp+"%" llto=setTimeout("listslided()",1) } else { launch.className="" ll=false } } function listslideu() { if (lsp<80) { lsp+=10 launchlist.style.height=lsp+"%" llto=setTimeout("listslideu()",1) } else { ll=true } } function launchtlist() { if (!ll) { launch.className="click" listslideu() } } function checkscroll() { msh=menuc.scrollHeight if (msh>26) { scrollmenu.className="v" menuc.scrollTop=mst } else { menuc.scrollTop=0 //mst=menuc.scrollTop scrollmenu.className="" } } function scrolltmenu(ud) { msh=menuc.scrollHeight if (ud) { menuc.scrollTop+=26 } else { menuc.scrollTop-=26 } mst=menuc.scrollTop } function load() { if (lw) { stylesheet=document.createElement("link") stylesheet.rel="stylesheet" stylesheet.type="text/css" stylesheet.href="style.css" head=document.getElementsByTagName("head")[0] head.appendChild(stylesheet) windows=document.createElement("div") windows.id="windows" windows.onmousedown=function(){cnellh()} menu=document.createElement("div") menuc=document.createElement("div") menuc.id="menuc" menu.id="menu" menu.onmousedown=function(){cnellh()} menu.appendChild(menuc) launch=document.createElement("div") launch.id="launch" launch.onmousedown=function(){launchtlist()} desktop=document.createElement("div") desktop.id="desktop" desktop.onmousedown=function(){this.className="click"} desktop.onmouseup=function(){this.className=""} desktop.onclick=function(){godesktop()} scrollmenu=document.createElement("div") scrollmenu.id="scrollmenu" scrollup=document.createElement("div") scrollup.id="scrollup" scrollup.onmousedown=function(){this.className="click"} scrollup.onmouseout=function(){this.className=""} scrollup.onclick=function(){this.className="";scrolltmenu(false)} scrolldown=document.createElement("div") scrolldown.id="scrolldown" scrolldown.onmousedown=function(){this.className="click"} scrolldown.onmouseout=function(){this.className=""} scrolldown.onclick=function(){this.className="";scrolltmenu(true)} scrollmenu.appendChild(scrollup) scrollmenu.appendChild(scrolldown) menu.appendChild(launch) menu.appendChild(desktop) menu.appendChild(scrollmenu) launchlist=document.createElement("div") launchlistc=document.createElement("div") launchlistcc=document.createElement("div") launchlist.id="launchlist" launchlistc.id="launchlistc" launchlistcc.id="launchlistcc" ghjkl="sdgtsdgh sh sdf sfdh sdf hdfh dfdfx hgf gfj gfj gfj gfj gfj gfj gfgfj gf gfj gf jg gf j g gfj dj jyfrdj uy dju ydjy jgf jfryj drj d fhjf5d 4df5j 1651j gf6j15dr6j156 1ty5j 6dfy1j 6df1j 56dy1j 56dy1j56 1d6j1 d5f6j1 df56j1 xhfx hf hfd hdf hxdf hdf sfgj fghjftr sjsfjfgjfgjfgj sdgsgsdfg sadfg asdg as gsd sdfag sadfg sagra ergrh adf" welctxt="Welcome to dsktp! Browse through all the cool stuff in the \"Launch\" menu. If you're using Firefox or IE7, you shouldn't have any problems viewing this site. Safari hasn't been tested properly, but there seem to be no problems. Opera appears to have some issues with the \"Launch\" menu where the items aren't showing. Explore!" programs=new Array() program=new Array() programimg=new Array() programs[0]=new Array() programs[0][0]="Program 1" programs[0][1]="1st program" programs[0][2]="Random content...
asga dhgs 8fd4 9 s fhas dhszf gzss sdg 5s s 5 dg5dfh adfh!"+ghjkl programs[0][3]=200 programs[0][4]=150 programs[0][5]=false programs[0][6]=null programs[1]=new Array() programs[1][0]="Program 2" programs[1][1]="2nd program" programs[1][2]="Random content...
asga dhgsdfdf 8df458 df dfh fhass gsd8 49 s489 dhdfh adfh!" programs[1][3]=200 programs[1][4]=150 programs[1][5]=true programs[1][6]=null programs[2]=new Array() programs[2][0]="Program 3" programs[2][1]="3rd program" programs[2][2]="Random content...
asdf hxdf hxdf dh dth th ga dhgsfgj dfhhas dh 5g4dfh adfh!" programs[2][3]=100 programs[2][4]=300 programs[2][5]=false programs[2][6]="qmark" nop=programs.length for (i=0;i0) { if (sdfg==0) { sdfg=1 if (werty