<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=gbk" />
<title>Style-able and semantic XHTML › Calendar: a Javascript class for Mootools_2png.cn</title>
<script type="text/javascript" src="js/mootools.js"></script>
<script type="text/javascript" src="js/calendar.rc4.js"></script>
<script type="text/javascript">
//<![CDATA[
window.addEvent('domready', function() {
myCal1 = new Calendar({ date1: 'd/m/Y' }, { direction: 1, tweak: {x: 6, y: 0} });
myCal2 = new Calendar({ date2: 'd/m/Y' }, { classes: ['dashboard'], direction: 1, tweak: {x: 3, y: -3} });
myCal3 = new Calendar({ date3: 'd/m/Y' }, { classes: ['i-heart-ny'], direction: 1, tweak: {x: 3, y: 0} });
});
//]]>
</script>
<link rel="stylesheet" type="text/css" href="css/iframe.css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/calendar.css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/dashboard.css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/i-heart-ny.css" media="screen" />
</head>
<body>
<h1>Style-able and semantic XHTML</h1>
<p>
I have tried to make Calendar as <strong>semantic</strong> as possible每with proper usage of <em>CAPTION, THEAD, TBODY, TH and TD</em> elements每and lots of <strong>CSS styling hooks</strong>. View the Calendar <a href="css/calendar.css" target="_blank">stylesheet</a> for examples of the <em>CSS</em>; <a href="http://www.codefans.net/">Codefans.net</a> see the <strong>Styling Your Calendar</strong> section in the Manual for references to the <em>XHTML</em>.
<code>
myCal1 = new Calendar({ date1: 'd/m/Y' }, { direction: 1, tweak: { x: 6, y: 0 }});<br />
myCal2 = new Calendar({ date2: 'd/m/Y' }, { classes: ['dashboard'], direction: 1 });<br />
myCal3 = new Calendar({ date3: 'd/m/Y' }, { classes: ['i-heart-ny'], direction: 1 });
</code>
</p>
<form action="/" class="long">
<fieldset>
<legend>Default styling</legend>
<label for="date1">Date</label>
<input id="date1" name="date1" type="text" />
</fieldset>
</form>
<form action="/">
<fieldset>
<legend>Alternate styling: dashboard</legend>
<label for="date2">Date</label>
<input id="date2" name="date2" type="text" />
</fieldset>
</form>
<form action="/">
<fieldset>
<legend>Alternate styling: i-heart-ny (experimental)</legend>
<label for="date3">Date</label>
<input id="date3" name="date3" type="text" />
</fieldset>
</form>
</body>
</html>

chen8511
- 粉丝: 0
最新资源
- 基于STM的FSMC接口驱动TFT彩屏的设计方案.doc
- 计算机网络技术专业毕业设计选题参考.doc
- 图形图像处理在影视创作中的应用------.pdf
- 最新XX公司电脑网络维护服务协议书.doc
- 软件工程—可行性研究PPT课件.ppt
- 青少年的网络成瘾(社区讲座).ppt
- 智能高清网络监控系统创业商业计划书.doc
- 电子商务助理工作总结.docx
- 2019年网站编辑试用期转正工作总结范文.pdf
- 项目12单片机嵌入式系统原理及应用(贾好来)ARM单片机结.pptx
- 县电子商务进农村农村电商一帮一带规划方案.docx
- 2023年全国计算机等级考试一级试题目及答案.doc
- 电子商务与物流案例分析.ppt
- 年土木工程项目管理考试--答案及评分格式.doc
- 个人所得税自行申报软件操作说明书.docx
- 如何做好项目管理案例结合实际.ppt
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈


