Ir para conteúdo
Fórum Script Brasil
  • 0

Cursor


adriel

Pergunta

6 respostass a esta questão

Posts Recomendados

  • 0

Ae é

<style>

body{

cursor: crosshair

}

</style>

esse html contem uma lista de cursor

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<title>The God Vini - Java Script - Menu </title>

</head>

<body bgcolor="#000000">

<!---------------------COMEÇA AQUI--------------------->

<table border="0" cellpadding="0" cellspacing="0" height="22" width=99%>

<tr>

<td width="100%" height="22">

<table border="0" borderColorDark="#1e90ff"

borderColorLight="#1e90ff" cellPadding="1" cellSpacing="1" width="100%"

bordercolor="#1e90ff">

<TBODY>

<tr>

<td style="CURSOR: auto"><font face="Arial" color=white><small>cursor:<br>

auto;</small></font></td>

<td><font face="Arial" color="#FFFFFF"><small>Normal</small></font></td>

</tr>

<tr>

<td style="CURSOR: crosshair"><font color=white face="Arial"><small>cursor:

crosshair;</small></font></td>

<td><font face="Arial" color="#FFFFFF"><small>Para precisão; posicionamento</small></font></td>

</tr>

<tr>

<td style="CURSOR: default"><font color=white face="Arial" ><small>cursor:<br>

default;</small></font></td>

<td><font face="Arial" color="#FFFFFF"><small>O Padrão do sistema, geralmente uma seta</small></font></td>

</tr>

<tr>

<td style="CURSOR: hand"><font face="Arial" color=white><small>cursor:<br>

hand;</small></font></td>

<td><font face="Arial" color="#FFFFFF"><small>Um objeto clicável</small></font></td>

</tr>

<tr>

<td style="CURSOR: move"><font face="Arial" color=white><small>cursor:<br>

move;</small></font></td>

<td><font face="Arial" color="#FFFFFF"><small>Um objeto móvel</small></font></td>

</tr>

<tr>

<td style="CURSOR: text"><font face="Arial" color=white><small>cursor:<br>

text;</small></font></td>

<td><font face="Arial" color="#FFFFFF"><small>Selecionar ou editar um texto</small></font></td>

</tr>

<tr>

<td style="CURSOR: wait"><font face="Arial" color=white><small>cursor:<br>

wait;</small></font></td>

<td><font face="Arial" color="#FFFFFF"><small>O hour glasse para para mostrar que o sistema está ocupado</small></font></td>

</tr>

<tr>

<td style="CURSOR: help"><font face="Arial" color=white><small>cursor:<br>

help;</small></font></td>

<td><font face="Arial" color="#FFFFFF"><small>Ajuda</small></font></td>

</tr>

<tr>

<td style="CURSOR: e-resize"><font color=white face="Arial"><small>cursor:<br>

e-resize;</small></font></td>

<td><font face="Arial" color="#FFFFFF"><small>Direita</small></font></td>

</tr>

<tr>

<td style="CURSOR: ne-resize"><font face="Arial" color=white><small>cursor:<br>

ne-resize;</small></font></td>

<td><font face="Arial" color="#FFFFFF"><small>Diagonal Norte - Leste</small></font></td>

</tr>

<tr>

<td style="CURSOR: n-resize"><font color=white face="Arial"><small>cursor:<br>

n-resize;</small></font></td>

<td><font face="Arial" color="#FFFFFF"><small>Norte</small></font></td>

</tr>

<tr>

<td style="CURSOR: nw-resize"><font face="Arial" color=white><small>cursor:<br>

nw-resize;</small></font></td>

<td><font face="Arial" color="#FFFFFF"><small>Diagonal Norte - Oeste</small></font></td>

</tr>

<tr>

<td style="CURSOR: w-resize"><font face="Arial" color=white><small>cursor:<br>

w-resize;</small></font></td>

<td><font face="Arial" color="#FFFFFF"><small>Esquerda</small></font></td>

