ho creato un frame in HTML usando il tagModificare il puntatore del mouse in una pagina web
<frame></frame>
. C'è un modo in cui posso cambiare il puntatore del mouse mentre il mouse entra nel fotogramma.
ho creato un frame in HTML usando il tagModificare il puntatore del mouse in una pagina web
<frame></frame>
. C'è un modo in cui posso cambiare il puntatore del mouse mentre il mouse entra nel fotogramma.
Questo è il css per il cursore.
prova a:
<frame style="cursor:auto"></frame>
invece di auto
è possibile utilizzare nessuno dei seguenti:
auto Default. The browser sets a cursor
crosshair The cursor render as a crosshair
default The default cursor
e-resize The cursor indicates that an edge of a box is to be moved right (east)
help The cursor indicates that help is available
move The cursor indicates something that should be moved
n-resize The cursor indicates that an edge of a box is to be moved up (north)
ne-resize The cursor indicates that an edge of a box is to be moved up and right (north/east)
nw-resize The cursor indicates that an edge of a box is to be moved up and left (north/west)
pointer The cursor render as a pointer
progress The cursor indicates that the program is busy (in progress)
s-resize The cursor indicates that an edge of a box is to be moved down (south)
se-resize The cursor indicates that an edge of a box is to be moved down and right (south/east)
sw-resize The cursor indicates that an edge of a box is to be moved down and left (south/west)
text The cursor indicates text
w-resize The cursor indicates that an edge of a box is to be moved left (west)
wait The cursor indicates that the program is busy
Utilizzando i CSS:
.myClass { cursor: pointer; }
#myId { cursor: pointer; }
O un elemento entrie (s) s:
frame { cursor: pointer; }
p { cursor: pointer; }
Inoltre si può provare con Inline-CSS:
O qualcosa di simile this:
<div id="clickMe" onclick="alert('I\'m clicked!'); return false;" style="cursor: pointer;">I'm a Fake-Link!</a>
Utilizzare la proprietà cursor CSS
<style>
.mousePointer
{
cursor: pointer;
}
</style>
<frame class="mousePointer"></frame>
C'è la proprietà cursor css : http://www.w3schools.com/cssref/pr_class_cursor.asp Tu può anche fare: cursor:url(/mousePointer.cur)
Si può fare qualcosa di simile: -
HTML
<iframe class="pointer"></iframe>
CSS
.pointer
{
cursor: pointer;
}
le altre opzioni di modifica cursori sono: -
auto
crosshair
default
e-resize
help
move
n-resize
ne-resize
nw-resize
pointer
progress
s-resize
se-resize
sw-resize
text
w-resize
wait
Grazie Dor Cohen –