Aqui vocês
encontrarão no cursor uma seta mudando de posição...Este script é fácil e
eu não inseri a figura(seta),já vem no script de forma que não precisamos
inserir nada!!
Beijocas e
Sucesso,
Rosinh@:))
<!-- ONE STEP TO INSTALL MOUSE
DIRECTION:
1. Copy the coding into the HEAD of
your HTML document -->
<!-- STEP ONE: Paste this code into the HEAD of
your HTML document -->
<HEAD>
<!-- Begin
var x, y, xold, yold, xdiff,
ydiff;
var dir = Array();
dir[0] =
"n-resize";
dir[1]="ne-resize";
dir[2]="e-resize";
dir[3]="se-resize";
dir[4]
=
"s-resize";
dir[5]="sw-resize";
dir[6]="w-resize";
dir[7]="nw-resize";
document.onmousemove
= FindXY;
function display(direction) {
document.body.style.cursor =
dir[direction];
}
function FindXY(loc) {
x = (document.layers) ?
loc.pageX : event.clientX;
y = (document.layers) ? loc.pageY :
event.clientY;
xdiff = x - xold;
ydiff = y - yold
if ((xdiff <
2) && (ydiff < -2)) display(0);
if ((xdiff < 2)
&& (ydiff > 2)) display(4);
if ((xdiff > 2)
&& (ydiff < 2)) display(2);
if ((xdiff < -2) &&
(ydiff < 2)) display(6);
if ((xdiff > 2) && (ydiff
> 2)) display(3);
if ((xdiff > 2) && (ydiff <
-2)) display(1);
if ((xdiff < -2)) && (ydiff > 2))
display(5);
if ((xdiff < -2) && (ydiff < -2))
display(7);
xold = x;
yold = y;
}
// End
-->
</script>
<p><center>
<font
face="arial, helvetica" size"-2">Free JavaScripts provided<br>
by
<a href="http://javascriptsource.com">The JavaScript
Source</a></font>
</center><p>
<!-- Script Size: 1.45 KB
-->
Caso
queira a gif "Save as" (Salve)
Click
com o botão direito do mouse e " salve as"
Click with
the right button of the mouse and "save as"
