spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / javascript / column64


HTML Components

Developer News
News Flash: Adobe Has iPhone Workaround
Adobe's Flash 10.1 Goes Mobile (Minus iPhone)
A Salute to Visionary CEOs

Listings of TODAY's HTC

<HTML XMLNS:TODAY>
<HEAD>
<PUBLIC:COMPONENT tagName="DAY">
  <PROPERTY 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>

<SCRIPT LANGUAGE="JavaScript">
<!--
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 fnShowAppts()
{
  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>

<BODY onclick="fnShowAppts()">
</BODY>
</HTML>

Next: Listings of non-HTC Calendar

http://www.internet.com

Produced by Yehuda Shiran and Tomer Shiran

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Building a Banking Application Home Page with OOP · Mixing Scripting Languages · Review: phpFox, a Social Networking CMS with all the Bells and Whistles
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Enterprise 2.0: Social Networking in the Cloud · BroadSoft Marketplace Hastens Pace of Telephony Innovation · Review: HTC Hero for Sprint


Created: July 3, 2000
Revised: July 3, 2000

URL: http://www.webreference.com/js/column64/12.html