OSDN Git Service
(root)
/
pettanr
/
clientJs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 0.6.38, fix for safari2-.
[pettanr/clientJs.git]
/
0.6.x
/
js
/
ui
/
16_PageRoot.js
diff --git
a/0.6.x/js/ui/16_PageRoot.js
b/0.6.x/js/ui/16_PageRoot.js
index
0a7b4b8
..
21aa91e
100644
(file)
--- a/
0.6.x/js/ui/16_PageRoot.js
+++ b/
0.6.x/js/ui/16_PageRoot.js
@@
-37,7
+37,7
@@
function eventRellay( e ){
if( parent !== currentRootData ){
data.isHover === true && data.styleData.removeName( data.hoverStyleName );
delete data.isHover;
if( parent !== currentRootData ){
data.isHover === true && data.styleData.removeName( data.hoverStyleName );
delete data.isHover;
- data.
User._listeners && data.User
._listeners[ X.UI.Event.POINTER_OUT ] && data.dispatch( e, X.UI.Event.POINTER_OUT, false ); // new Event
+ data.
_listeners && data
._listeners[ X.UI.Event.POINTER_OUT ] && data.dispatch( e, X.UI.Event.POINTER_OUT, false ); // new Event
delete data.hitSelf;
list.splice( i, 1 );
continue;
delete data.hitSelf;
list.splice( i, 1 );
continue;
@@
-47,7
+47,7
@@
function eventRellay( e ){
data.isHover = true;
};
if( data.hitSelf === false ){
data.isHover = true;
};
if( data.hitSelf === false ){
- data.
User._listeners && data.User
._listeners[ X.UI.Event.POINTER_IN ] && data.dispatch( e, X.UI.Event.POINTER_IN, true ); // new Event
+ data.
_listeners && data
._listeners[ X.UI.Event.POINTER_IN ] && data.dispatch( e, X.UI.Event.POINTER_IN, true ); // new Event
data.hitSelf = true;
};
};
data.hitSelf = true;
};
};
@@
-59,7
+59,7
@@
function eventRellay( e ){
* 背景画像を読み終える onload で活動開始
*/
* 背景画像を読み終える onload で活動開始
*/
-var _PageRoot = _
AbstractDisplayContainer
.inherits(
+var _PageRoot = _
Box
.inherits(
'_PageRoot',
X.Class.FINAL | X.Class.PRIVATE_DATA | X.Class.SUPER_ACCESS,
{
'_PageRoot',
X.Class.FINAL | X.Class.PRIVATE_DATA | X.Class.SUPER_ACCESS,
{
@@
-88,30
+88,21
@@
var _PageRoot = _AbstractDisplayContainer.inherits(
},
start : function(){
},
start : function(){
- console.log( 'ui start.' )
this.initialize( this.User, this, null, null );
X.Timer.once( 0, this, this.addToView );
},
addToView : function(){
this.initialize( this.User, this, null, null );
X.Timer.once( 0, this, this.addToView );
},
addToView : function(){
- console.log( 'ui add to view.' + X.Dom.Node.root._tag )
- var counter = this.eventCounter, flg, elm;
+ var counter = this.eventCounter, flg;
- // document.body.insertBefore( this.rawElement, elmInteractive );
// this.elmMouseCatch の前に追加する!
this.addToParent( X.Dom.Node.root );
// this.elmMouseCatch の前に追加する!
this.addToParent( X.Dom.Node.root );
- //document.body.appendChild( elm = document.createElement( 'div' ) );
-
elm
= X.Dom.Node.root.create( 'div', {
+
this.elmMouseCatch
= X.Dom.Node.root.create( 'div', {
'class' : 'mouse-operation-catcher',
unselectable : 'on'
} );
'class' : 'mouse-operation-catcher',
unselectable : 'on'
} );
- // elm.style.cssText = 'position:absolute;top:0;left:0;height:100%;';
- //elm.className = 'mouse-operation-catcher';
- //elm.unselectable = 'on';
- this.elmMouseCatch = elm;
-
// hover や rollover rollout のための move イベントの追加
// X.Dom.Event.activate, X.Dom.Event.deactivate ?
// mouseout, mouseover
// hover や rollover rollout のための move イベントの追加
// X.Dom.Event.activate, X.Dom.Event.deactivate ?
// mouseout, mouseover