ich einen Rahmen in HTML erstellt haben diein einer Webseite
<frame></frame>
Tags. Gibt es eine Möglichkeit, den Mauszeiger zu ändern, wenn die Maus den Rahmen betritt.
ich einen Rahmen in HTML erstellt haben diein einer Webseite
<frame></frame>
Tags. Gibt es eine Möglichkeit, den Mauszeiger zu ändern, wenn die Maus den Rahmen betritt.
Dies ist die CSS für den Cursor.
Versuchen Sie:
<frame style="cursor:auto"></frame>
statt auto
können Sie jeden der folgenden verwenden:
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
Mit CSS:
.myClass { cursor: pointer; }
#myId { cursor: pointer; }
Oder ein entrie Element (e) s:
frame { cursor: pointer; }
p { cursor: pointer; }
Sie können auch versuchen, mit Inline-CSS:
Oder so ähnlich dies:
<div id="clickMe" onclick="alert('I\'m clicked!'); return false;" style="cursor: pointer;">I'm a Fake-Link!</a>
Verwenden Sie die cursor CSS-Eigenschaft
<style>
.mousePointer
{
cursor: pointer;
}
</style>
<frame class="mousePointer"></frame>
Es gibt die CSS-Eigenschaft cursor : http://www.w3schools.com/cssref/pr_class_cursor.asp Sie kann auch tun: cursor:url(/mousePointer.cur)
Sie etwas tun können: -
HTML
<iframe class="pointer"></iframe>
CSS
.pointer
{
cursor: pointer;
}
die anderen Optionen des Cursors zu ändern sind: -
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
Danke Dor Cohen –