首頁  >  文章  >  web前端  >  HTML元件(HTML COMPONENTS)之十一

HTML元件(HTML COMPONENTS)之十一

黄舟
黄舟原創
2016-12-17 14:06:411055瀏覽

===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>

 以上就是HTML組件(HTML COMPONENTS)之十一的內容,更多相關文章請關注PHP中文網(www.php.cn)!


陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn