|
13 |
// positionDirection: String |
13 |
// positionDirection: String |
14 |
// Position from which message slides into screen, one of |
14 |
// Position from which message slides into screen, one of |
15 |
// ["br-up", "br-left", "bl-up", "bl-right", "tr-down", "tr-left", "tl-down", "tl-right"] |
15 |
// ["br-up", "br-left", "bl-up", "bl-right", "tr-down", "tr-left", "tl-down", "tl-right"] |
16 |
positionDirection: "tc-down", |
16 |
positionDirection: "tr-down", |
17 |
|
17 |
|
|
|
18 |
duration: 0, |
19 |
|
18 |
// positionDirectionTypes: Array |
20 |
// positionDirectionTypes: Array |
19 |
// Possible values for positionDirection parameter |
21 |
// Possible values for positionDirection parameter |
20 |
positionDirectionTypes: ["br-up", "br-left", "bc-up", "bl-up", "bl-right", "tr-down", "tr-left", "tc-down", "tl-down", "tl-right"], |
22 |
positionDirectionTypes: ["br-up", "br-left", "bc-up", "bl-up", "bl-right", "tr-down", "tr-left", "tc-down", "tl-down", "tl-right"], |
|
36 |
style.left = ((view.w - nodeSize.w) / 2 - view.l - 5)+"px"; |
38 |
style.left = ((view.w - nodeSize.w) / 2 - view.l - 5)+"px"; |
37 |
style.height = (nodeSize.h+5)+"px"; |
39 |
style.height = (nodeSize.h+5)+"px"; |
38 |
style.width = (nodeSize.w+10)+"px"; |
40 |
style.width = (nodeSize.w+10)+"px"; |
|
|
41 |
} else if ( pd.match( /^[tb]r-/ ) ) { |
42 |
style.left = ( view.w - nodeSize.w - 20 )+"px"; |
43 |
style.top = "34px"; |
44 |
style.height = (nodeSize.h+5)+"px"; |
45 |
style.width = (nodeSize.w+10)+"px"; |
39 |
} |
46 |
} |
40 |
|
47 |
|
41 |
// redo the clipping |
48 |
// redo the clipping |