author | Tero Marttila <terom@fixme.fi> |
Wed, 27 Aug 2008 21:30:32 +0300 | |
changeset 41 | 540737bf6bac |
parent 28 | c239c5c3beda |
permissions | -rw-r--r-- |
27
1e79b4cc8f1b
support for static files (.css, .html, .js), and tiles - serves up a full viewer at / now, but the JS code needs cleaning up
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
1 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
1e79b4cc8f1b
support for static files (.css, .html, .js), and tiles - serves up a full viewer at / now, but the JS code needs cleaning up
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
2 |
<head> |
1e79b4cc8f1b
support for static files (.css, .html, .js), and tiles - serves up a full viewer at / now, but the JS code needs cleaning up
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
3 |
<title>Mandelbrot</title> |
1e79b4cc8f1b
support for static files (.css, .html, .js), and tiles - serves up a full viewer at / now, but the JS code needs cleaning up
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
4 |
<script src="/static/prototype.js" type="text/javascript"></script> |
28
c239c5c3beda
strip down the scriptaculous javascript code to a bare minimum, and rewrite tiles.js as tiles2.js - uses Classes, so the code is a lot neater. Still a couple bugs to work out, but mostly works
Tero Marttila <terom@fixme.fi>
parents:
27
diff
changeset
|
5 |
<script src="/static/dragdrop.js" type="text/javascript"></script> |
c239c5c3beda
strip down the scriptaculous javascript code to a bare minimum, and rewrite tiles.js as tiles2.js - uses Classes, so the code is a lot neater. Still a couple bugs to work out, but mostly works
Tero Marttila <terom@fixme.fi>
parents:
27
diff
changeset
|
6 |
<script src="/static/builder.js" type="text/javascript"></script> |
c239c5c3beda
strip down the scriptaculous javascript code to a bare minimum, and rewrite tiles.js as tiles2.js - uses Classes, so the code is a lot neater. Still a couple bugs to work out, but mostly works
Tero Marttila <terom@fixme.fi>
parents:
27
diff
changeset
|
7 |
<script src="/static/tiles2.js" type="text/javascript"></script> |
27
1e79b4cc8f1b
support for static files (.css, .html, .js), and tiles - serves up a full viewer at / now, but the JS code needs cleaning up
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
8 |
<link rel="Stylesheet" type="text/css" href="static/style.css"> |
1e79b4cc8f1b
support for static files (.css, .html, .js), and tiles - serves up a full viewer at / now, but the JS code needs cleaning up
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
9 |
</head> |
1e79b4cc8f1b
support for static files (.css, .html, .js), and tiles - serves up a full viewer at / now, but the JS code needs cleaning up
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
10 |
<body> |
1e79b4cc8f1b
support for static files (.css, .html, .js), and tiles - serves up a full viewer at / now, but the JS code needs cleaning up
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
11 |
<div id="wrapper"> |
1e79b4cc8f1b
support for static files (.css, .html, .js), and tiles - serves up a full viewer at / now, but the JS code needs cleaning up
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
12 |
<div id="viewport" style="width: 100%; height: 100%"> |
28
c239c5c3beda
strip down the scriptaculous javascript code to a bare minimum, and rewrite tiles.js as tiles2.js - uses Classes, so the code is a lot neater. Still a couple bugs to work out, but mostly works
Tero Marttila <terom@fixme.fi>
parents:
27
diff
changeset
|
13 |
<div class="substrate"></div> |
27
1e79b4cc8f1b
support for static files (.css, .html, .js), and tiles - serves up a full viewer at / now, but the JS code needs cleaning up
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
14 |
</div> |
28
c239c5c3beda
strip down the scriptaculous javascript code to a bare minimum, and rewrite tiles.js as tiles2.js - uses Classes, so the code is a lot neater. Still a couple bugs to work out, but mostly works
Tero Marttila <terom@fixme.fi>
parents:
27
diff
changeset
|
15 |
</div> |
c239c5c3beda
strip down the scriptaculous javascript code to a bare minimum, and rewrite tiles.js as tiles2.js - uses Classes, so the code is a lot neater. Still a couple bugs to work out, but mostly works
Tero Marttila <terom@fixme.fi>
parents:
27
diff
changeset
|
16 |
|
27
1e79b4cc8f1b
support for static files (.css, .html, .js), and tiles - serves up a full viewer at / now, but the JS code needs cleaning up
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
17 |
<script type="text/javascript"> |
28
c239c5c3beda
strip down the scriptaculous javascript code to a bare minimum, and rewrite tiles.js as tiles2.js - uses Classes, so the code is a lot neater. Still a couple bugs to work out, but mostly works
Tero Marttila <terom@fixme.fi>
parents:
27
diff
changeset
|
18 |
var tile_source = new Source("/tile", 256, 256, 0, 13); |
c239c5c3beda
strip down the scriptaculous javascript code to a bare minimum, and rewrite tiles.js as tiles2.js - uses Classes, so the code is a lot neater. Still a couple bugs to work out, but mostly works
Tero Marttila <terom@fixme.fi>
parents:
27
diff
changeset
|
19 |
var main = new Viewport(tile_source, "viewport"); |
27
1e79b4cc8f1b
support for static files (.css, .html, .js), and tiles - serves up a full viewer at / now, but the JS code needs cleaning up
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
20 |
</script> |
1e79b4cc8f1b
support for static files (.css, .html, .js), and tiles - serves up a full viewer at / now, but the JS code needs cleaning up
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
21 |
</body> |
1e79b4cc8f1b
support for static files (.css, .html, .js), and tiles - serves up a full viewer at / now, but the JS code needs cleaning up
Tero Marttila <terom@fixme.fi>
parents:
diff
changeset
|
22 |
</html> |