/
index.html
56 lines (47 loc) · 2.55 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html dir="ltr" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Brosho Plugin - Example</title>
<link rel="stylesheet" type="text/css" media="screen" href="css/reset.css">
<link rel="stylesheet" type="text/css" media="screen" href="css/main.css">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.lint.js"></script>
<script type="text/javascript" src="js/brosho/jquery.brosho.js"></script>
<script type="text/javascript" src="js/main.js"></script>
</head>
<body>
<div id="wrapper">
<div id="header">
<h1>Brosho Plugin - Example<span>Just inlcude it to run Brosho with default settings</span></h1>
</div>
<ol id="navigation">
<li><a href="index.html">Default Usage</a></li>
<li><a href="custom.html">Custom Usage</a></li>
<li><span></span></li>
<li><a href="http://usejquery.com/posts/8/brosho-design-in-the-browser-jquery-plugin">Documentation</a></li>
<li><a href="http://github.com/mustardamus/brosho-plugin/tree/master/js/brosho/">Source</a></li>
<li><a href="http://github.com/mustardamus/brosho-plugin/downloads">Download</a></li>
</ol>
<div class="clear"></div>
<div id="content">
<h2>Include it in your header and it's ready!</h2>
<p>
Brosho is a development tool and therefore it should be no hustle to include it in your project and run it.
</p>
<p>
Given you have a directory <i>js</i>, copy and paste the <i>brosho</i> directory to it. Path to brosho now should be
<i>/js/brosho/jquery.brosho.js</i>. If your path is different please see the Custom Usage section.
</p>
<p>Now just include the Plugin along with jQuery in your header:</p>
<pre><code><script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script type="text/javascript" src="js/brosho/jquery.brosho.js"></script></code></pre>
<p>Done! Now you got the brosho editor included with the default settings. Play around with it on this site.</p>
</div>
<div id="footer">
Brosho jQuery Plugin by <a href="http://mustardamus.com">Sebastian Senf</a> for <a href="http://usejquery.com">Use jQuery</a>
</div>
</div>
</body>
</html>