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