|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
HTML5语音识别(现在一般用在搜索上),目前相关介绍还是挺多的。为何呢?因为很简单!<HTML><style><!--#ticker{width:800px;line-height:1.2em;background-color:lightblue;}--></style><scriptlanguage="JavaScript1.2">//configuretickercontents[]tosetthemessgesyouwishbedisplayed(HTMLcodesaccepted)//设置内容显现vartickercontents=newArray()tickercontents[0]=SeewhatsNewatDynamicDrive.<ahref="../../../dynamicdrive.com/new.htm">[Readmore]</a>tickercontents[1]=BrowsethemostpopularscriptsonDynamicDrive<ahref="../../../dynamicdrive.com/hot.htm">[Readmore]</a>tickercontents[2]=LinkbacktoDynamicDrive!<ahref="../../../dynamicdrive.com/link.htm">[Readmore]</a>//configurethebelowvariabletodeterminethedelaybetweentickingofmessages(inmiliseconds//设置提早工夫vartickdelay=3000////Donoteditpassthisline////////////////varcurrentmessage=0functionchangetickercontent(){ticker.innerHTML=tickercontents[currentmessage]if(currentmessage==tickercontents.length-1)currentmessage=0elsecurrentmessage++setTimeout("changetickercontent()",tickdelay)}functionstart_ticking(){changetickercontent()}window.onload=start_ticking</script><divid="ticker"left=0top=0></div></HTML></p>
HTML5草案的前身名为WebApplications1.0,于2004年被WHATWG提出,于2007年被W3C接纳,并成立了新的HTML工作团队。 |
|