</tr>

<tr>

<td style="CURSOR: sw-resize"><font face="Arial" color=white><small>cursor:<br>

sw-resize;</small></font></td>

<td><font face="Arial" color="#FFFFFF"><small>Diagonal Sul - Oeste</small></font></td>

</tr>

<tr>

<td style="CURSOR: s-resize"><font color=white face="Arial"><small>cursor:<br>

s-resize;</small></font></td>

<td><font face="Arial" color="#FFFFFF"><small>Sul</small></font></td>

</tr>

<tr>

<td style="CURSOR: se-resize"><font face="Arial" color=white><small>cursor:<br>

se-resize;</small></font></td>

<td><font face="Arial" color="#FFFFFF"><small>Diagonal Sul - Leste</small></font></td>

</tr>

</TBODY>

</table>

<font color="#FFFFFF">

<br>

</font>

<div align=center> <font color="#FFFFFF"> <font face="verdana" size=1>Estes atributos de cursores fazem parte do CSS<BR>

(Cascading Style Sheets) portanto, devem ser usados dentro da tag &lt;style> e &lt;/style>. Os efeitos funcionam em links. <br></font>

<br> </font> <font face="verdana" size=1><font color="#FFFFFF">Abaixo você tem o código, basta você trocar a parte em negrito pelo código do mouse.

<br>

<br></font><font face=verdana size=2>

<font color="#FFFFFF">&lt;style type="text/css"><br>

&lt;!--<br>

a { cursor : se-resize; }<br>

//--&gt;<br>

&lt;/style><br>

<br><font face="verdana" size=1>COLOCANDO O CÓDIGO ACIMA O EFEITO SERÁ EM TODA A PÁGINA<br>

</font></font><strong><font color="#FFFFFF"></td>

</tr>

</table>

</font>

<div align=center>

<font face=verdana size=1 color=#FFFFFF>

<br>

<font face="verdana" size=1>USANDO O CÓDIGO ABAIXO CADA UM DELES TERÁ UM VALOR INDIVIDUAL</font><br><br>

PARA USAR EM FIGURAS

<!-EM FIGURAS->

<font face="verdana" size=2>&lt;img src="figura2.gif" alt="teste" style="cursor: <b>s-resize;</b>"></font>

<br><br>

PARA USAR EM LINKS

<!-EM LINKS->

<font face="verdana" size=2>&lt;a href="paginadois.html" alt="teste" style="cursor: <b>se-resize;</b>">link&lt;/a></font>

</div>

</body>

</html>

Link para o comentário
Compartilhar em outros sites

  • 0

Esse código ae ó:

<STYLE>

<!--

a{cursor:crosshair}

A:link {font-size: 10pt; color: red; text-decoration: none; font-weight: normal; font-family: Ms Sans Serif;}

A:visited {font-size: 10pt; color: red; text-decoration: none; font-weight: normal; font-family: Ms Sans Serif;}

A:hover {font-size: 10pt; color:ff0000; text-decoration: none; font-weight: bold; font-family: Ms Sans Serif;}

//-->

</STYLE>

falou...!

Link para o comentário
Compartilhar em outros sites

  • 0

Pitanga,

Posso lhe enviar o código de uma figura (você escolhe uma figura ) que vai seguindo o mouse, ou de um texto (que você edita) que segue o mouse, ou ainda de algumas estrelinha rodando em volta do mouse..

qualquer coisa_ allanlf@ligbr.com.br

Link para o comentário
Compartilhar em outros sites

Participe da discussão

Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emoticons são permitidos.

×   Seu link foi incorporado automaticamente.   Exibir como um link em vez disso

×   Seu conteúdo anterior foi restaurado.   Limpar Editor

×   Você não pode colar imagens diretamente. Carregar ou inserir imagens do URL.



  • Estatísticas dos Fóruns

    • Tópicos
      152,1k
    • Posts
      651,8k
×
×
  • Criar Novo...