欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  web前端

HTML组件(HTML COMPONENTS)之十一

程序员文章站 2022-04-27 11:02:05
...
===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)!