Script Categories













Mouse and Cursor >>> Cursor Direction.

Move mouse to see the cursor direction.

Add the below code to the <body> section of your page:

<script language='JavaScript' type='text/JavaScript'>
//Made by 1st JavaScript Editor
//http://www.yaldex.com
//Come and get more (free) products

function fifteenth(e){seventeenth = document.body.scrollLeft+event.clientX;eighteenth = document.body.scrollTop+event.clientY;nineteenth = event.clientX;twentieth = event.clientY;first2(seventeenth,eighteenth);}document.onmousemove = fifteenth;var second2;var third2;var fifth2;var fourth2;var sixth2;var fifteenth3;var sixteenth3 = Array();sixteenth3[0] = 'n-resize';sixteenth3[1]='ne-resize';sixteenth3[2]='e-resize';sixteenth3[3]='se-resize';sixteenth3[4] = 's-resize';sixteenth3[5]='sw-resize';sixteenth3[6]='w-resize';sixteenth3[7]='nw-resize';
function first4(second4) {document.body.style.cursor = sixteenth3[second4];}
function first2(seventeenth4,third4) {second2 = seventeenth4;third2 = third4;sixth2 = second2 - fifth2;fifteenth3 = third2 - fourth2;
if ((sixth2 <  2) && (fifteenth3 < -2)) first4(0);
if ((sixth2 <  2) && (fifteenth3 >  2)) first4(4);
if ((sixth2 >  2) && (fifteenth3 <  2)) first4(2);
if ((sixth2 < -2) && (fifteenth3 <  2)) first4(6);
if ((sixth2 >  2) && (fifteenth3 >  2)) first4(3);
if ((sixth2 >  2) && (fifteenth3 < -2)) first4(1);
if ((sixth2 < -2) && (fifteenth3 >  2)) first4(5);
if ((sixth2 < -2) && (fifteenth3 < -2)) first4(7);fifth2 = second2;fourth2 = third2;}
</script>

JavaScript Editor Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.



Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!).




©