menu_tpl.js

来自「js实现多种浮动菜单,级联菜单,可拖动菜单」· JavaScript 代码 · 共 39 行

JS
39
字号
/*  --- 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	'width': 160,	'height': 20,	// 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': 150,	'block_left': 400,	// offsets between items of the same level	'top': 21,	'left': 10,	// time in milliseconds before menu is hidden after cursor has gone out	// of any items	'hide_delay': 200,	'expd_delay': -200,	'css' : {		'inner' : 'minner',		'outer' : ['moout', 'moover']	}},{	'width': 140,	'block_top': 16,	'block_left': -120},{	'block_left': 130}]

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?