Maison >interface Web >tutoriel HTML >HTML组件(HTML COMPONENTS)之十一
===TODAY HTC===
<HEAD> <PUBLIC:COMPONENT tagName="DAY"> <<a href="http://pr.knowsky.com/">PR</a>OPERTY NAME="value"></PROPERTY> <ATTACH EVENT="oncontentready" ONEVENT="fnInit()"></ATTACH> </PUBLIC:COMPONENT> <STYLE> .clsDay { width:50; height:50; background-color: pink; align:center; text-align:right; } </STYLE> <SCR<a href="http://ip.knowsky.com/">ip</a>T LANGUAGE="<a href="http://www.knowsky.com/article.asp?typeid=160">java</a>Script"> <!-- function fnInit() { document.body.innerHTML = '<FONT COLOR="blue">' + element.value + '</FONT>'; document.body.className = "clsDay"; defaults.viewLink = document; element.appointments = ""; element.date = element.value; } function fnShowA<a href="http://ppt.knowsky.com/">PPT</a>s() { newAppointments = prompt("Add your appointment:", element.appointments); if (newAppointments != null) element.appointments = newAppointments; document.body.innerHTML = '<FONT COLOR="blue">' + element.date + '</FONT>' + "<BR>" + '<FONT SIZE="1">' + element.appointments + '</FONT>'; } // --> </SCRIPT> </HEAD>
以上就是HTML组件(HTML COMPONENTS)之十一的内容,更多相关文章请关注PHP中文网(www.php.cn)!