Visualizzazione dei risultati da 1 a 4 su 4

Discussione: Tipi di cursori

  1. #1

    Tipi di cursori

    Ciao a Tutti
    sapete dove posso trovare una lista completa (o quasi) di tutti i
    tipi di cursori (mouse) che esistono (a parte quelli creati da voi)?
    per intenderci

    codice:
    Style="cursor:hand, crosshair
    Ciao a tutti




    :adhone:
    I sogni smettono di essere tali solo quando si avverano

  2. #2
    Utente di HTML.it L'avatar di nuky
    Registrato dal
    Oct 2001
    Messaggi
    1,053

    Re: Tipi di cursori

    Direttamente dall MSDN library:

    The following types are defined:

    auto - Browser determines the cursor to display based on the current context.
    crosshair - Simple cross hair.
    default - Platform-dependent default cursor (usually an arrow).
    hand - Hand.
    help - Arrow with question mark indicating help.
    move - Crossed arrows indicating something is to be moved.
    *-resize - Arrow indicating edge is to be moved (* may be n, ne, nw, s, se, sw, e, or w).
    text - Editable text (usually an I-bar).
    wait - Hourglass or watch indicating that the program is busy and the user should wait.

    Validi fino alla versione 5.5 di IE, dalla versione 6 ci sono anche quelli custom:
    cursor: url('percorso.cur');
    - "E' un messaggio. E' di Svarion, della terra di Merdor!"
    - "Busto Arsizio?"
    - "Terrazzo, sgabello, formaggio. Borraccia blu, ca**o di gomma e... CANNUCCIA!"
    - "Ca**o dici? C'è scritto «frocio chi legge»!"

  3. #3
    Grazie mille

    I sogni smettono di essere tali solo quando si avverano

  4. #4
    io preferisco dare un'occhiata alle specifiche W3C, il link e' questo:
    http://www.w3.org/TR/1998/REC-CSS2-1...propdef-cursor

    e riguardo alla proprieta' cursor riporto qui sotto il tutto.


    18.1 Cursors: the 'cursor' property

    'cursor'
    Value: [ [<uri> ,]* [ auto | crosshair | default | pointer | move | e-resize | ne-resize | nw-resize | n-resize | se-resize | sw-resize | s-resize | w-resize| text | wait | help ] ] | inherit
    Initial: auto
    Applies to: all elements
    Inherited: yes
    Percentages: N/A
    Media: visual, interactive

    This property specifies the type of cursor to be displayed for the pointing device. Values have the following meanings:

    auto
    The UA determines the cursor to display based on the current context.

    crosshair
    A simple crosshair (e.g., short line segments resembling a "+" sign).

    default
    The platform-dependent default cursor. Often rendered as an arrow.

    pointer
    The cursor is a pointer that indicates a link.

    move
    Indicates something is to be moved.

    e-resize, ne-resize, nw-resize, n-resize, se-resize, sw-resize, s-resize, w-resize
    Indicate that some edge is to be moved. For example, the 'se-resize' cursor is used when the movement starts from the south-east corner of the box.

    text
    Indicates text that may be selected. Often rendered as an I-bar.

    wait
    Indicates that the program is busy and the user should wait. Often rendered as a watch or hourglass.

    help
    Help is available for the object under the cursor. Often rendered as a question mark or a balloon.

    <uri>
    The user agent retrieves the cursor from the resource designated by the URI. If the user agent cannot handle the first cursor of a list of cursors, it should attempt to handle the second, etc. If the user agent cannot handle any user-defined cursor, it must use the generic cursor at the end of the list.

    Example(s):

    P { cursor : url("mything.cur"), url("second.csr"), text; }

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.