2013-02-11 14 views
8

मैंएक वेबपेज

<frame></frame> 

टैग का उपयोग html में एक फ्रेम बनाया है में माउस सूचक बदलें। क्या कोई तरीका है कि मैं माउस पॉइंटर बदल सकता हूं क्योंकि माउस फ्रेम में प्रवेश करता है।

उत्तर

11

You may find here.

यह कर्सर के लिए सीएसएस है।

कोशिश करने के लिए:

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

धन्यवाद डोर कोहेन –

4

का उपयोग सीएसएस:

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

या एक entrie तत्व (रों) रों:

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

इसके अलावा, आप इनलाइन-सीएसएस के साथ की कोशिश कर सकते हैं:

या कुछ की तरह यह:

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

उपयोग cursor सीएसएस संपत्ति

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

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

वहाँ सीएसएस कर्सर संपत्ति है:

<frame style="cursor:auto"></frame> 
बजाय

auto आप निम्न में से किसी को भी उपयोग कर सकते हैं : http://www.w3schools.com/cssref/pr_class_cursor.asp आप यह भी कर सकते हैं: cursor:url(/mousePointer.cur)

2

आप कुछ इस तरह कर सकते हैं: -
एचटीएमएल

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

सीएसएस

.pointer 
      { 
      cursor: pointer; 
      } 

कर्सर को बदलने के अन्य विकल्प हैं: -

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