aboutsummaryrefslogtreecommitdiff
path: root/web/javascript/menu_tpl.js
blob: 16483b8759378a48d224483981b9d50ab70c9ddc (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/*
  --- menu level scope settins structure --- 
  note that this structure has changed its format since previous version.
  Now this structure has the same layout as Tigra Menu GOLD.
  Format description can be found in product documentation.
*/
var MENU_POS = [
{
	// item sizes
	'height': 26,
	'width': [60,150,80,90,70,70],
	'subwidth': [160,180,185,190,170,190,100,100],
	//'width': [150,200,150,100,90],
	// menu block offset from the origin:
	//	for root level origin is upper left corner of the page
	//	for other levels origin is upper left corner of parent item
	'block_top': 117,
	'block_left': 26,
	// offsets between items of the same level
	'top': 0,
	'left': [null,60,150,80,90,70,70],
	//'left': [100,150,200,150,100,90],
	// time in milliseconds before menu is hidden after cursor has gone out
	// of any items
	'hide_delay': 200,
	'expd_delay': 200,
	'css' : {
		'outer': ['m0l0oout', 'm0l0oover'],
		'inner': ['m0l0iout', 'm0l0iover']
	}
},
{
	'height': 29,
	'width': 200,
	'subwidth': [],
	'block_top': 15,
	'block_left': 5,
	'top': 28,
	'left': 0,
	'css': {
		'outer' : ['m0l1oout', 'm0l1oover'],
		'inner' : ['m0l1iout', 'm0l1iover']
	}
},
{
	'height': 29,
	'width': 150,
	'subwidth': [],
	'block_top': 15,
	'block_left': 175,
	'css': {
		'outer': ['m0l2oout', 'm0l2oover'],
		'inner': ['m0l2iout', 'm0l2iover']
	}
},
{
	'height': 29,
	'width': 150,
	'subwidth': [],
	'block_top': 15,
	'block_left': 145,
	'css': {
		'outer': ['m0l3oout', 'm0l3oover'],
		'inner': ['m0l3iout', 'm0l3iover']
	}
},
{
	'height': 29,
	'width': 350,
	'subwidth': [],
	'block_top': 15,
	'block_left': 145,
	'css': {
		'outer': ['m0l4oout', 'm0l4oover'],
		'inner': ['m0l4iout', 'm0l4iover']
	}
},
{
	'height': 29,
	'width': 350,
	'subwidth': [],
	'block_top': 15,
	'block_left': 175,
	'css': {
		'outer': ['m0l5oout', 'm0l5oover'],
		'inner': ['m0l5iout', 'm0l5iover']
	}
}
]