![]() ![]() |
6.3:H106102 When using Script language, one should provide alterative when Script is not supportedImproper designThe improper design below is when SCRIPT do not function properly, there was no text explanation replacing the SCRIPT content. Improper design: <SCRIPT language="VBScript"> <!-- Sub Game_OnClick in the tien-mu baseball stadium, the score for the sun team to king-kong is 1 to 2, in tai-chong baseball stadium, the score for the Shin-nong team to the brothers is 4 to 0" End Sub --> </SCRIPT> End of example Proper demonstrationWhen SCRIPT do not function properly, us NOSCRIPT label to show NOSCRIPT content. Proper example: <SCRIPT language="VBScript"> <!-- Sub Game_OnClick MsgBox "in the tien-mu baseball stadium, the score for the sun team to king-kong is 1 to 2, in tai-chong baseball stadium, the score for the Shin-nong team to the brothers is 4 to 0" End Sub --> </SCRIPT> <NOSCRIPT> <P>Today¡¦s baseball score: in the tien-mu baseball stadium, the score for the sun team to king-kong is 1 to 2, in tai-chong baseball stadium, the score for the Shin-nong team to the brothers is 4 to 0 </P> </NOSCRIPT> End of example |
![]() |