Lines Matching refs:btn
647 var btn = document.createElement('div');
648 btn.style.position = 'absolute';
649 btn.style.border = '1px solid gray';
650 btn.style.textAlign = 'center';
651 btn.style.cursor = 'hand';
652 btn.style.width = bw + 'px';
653 btn.style.height = bh + 'px';
654 btn.style.left = left + 'px';
655 btn.style.top = '0px';
656 btn.style.backgroundColor = 'white';
657 mxUtils.setOpacity(btn, 50);
674 btn.appendChild(table);
676 mxEvent.addListener(btn, (mxClient.IS_POINTER) ? 'pointerdown' : 'mousedown', function(evt)
681 mxEvent.addListener(btn, (mxClient.IS_POINTER) ? 'pointerup' : 'mouseup', function(evt)
689 mxEvent.addListener(btn, 'touchstart', function(evt)
694 mxEvent.addListener(btn, 'touchend', function(evt)
702 buttons.appendChild(btn);
704 return btn;