-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
129 lines (85 loc) · 3.4 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link href='https://fonts.googleapis.com/css?family=Architects+Daughter' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen" />
<link rel="stylesheet" type="text/css" href="stylesheets/pygment_trac.css" media="screen" />
<link rel="stylesheet" type="text/css" href="stylesheets/print.css" media="print" />
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<title>Website by CMX10</title>
<script language="javascript" src="javascripts/ahah.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript">
//Get all the elements of the given classname of the given tag.
function getElementsByClassName(classname,tag) {
if(!tag) tag = "*";
var anchs = document.getElementsByTagName(tag);
var total_anchs = anchs.length;
var regexp = new RegExp('\\b' + classname + '\\b');
var class_items = new Array()
for(var i=0;i<total_anchs;i++) { //Go thru all the links seaching for the class name
var this_item = anchs[i];
if(regexp.test(this_item.className)) {
class_items.push(this_item);
}
}
return class_items;
}
function load(name) {
var url = document.URL.split("/");
url.pop();
ahah(url.join("/")+"/pages/"+name+".html","main-content");
}
function init_page(){
load('welcome');
var url = document.URL.split("/")
url.pop()
ahah(url.join("/")+"/pages/welcome.html");
}
</script>
</head>
<body onload="init_page()">
<header>
<div class="inner">
<h1>CMX10:</h1>
<h2>CM9 and CM10 ROM for the X10</h2>
<a href="https://github.com/CMX10/" class="button"><small>View project on</small>GitHub</a>
</div>
</header>
<table id="maintable">
<tr>
<td valign="top">
<div class="menu cmxsidebar">
<a href="javascript:load('cm10_changelog');" class="button simple-button">CM10_Changelog</a>
<a href="javascript:load('cm9_changelog');" class="button simple-button">CM9_Changelog</a>
<a href="javascript:load('howto');" class="button simple-button">How To</a>
<a href="javascript:load('faq');" class="button simple-button">F.A.Q</a>
<a href="javascript:load('credits');" class="button simple-button">credits</a>
</div>
<td>
<section id="main-content"/>
</td>
<td valign="top">
<div class="cmxsidebar">
<a href="http://www.wuala.com/CMX10/Android/" class="button download">Latest CM10 downloads</a>
<a href="http://www.wuala.com/CMX10-Android/Android/" class="button download">Latest CM9 downloads</a>
<a href="http://www.wuala.com/CMX10/Android/" class="button download">
Browse All
</a>
<a href="https://github.com/CMX10/website/issues" class="button issue">
Browse issues
</a>
<p class="repo-owner"><a href="https://github.com/CMX10/website"></a> is maintained by <a href="https://github.com/CMX10">CMX10</a>.</p>
<p>This page was generated by <a href="pages.github.com">GitHub Pages</a> using the Architect theme by <a href="http://twitter.com/jasonlong">Jason Long</a>.</p>
</div>
</td>
</tr>
</table>
</div>
</div>
</body>
</html>