ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[±Ð¾Ç] (±Ð¾Ç²Ä19½g)ºô­¶ª«¥ó ¤U½g

[±Ð¾Ç] (±Ð¾Ç²Ä19½g)ºô­¶ª«¥ó ¤U½g

¶WÃìµ²ÃC¦â
ºô­¶¤¤¶WÃìµ²ªºÃC¦â³]©w¤À¬°¤TºØ¡G¶WÃìµ²ªºÃC¦â(¥¼³Q¨Ï¥Î¹L)¡B³sµ²°Ê§@¤¤ªº¶WÃìµ²ÃC¦â¡B¤w¸g³Q¨Ï¥Î¹Lªº¶WÃìµ²ÃC¦â¡A¶WÃìµ²³o¤TºØ±¡ªpªºÃC¦â³]©w¦PÄÝ<BODY>¼ÐÅÒªºÄÝ©Ê¡G

¥¼¨Ï¥Î

<BODY LINK=¡¨ÃC¦â¡¨>

°Ê§@¤¤

<BODY ALINK=¡¨ÃC¦â¡¨>

¤w¨Ï¥Î

<BODY VLINK=¡¨ÃC¦â¡¨>



¨Ï¥ÎJavaScript®Éªºdocumentª«¥ó¬Û¹ïÄÝ©Ê«h¬°¡G

¥¼¨Ï¥Î
d
ocument.linkColor=¡¨#¢à¢Õ¢Ð¢°¢µ¶i¨îªºÃC¦â½X/ÃC¦â­^¤å³æ¦r¡¨

°Ê§@¤¤
document.alinkColor=¡¨#¢à¢Õ¢Ð¢°¢µ¶i¨îªºÃC¦â½X/ÃC¦â­^¤å³æ¦r¡¨

¤w¨Ï¥Î
document.vlinkColor=¡¨#¢à¢Õ¢Ð¢°¢µ¶i¨îªºÃC¦â½X/ÃC¦â­^¤å³æ¦r¡¨




¹ê§@¾Ç²ß¡G
¦]¬°»P¶WÃìµ²¬ÛÃöªº¤T­ÓÃC¦â³]©w¥Îªk¬Û¦P¡A©Ò¥H¡A´N¥H¥¼¨Ï¥Î¹Lªº¶WÃìµ²ÃC¦â¡ulinkColor¡vÄݩʳ]©w¬°¨Ò¡A»s§@¤@­Ó¦Û°ÊÅÜ´«ªº¦â±mªº¶WÃìµ²¡C
7-6.htm
  1. <HTML>
  2. <HEAD>
  3. <TITLE>¶WÃìµ²ÃC¦â</TITLE>
  4. </HEAD>
  5. <SCRIPT LANGUAGE="JavaScript">
  6. //³]©w¶WÃìµ²ÃC¦â¤Á´«ªººX¼ÐÅܼÆ
  7. n=0
  8. //¶WÃìµ²ÃC¦â¤Á´«¨ç¦¡
  9. function changelinkcolor()
  10. {
  11. if (n == 0 )
  12.    {document.linkColor="olive"}
  13. else if (n == 1 )
  14.     {document.linkColor="teal"}
  15. else if (n == 2 )
  16.      {document.linkColor="red"}
  17. else if (n == 3 )
  18.      {document.fgColor="blue"}
  19. else if (n == 4 )
  20.      {document.linkColor="maroon"}
  21. else if (n == 5 )
  22.      {document.linkColor="navy"}
  23. else if (n == 6 )
  24.       {document.fgColor="lime"}
  25. else if (n == 7 )
  26.       {document.linkColor="fuschia"}
  27. else if (n == 8 )
  28.      {document.linkColor="green"}
  29. else if (n == 9 )
  30.       {document.linkColor="purple"}
  31. else if (n == 10 )
  32.        {document.linkColor="gray"}
  33. else if (n == 11 )
  34.       {document.linkColor="yellow"}
  35. else if (n == 12 )
  36.        {document.linkColor="aqua"}
  37. else if (n == 13 )
  38.         {document.linkColor="black"}
  39. else if (n == 14 )
  40.        {document.linkColor="white"}
  41. else if (n == 15 )
  42.        {document.linkColor="silver"}
  43. n++ //µ¥¦Pn=n+1
  44. //¦pªGºX¼ÐÅܼƭȤj©ó¹w³]ÃC¦âªº­Ó¼Æ,«h±NÅܼƤº®eÂk¹s
  45. if (n>15)
  46. {n=0}
  47. //­«½Æ©I¥s¶WÃìµ²ÃC¦â¤Á´«¨ç¦¡
  48. setTimeout("changelinkcolor()", 500)
  49. }
  50. </SCRIPT>
  51. <!-- ºô­¶¸ü¤J®É©I¥s¶WÃìµ²ÃC¦â¤Á´«¨ç¦¡ -->
  52. <BODY OnLoad="changelinkcolor()">
  53. <a href="test#">¤£Â_ÅÜ´«ÃC¦âªº¶WÃìµ²</a>
  54. </BODY>
  55. </HTML>
