rem: Ext.get("frameContainer").on("contextmenu",function(e){ timelineContextMenu.showAt(e.getXY()); e.stopEvent(); e.stopPropagation() e.preventDefault });  var drawToolSubmenu = new Ext.menu.Menu({ id: 'drawToolSubmenu', items: [ {text: 'Select',icon: imgURL+'/select.gif',handler: function(){poop()}}, {text: 'Rectangle',icon: imgURL+'/rectangle.gif',handler: function(){poop()} }, {text: 'Round Rectangle',icon: imgURL+'/roundrect.gif',handler:function(){poop()} }, {text: 'Ellipse/Circle',icon: imgURL+'/circle.gif',handler:function(){ removeKeyframe()}}, {text: 'Line',icon: imgURL+'/line.gif',handler: function(){ removeKeyframe()}} ] });  var lineColorMenu = new Ext.menu.Menu({ id: 'lineColorMenu', items: [ new Ext.menu.ColorItem({ selectHandler: function(zcp, selColor){ Colorobj=document.getElementById('linecolor') if(picker){ picker.setColor(selColor) }else{ colorChangeHandler(null,selColor) } } }) ] });   var fillColorMenu = new Ext.menu.Menu({ id: 'fillColorMenu', items: [ new Ext.menu.ColorItem({ selectHandler: function(zcp, selColor){ Colorobj=document.getElementById('fillcolor') if(picker){ picker.setColor(selColor) }else{ colorChangeHandler(null,selColor) } } }) ] });  var canvasContextMenu = new Ext.menu.Menu({ id: 'canvasContextMenu', items: [ {text: 'Next Frame',icon: imgURL+'/control_fastforward_blue.png',handler: poop}, {text: 'Previous Frame',icon: imgURL+'/control_rewind_blue.png',handler: poop}, {text: 'Play',icon: imgURL+'/control_play_blue.png',handler: poop}, {text: 'Delete Shape',icon: imgURL+'/delete.png',handler: poop}, {text: 'Clear Frame',icon: imgURL+'/cancel.png',handler: poop}, {text: 'Undo',icon: imgURL+'/arrow_undo.png',handler: poop}, {text: 'Drawing Tool',icon: imgURL+'/paintbrush.png', menu: drawToolSubmenu}, {text: 'Fill Color',icon: imgURL+'/color_wheel.png', menu: fillColorMenu}, {text: 'Line Color',icon: imgURL+'/color_wheel.png', menu: lineColorMenu} ] });  Ext.get("canvas-div").on("contextmenu",function(e){ canvasContextMenu.showAt(e.getXY()); e.stopEvent(); e.stopPropagation() e.preventDefault }); }); 
context: ajaxanimator.onReady(function(){var timelineContextMenu = new Ext.menu.Menu({    id: 'timelineContextMenu',    items: [		{text: 'To Keyframe',icon: imgURL+'/add.png',handler: function(){toKeyframe()}},		{text: 'Add Layer',icon: imgURL+'/add.png',handler: function(){addLayer()}},		{text: 'Set Last Frame',icon: imgURL+'/control_end_blue.png',handler: function(){setLastFrame()}},		{text: 'Clear Frame',icon: imgURL+'/cancel.png',handler: function(){removeKeyframe()}}    ]});Ext.get("frameContainer").on("contextmenu",function(e){	timelineContextMenu.showAt(e.getXY());	e.stopEvent();	e.stopPropagation()	e.preventDefault});var drawToolSubmenu = new Ext.menu.Menu({    id: 'drawToolSubmenu',    items: [		{text: 'Select',icon: imgURL+'/select.gif',handler: function(){poop()}},		{text: 'Rectangle',icon: imgURL+'/rectangle.gif',handler: function(){poop()} },		{text: 'Round Rectangle',icon: imgURL+'/roundrect.gif',handler:function(){poop()} },		{text: 'Ellipse/Circle',icon: imgURL+'/circle.gif',handler:function(){ removeKeyframe()}},		{text: 'Line',icon: imgURL+'/line.gif',handler: function(){ removeKeyframe()}}    ]});var lineColorMenu = new Ext.menu.Menu({    id: 'lineColorMenu', // the menu's id we use later to assign as submenu    items: [        new Ext.menu.ColorItem({            selectHandler: function(zcp, selColor){			Colorobj=document.getElementById('linecolor')			if(picker){            picker.setColor(selColor)			}else{			colorChangeHandler(null,selColor)			}			}        })    ]});var fillColorMenu = new Ext.menu.Menu({    id: 'fillColorMenu', // the menu's id we use later to assign as submenu    items: [        new Ext.menu.ColorItem({            selectHandler: function(zcp, selColor){			Colorobj=document.getElementById('fillcolor')            if(picker){            picker.setColor(selColor)			}else{			colorChangeHandler(null,selColor)			}            }        })    ]});var canvasContextMenu = new Ext.menu.Menu({    id: 'canvasContextMenu',    items: [		{text: 'Next Frame',icon: imgURL+'/control_fastforward_blue.png',handler: poop},		{text: 'Previous Frame',icon: imgURL+'/control_rewind_blue.png',handler: poop},		{text: 'Play',icon: imgURL+'/control_play_blue.png',handler: poop},		{text: 'Delete Shape',icon: imgURL+'/delete.png',handler: poop},		{text: 'Clear Frame',icon: imgURL+'/cancel.png',handler: poop},		{text: 'Undo',icon: imgURL+'/arrow_undo.png',handler: poop},	    {text: 'Drawing Tool',icon: imgURL+'/paintbrush.png', menu: drawToolSubmenu},	    {text: 'Fill Color',icon: imgURL+'/color_wheel.png', menu: fillColorMenu},		{text: 'Line Color',icon: imgURL+'/color_wheel.png', menu: lineColorMenu}	]});Ext.get("canvas-div").on("contextmenu",function(e){	canvasContextMenu.showAt(e.getXY());	e.stopEvent();	e.stopPropagation()	e.preventDefault});});
meta: 5269	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5269/95d402d89372ff5278b82e0e4cb41ce363115ed5/jsOut.js/buggy/Animator/dev/tmp/jsOut.js