Click here to Skip to main content
15,893,588 members
Articles / Web Development / HTML5

HTML Component Framework

Rate me:
Please Sign up or sign in to vote.
4.50/5 (4 votes)
19 Apr 2011BSD10 min read 33.8K   420   18  
A framework for creating and using HTML components
<html>
	<head>
		<meta name="HTMLComponent" />
		<meta name="eventUrl" content="http://htmlcomponentframework.googlecode.com/svn/examples/Event.html"/>
		<meta scheme="PartialJSONSchema" name="acceptsEvent" content='{"greet": {"type": "object","properties": {"name": {"type": "string"}}}}' />
		<meta scheme="PartialJSONSchema" name="raisesEvent" content='{"greetingHidden": {"type": "null"}}' />
		<link rel="stylesheet" type="text/css" href="http://htmlcomponentframework.googlecode.com/svn/releases/1.0/ComponentFramework.css"/>
		<script type="text/javascript" src="http://htmlcomponentframework.googlecode.com/svn/3rdpartylibs/jquery-1.3.2.min.js"></script> 
		<script type="text/javascript" src="http://htmlcomponentframework.googlecode.com/svn/3rdpartylibs/json2.js"></script> 
		<script type="text/javascript" src="http://htmlcomponentframework.googlecode.com/svn/3rdpartylibs/jsonschema-b4.js"></script> 
		<script type="text/javascript" src="http://htmlcomponentframework.googlecode.com/svn/releases/1.0/ComponentFramework.js"></script>
		<script type="text/javascript" src="HelloComponent.js"></script>
	</head>
	<body>
		<div id="greetingPanel" style="display:none">
			<div id="helloContainer"></div>
			<button id="hideGreetingButton" type="button">hide greeting</button>
		</div>
	</body>
</html>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The BSD License


Written By
Architect Fiorano
United Kingdom United Kingdom
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions