Skip to content

Commit

Permalink
Built out first draft of documentation, with lots missing. Fixes cutt…
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom MacWright committed Apr 12, 2011
1 parent f70d9f1 commit 5086c7d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
16 changes: 16 additions & 0 deletions manual/index.html
Expand Up @@ -61,6 +61,17 @@
code to make your map work. We'll also include a CSS file to start rolling with
style.

After you've got the code downloaded, you'll need to put it on your server and
include it on your page. The include files are segmented by the mapping API you're
using, so in our case, we'll use Modest Maps - `mm`.

<script src='build/wax.mm.min.js' type='text/javascript'></script>

Then you'll want to include the theme file so that you can see controls -
you can always swap in your own later on.

<link href='theme/controls.css' rel='stylesheet' type='text/css' />

You'll do the usual Modest Maps setup - just as you'll do the standard setup
process with the other APIs.
</p>
Expand Down Expand Up @@ -126,6 +137,11 @@

The fullscreen control adds a link to the map that assigns a
fullscreen class to the map, which makes it fill the page.

You'll see that this control adds a fullscreen link to the map, and that it's
a bit ugly right now. Until Wax's theming improves, keep in mind that its
styling, which is contained in `theme/controls.css`, is completely optional
and you can replace it with your own.
</p>

<div class='section'>
Expand Down
5 changes: 4 additions & 1 deletion manual/site.css
Expand Up @@ -25,10 +25,13 @@ div.md {
width: 450px;
float:left;
}
div.md pre code {
padding:10px;
}
h2 {
border-bottom:1px solid #333;
}
pre, div.sidebar {
pre.sh_javascript, div.sidebar {
width: 300px;
padding:0 25px;
margin:0;
Expand Down

0 comments on commit 5086c7d

Please sign in to comment.