Home  >  Article  >  Web Front-end  >  HTML COMPONENTS Part 8

HTML COMPONENTS Part 8

黄舟
黄舟Original
2016-12-17 13:57:001131browse

===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 = &#39;<FONT COLOR="blue">&#39; + element.value + &#39;</FONT>&#39;; 
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 = &#39;<FONT COLOR="blue">&#39; + element.date + &#39;</FONT>&#39; + "<BR>" + &#39;<FONT SIZE="1">&#39; + element.appointments + &#39;</FONT>&#39;; 
} 
// --> 
</SCRIPT> 
</HEAD>

The above is the eighth content of HTML COMPONENTS. For more related articles, please pay attention to the PHP Chinese website (www.php.cn)!


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:HTML COMPONENTS Part 7Next article:HTML COMPONENTS Part 7