2013-02-11 59 views

Trả lời

11

You may find here.

Đây là mã css cho con trỏ.

Cố gắng:

<frame style="cursor:auto"></frame> 

thay vì auto bạn có thể sử dụng bất cứ điều nào sau đây:

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 
+3

Cảm ơn bạn Dor Cohen –

4

Sử dụng CSS:

.myClass { cursor: pointer; } 
#myId { cursor: pointer; } 

Hoặc một yếu tố entrie (s) s:

frame { cursor: pointer; } 
p { cursor: pointer; } 

Bạn cũng có thể thử với Inline-CSS:

Hoặc một cái gì đó như này:

<div id="clickMe" onclick="alert('I\'m clicked!'); return false;" style="cursor: pointer;">I'm a Fake-Link!</a> 
7

Sử dụng cursor CSS tài sản

<style> 
.mousePointer 
{ 
    cursor: pointer; 
} 
</style> 

<frame class="mousePointer"></frame> 
2

Bạn có thể làm điều gì đó như thế này: -
HTML

<iframe class="pointer"></iframe> 

CSS

.pointer 
      { 
      cursor: pointer; 
      } 

các tùy chọn khác của biến đổi con trỏ là: -

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 
Các vấn đề liên quan