DIR : /home/kozerus/public_html/pn/uize/site-source/javascript-feature-tours.html
/home/kozerus/public_html/pn/uize/site-source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>JavaScript Feature Tours | UIZE JavaScript Framework</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="alternate" type="application/rss+xml" title="UIZE JavaScript Framework - Latest News" href="http://www.uize.com/latest-news.rss"/>
<link rel="stylesheet" href="css/page.css"/>
<link rel="stylesheet" href="css/page.simpledoc.css"/>
</head>
<body>
<script type="text/javascript" src="js/Uize.js"></script>
<h1 class="document-title">
<a id="page-homeLink" href="index.html" title="UIZE JavaScript Framework home"></a>
JavaScript Feature Tours
</h1>
<div class="main">
</div>
<script type="text/javascript">
Uize.require (
[
'Uize.Url',
'UizeSite.Examples'
],
function () {
'use strict';
var
_tour = Uize.Url.fromParams (location.href).tour,
_examples = UizeSite.Examples (),
_startExample
;
if (_tour) {
if (_tour.toLowerCase () == 'all') {
_startExample = _examples [0];
} else {
for (
var
_exampleNo = -1,
_examplesLength = _examples.length,
_keywordsMatchRegExp = new RegExp ('\\b' + _tour + '\\b','i')
;
++_exampleNo < _examplesLength;
) {
var _example = _examples [_exampleNo];
if (_keywordsMatchRegExp.test (_example.keywords)) {
_startExample = _example;
break;
}
}
}
}
if (_startExample) {
location.replace (_startExample.path + '?tour=' + _tour);
} else {
Uize.require (
'UizeSite.Page.library',
function () {
/*** create the example page widget ***/
var _page = window.page = UizeSite.Page ();
/*** wire up the page widget ***/
_page.wireUi ();
}
);
}
}
);
</script>
</body>
</html>
//
koh5_pano
Drag mouse to navigate.
Navigation
- Left/Right Mouse drag: Changes camera heading.
- Up/Sown Mouse drag: Changes camera pitch.
- Scroll wheel: Changes camera field of view.
- I-Key: Displays Info panel with canvas size, image size and FPS.
17.Aug.2010, Martin Wengenmayer