summaryrefslogtreecommitdiff
path: root/edit-res.html
blob: 50912f47d353fa8bc89865694c2897a049bb7112 (plain)
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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Aloha, World!</title>
<link rel="stylesheet" href="templates/default/screen.css" />
</head>

<body>
<div id="main"> 
<div id="tree-div"></div>
<h1 id="title">Aloha, World!</h1>
<div id="bodyContent">
<div id="teaser" class="shorttext">
<p><b>Aloha</b> in the Hawaiian language means affection, love, peace, compassion and mercy. Since the middle of the 19th century, it also
has come to be used as an English greeting to say <i>goodbye</i> and <i>hello</i>. Currently, it is mostly used in the sense of hello; however,
it is used as the above.</p>
</div>
<div id="content" class="article">
<h2>Etymology</h2>
<p>The word <a href="http://en.wikipedia.org/wiki/Aloha-invalid" target="_blank">aloha</a> derives from the Proto-Polynesian root <i>*qalofa</i>. It has cognates in other Polynesian languages, such as Samoan alofa
and Māori aroha, also meaning "love."</p>
<table>
<caption>with a caption.</caption>
<tr><td>This</td><td>is</td></tr>
<tr><td>a</td><td>table.</td></tr>
</table>
<p>A folk etymology claims that it derives from a compound of the <a href="http://en.wikipedia.org/wiki/Hawaii" target="_blank">Hawaiian</a> words alo meaning "presence", "front", "face", or "share"; and
ha, meaning "breath of life" or "essence of life." Although alo does indeed mean "presence" etc., the word for breath is spelled with a macron
or kahakō over the a (hā) whereas the word aloha does not have a long a.</p>
<h2>Usage</h2>
<p>Before contact with the West, the words used for greeting were welina and anoai. Today, "aloha kakahiaka" is the phrase for "good
morning." "Aloha ʻauinalā" means "good afternoon" and "aloha ahiahi" means "good evening." "Aloha kākou" is a common form of "welcome to all."</p>
<p>In modern Hawaiʻi, numerous businesses have aloha in their names, with more than 3 pages of listings in the Oʻahu phone book alone.</p>
<h2>Trends</h2>
<p>Recent trends are popularizing the term elsewhere in the United States. Popular entertainer, Broadway star and Hollywood actress Bette
Midler, born in Honolulu, uses the greeting frequently in national appearances. The word was also used frequently in the hit television drama
Hawaii Five-O. In the influential 1982 film comedy Fast Times at Ridgemont High, the eccentric teacher Mr. Hand makes use of the greeting. The
Aloha Spirit is a major concept in Lilo and Stitch, a very popular Disney series of movies and TV shows, set in Hawaiʻi. The drama series Lost,
shot in Hawaiʻi, has a thank you note at the end of the credits saying "We thank the people of Hawaiʻi and their Aloha Spirit". Aloha is a term
also used in the Nickelodeon program Rocket Power.</p>
<ul>
	<li>Arguably the most famous historical Hawaiian song, "Aloha ʻOe" was written by the last queen of Hawaii, Liliʻuokalani.</li>
	<li>The term inspired the name of the ALOHA Protocol introduced in the 1970s by the University of Hawaii.</li>
	<li>In Hawaii someone can be said to have or show aloha in the way they treat others; whether family, friend, neighbor or stranger.</li>
</ul>
</div>
</div>
</div>


<link href="http://cdn.aloha-editor.org/latest/css/aloha.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="http://cdn.aloha-editor.org/latest/lib/vendor/jquery-1.7.1.js"></script>
<script type="text/javascript" src="http://cdn.aloha-editor.org/latest/lib/require.js"></script>
<script>
	var Aloha = window.Aloha || ( window.Aloha = {} );
	
	Aloha.settings = {
		locale: 'fr',
		plugins: {
			format: {
				config : [ 'b', 'i','sub','sup'],
			  	editables : {
					// no formatting allowed for title
					'#title'	: [ ], 
					// formatting for all editable DIVs
					'div'		: [ 'b', 'i', 'del', 'sub', 'sup'  ], 
					// content is a DIV and has class .article so it gets both buttons
					'.article'	: [ 'b', 'i', 'p', 'title', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'pre', 'removeFormat']
			  	}
			},
			list: {
			 	// all elements with no specific configuration get an UL, just for fun :)
				config : [ 'ul' ],
			  	editables : {
					// Even if this is configured it is not set because OL and UL are not allowed in H1.
					'#title'	: [ 'ol' ], 
					// all divs get OL
					'div'		: [ 'ol' ], 
					// content is a DIV. It would get only OL but with class .article it also gets UL.
					'.article'	: [ 'ul' ]
			  	}
			},
			link: {
				config : [ 'a' ],
			  	editables : {
					// No links in the title.
					'#title'	: [  ]
			  	}
			}
		},
		sidebar: {
			disabled: false
		}
	};
</script>

<script type="text/javascript" src="http://cdn.aloha-editor.org/latest/lib/aloha.js"
			data-aloha-plugins="common/ui,
								common/format,
		                        common/table,
		                        common/list,
		                        common/link,
		                        common/highlighteditables,
		                        common/block,
		                        common/undo,
		                        common/image,
		                        common/contenthandler,
		                        common/paste,
		                        common/commands,
		                        common/abbr"></script>

<script type="text/javascript">
Aloha.ready(function() {
	// mark the editable parts
	$('#title').aloha();
	$('#teaser').aloha();
	$('#content').aloha();	
});

</script>

</body>
</html>