Lines Matching refs:btn
3207 var btn = document.createElement('img');
3208 btn.setAttribute('src', Editor.crossImage);
3209 btn.setAttribute('title', mxResources.get('close'));
3210 btn.setAttribute('valign', 'absmiddle');
3211 btn.setAttribute('border', '0');
3212 btn.style.position = 'relative';
3213 btn.style.top = '2px';
3214 btn.style.width = '14px';
3215 btn.style.cursor = 'pointer';
3216 btn.style.margin = '0 3px';
3220 btn.style.filter = 'invert(100%)';
3227 buttons.appendChild(btn);
3229 mxEvent.addListener(btn, 'click', mxUtils.bind(this, function(evt)
3276 spinBtn = btn.cloneNode(false);
3296 saveBtn = btn.cloneNode(false);
3605 btn = btn.cloneNode(false);
3606 btn.setAttribute('src', Editor.editImage);
3607 btn.setAttribute('title', mxResources.get('edit'));
3608 buttons.insertBefore(btn, buttons.firstChild);
3610 mxEvent.addListener(btn, 'click', editLibrary);
3619 var btn2 = btn.cloneNode(false);
3911 var btn = mxResources.get('ok');
3919 btn = mxResources.get('cancel');
4110 this.showError(title, msg, btn, fn, retry, null, null, btn3, fn3,