Lines Matching refs:btn
243 var btn = document.createElement('img');
244 btn.id = 'gallery__closeButton';
245 with (btn.style) {
252 btn.src = option.closeimg;
253 self._set_cursor(btn);
254 addEvent(btn,'click',function(){ self._close(); });
255 box.appendChild(btn);
259 var btn = document.createElement('img');
260 btn.id = 'gallery__nextButton';
261 with (btn.style) {
268 btn.src = option.nextimg;
269 self._set_cursor(btn);
270 addEvent(btn,'click',function(){ self._move(+1) });
271 box.appendChild(btn);
275 var btn = document.createElement('img');
276 btn.id = 'gallery__prevButton';
277 with (btn.style) {
284 btn.src = option.previmg;
285 self._set_cursor(btn);
286 addEvent(btn,'click',function(){ self._move(-1) });
287 box.appendChild(btn);