½Æ»s¥N½X
¤ß¦w¡A¥­¦w   
µoªí¥ô¦óµL·N¸qªº·PÁ©ÎÄé¤ô¤å³¹¤@«ß¬å,¬Ã±¤±b¸¹,½Ð¸Ô¾\ª©³W!!

ºô­¶§ó·s¤é´Á
¦b§Ú­Ì«Ø¥ßÀɮתº®É­Ô¡A§Ú­Ìªº¹q¸£´N·|À°§Ú­Ì±N³o­ÓÀɮתº«Ø¥ß¤é´Á°O¿ý°_¨Ó¡AºÙ¤§¬°¡u«ØÀɤé´Á¡v¡A³o­ÓÀɮ׫إߤé´Á¥i¤£¬O©T©wªº¡I·í§Ú­Ì¦A¦¸½s¿è³o­ÓÀɮסA¦Ó°µ¤F¡u¦sÀÉ¡vªº°Ê§@¡A«h³o­ÓÀɮתº«Ø¥ß¤é´Á´N§ïÅܤF¡A¤]´N¦¨¬°©Ò¿×ªº¡G¡u­×§ï¤é´Á¡v¡C


ºô­¶¤å¥ó¤]¬O¤@­ÓÀɮ׳á¡I¦]¦¹¡Aºô­¶¤]¦³©Ò¿×ªº¡u«ØÀɤé´Á¡v¡A©ÎªÌ¡A¸ÓºÙ¤§¬°¡u­×§ï¤é´Á¡v¡A¦]¬°¡A§Ú­Ì·|¸g±`¶i¦æºô­¶ªº§ó·s¡A«ØÀɪº¤é´Á¤w¤£¥i¦Ò¤F¡A¯à±oª¾ªº®£©È¥u¦³³Ì«á¤@¦¸¶i¦æ½s­×®Éªº¡u­×§ï¤é´Á¡v¡C


¬°¤FÅýºô¤Íª¾¹D§Ú­Ì¬O«Ü¥Î¤ßªº¦bºûÅ@ºô¯¸¡A¨Ã¥B®É®Éªº§ó·sºô­¶¸ê°T¡A¦]¦¹«Ü¦hºô¥D³£·|¦bºô­¶¤¤§iª¾ºô¦b³Ì«áªº§ó·s¤é´Á¡A¦p¤W¹Ï¡C
¨º§ó·s¤é´Áªº°T®§§Ú­Ì­n¦Û¤v¤@­¶¤@­¶ªº¥[¤W¥h¶Ü¡H§A¤£·|³o¼Ë°µ§a¡H¡I¯»²Ö­C¡I§Ú­Ì¥i¥Hª½±µ§Q¥ÎJavaScript¨Ó¦Û°ÊÀ°§Ú­Ì°µ¡u§ó·s¸ê°T¡v°Õ¡I§Ú­Ì¥u­nª½±µ¨ú¥Îdocumentª«¥óªº¡ulastModified¡vÄÝ©Ê´N¦n¤F¡C
  1. document.lastModified
½Æ»s¥N½X
¹ê§@¾Ç²ß¡G
¦bºô­¶¤¤¼¶¼g¤@­Ó·|¦Û°Ê§ó·sºô­¶¤é´ÁªºJavaScriptµ{¦¡¡C
7-7.htm
  1. <HTML>
  2. <HEAD>
  3. <TITLE>§ó·s¤é´Á</TITLE>
  4. </HEAD>
  5. <BODY>
  6. <SCRIPT LANGUAGE="JavaScript">
  7. document.write("¥»¯¸³Ì«á§ó·s¤é´Á¡G"+document.lastModified)
  8. </script>
  9. </BODY>
  10. </HTML>
½Æ»s¥N½X
¤ß¦w¡A¥­¦w   
µoªí¥ô¦óµL·N¸qªº·PÁ©ÎÄé¤ô¤å³¹¤@«ß¬å,¬Ã±¤±b¸¹,½Ð¸Ô¾\ª©³W!!

TOP

        ÀR«ä¦Û¦b : ¤f»¡¤@¥y¦n¸Ü¡A¦p¤f¥X½¬ªá¡F¤f»¡¤@¥yÃa¸Ü¦p¤f¦R¬r³D¡C
ªð¦^¦Cªí ¤W¤@¥DÃD