1
|
1 |
|
|
2 |
D = Ti.API.get( 'D' );
|
0
|
3 |
|
|
4 |
$( window ).ready( function() {
|
|
5 |
$( '#name' ).html( D.name );
|
|
6 |
|
|
7 |
/*
|
|
8 |
var win = $( window );
|
|
9 |
splash = Ti.UI.currentWindow;
|
|
10 |
|
|
11 |
var dragging = false;
|
|
12 |
var xstart = 0;
|
|
13 |
var ystart = 0;
|
|
14 |
|
|
15 |
win.bind( 'mousemove', function( event ) {
|
|
16 |
if ( ! dragging ) return;
|
|
17 |
splash.setX( splash.getX() + event.clientX - xstart );
|
|
18 |
splash.setY( splash.getY() + event.clientY - ystart );
|
|
19 |
});
|
|
20 |
|
|
21 |
win.bind( 'mousedown', function( event ) {
|
|
22 |
dragging = true;
|
|
23 |
xstart = event.clientX;
|
|
24 |
ystart = event.clientY;
|
|
25 |
});
|
|
26 |
|
|
27 |
win.bind( 'mouseup', function() {
|
|
28 |
dragging = false;
|
|
29 |
});
|
|
30 |
*/
|
|
31 |
});
|
|
32 |
|