User:Felice/index.html.template: Difference between revisions
Jump to navigation
Jump to search
(hover fix?) |
(adding header/footer for splash screen) |
||
Line 42: | Line 42: | ||
<body id="homepage" lang="$gettext{'lang'}"> |
<body id="homepage" lang="$gettext{'lang'}"> |
||
<!--#include virtual="includes/logo.html" --> |
|||
<!--#include virtual="includes/header-splash.html" --> |
|||
<div id="main-body" class="section clearfix"> |
<div id="main-body" class="section clearfix"> |
||
Line 54: | Line 56: | ||
</div> <!-- /main-body --> |
</div> <!-- /main-body --> |
||
<!--#include virtual="includes/footer.html" --> |
<!--#include virtual="includes/footer-splash.html" --> |
||
</body> |
</body> |
||
</html> |
</html> |
Latest revision as of 16:55, 23 September 2007
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.substr(0, this.className.length - 5); } }; YAHOO.util.Event.addListener(window, "load", Home.Init, Home, true); //]]> </script> </head> <body id="homepage" lang="$gettext{'lang'}"> <!--#include virtual="includes/logo.html" --> <!--#include virtual="includes/header-splash.html" --> <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-splash.html" --> </body> </html>