-------------------------------------------------------------------------------------------------------- 效果图: -------------------------------------------------------------------------------------------------------- 源码: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www./TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www./1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>多种鼠标效果</title> </head> <body> <form> <div align="left"><font size="5" color="#009966">有趣生动的鼠标形状</font> <hr noshade="noshade" width="100%" /> </div> </form> <table width="53%" border="0"> <tr> <td width="51%" height="25"> <span style="cursor:pointer">style="cursor:hand"</span> </td> </tr> <tr> <td width="51%" height="25"> <span style="cursor:crosshair">style="cursor:crosshair"</span> </td> </tr> <tr> <td width="51%" height="25"> <span style="cursor:text">style="cursor:text"</span> </td> </tr> <tr> <td width="51%" height="25"> <span style="cursor:wait">style="cursor:wait"</span> </td> </tr> <tr> <td width="51%" height="25"> <span style="cursor:move">style="cursor:move"</span> </td> </tr> <tr> <td width="51%" height="25"> <span style="cursor:help">style="cursor:help"</span> </td> </tr> <tr> <td width="51%" height="25"> <span style="cursor:e-resize">style="cursor:e-resize"</span> </td> </tr> <tr> <td width="51%" height="25"> <span style="cursor:n-resize">style="cursor:n-resize"</span> </td> </tr> <tr> <td width="51%" height="25"> <span style="cursor:nw-resize">style="cursor:nw-resize"</span> </td> </tr> <tr> <td width="51%" height="25"> <span style="cursor:w-resize">style="cursor:w-resize"</span> </td> </tr> <tr> <td width="51%" height="25"> <span style="cursor:s-resize">style="cursor:s-resize"</span> </td> </tr> <tr> <td width="51%" height="25"> <span style="cursor:se-resize">style="cursor:se-resize"</span> </td> </tr> <tr> <td width="51%" height="25"> <span style="cursor:sw-resize">style="cursor:sw-resize"</span> </td> </tr> </table> </body> </html> |
|
来自: I_T_馆 > 《javascript》