Lines Matching refs:btn
2411 var btn = document.createElement('img');
2412 btn.setAttribute('draggable', 'false');
2413 btn.setAttribute('align', 'top');
2414 btn.setAttribute('border', '0');
2415 btn.style.width = '16px';
2416 btn.style.padding = '0px 6px 0 0';
2417 btn.style.marginTop = '2px';
2418 btn.setAttribute('title', mxResources.get('lockUnlock'));
2424 btn.setAttribute('src', Editor.lockedImage);
2425 mxUtils.setOpacity(btn, 75);
2429 btn.setAttribute('src', Editor.unlockedImage);
2430 mxUtils.setOpacity(btn, 25);
2435 btn.style.filter = 'invert(100%)';
2440 btn.style.cursor = 'pointer';
2443 mxEvent.addListener(btn, 'click', function(evt)
2469 left.appendChild(btn);