User:Felice/index.html.template

From OLPC
< User:Felice
Revision as of 20:25, 1 April 2007 by Walter (talk | contribs) (fixed internationalization bug with foundation link)
Jump to navigation Jump to search
  This page is monitored by the OLPC team.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="$gettext{'lang'}" xml:lang="$gettext{'lang'}">

<head>
	<title>$gettext{'olpc'}, $gettext{'titletext'}</title>
	<meta name="Description" content="$gettext{'description'}" />
	<meta name="keywords" content="$gettext{'keywords'}" />
	<!--#include virtual="includes/meta.html" -->
	<!--#include virtual="includes/icon.html" -->
	<!--#include virtual="includes/css.html" -->
	<!--#include virtual="includes/javascript.html" -->
	<script type="text/javascript" language="JavaScript" charset="iso-8859-1">
	//<![CDATA[	
	Home = {	
		Init : function() {
			var ul = document.getElementById("homenav");
			var li = ul.getElementsByTagName("li");
			for (var x=0; x<li.length; x++) {
				if(!li[x].className) li.className = "null";
				li[x].onmouseover = Home.MouseOver;
				li[x].onmouseout = Home.MouseOut;	
				}
			},
			
		MouseOver : function() {
			this.className += ' hover';
			},
			
		MouseOut : function() {
			this.className = this.className.replace(new RegExp("hover\\b"), '');
			}
			
		};		
		
		YAHOO.util.Event.addListener(window, "load", Home.Init, Home, true);
	//]]>
	</script> 
</head>

<body id="homepage" lang="$gettext{'lang'}">


	<div id="main-body" class="section clearfix">
		<h1>$gettext{'olpc'}, $gettext{'titletext'}</h1>
		
			<ul id="homenav">
				<li id="homenav-vision"><a href="vision/index.shtml" title="$gettext{'visiontitle'}"><span>$gettext{'vision'}</span></a></li>
				<li id="homenav-laptop"><a href="laptop/" title="$gettext{'laptoptitle'}"><span>$gettext{'laptop'}</span></a></li>
				<li id="homenav-foundation"><a href="http://laptopfoundation.org/$gettext{'lang'}/index.shtml" title="$gettext{'foundationtitle'}"><span>$gettext{'foundation'}</span></a></li>
				<li id="homenav-children"><a href="children/" title="$gettext{'childrentitle'}"><span>$gettext{'children'}</span></a></li>
			</ul>
	
	</div> <!-- /main-body -->
	<!--#include virtual="includes/footer.html" -->
</body>
</html>