The Wayback Machine - https://web.archive.org/web/20170704204631/http://marvel.com/comics/issue/53791/star_wars_1977_1
'); }*/ /********** VARIANTS POPUP SCRIPT **********/ var variantsWidget = (function(properties){ var _defaults = { limit : 8, pace : 0, placeHolder : '#jsVariants', imgs : [] } var _properties = $.extend(_defaults, properties); var _globals = { imgs : _properties['imgs'],//array of images which to print and paginate through variantCl : 'variant-item', curImg : 0 } /*****METHODS*****/ function _init(){ _insertItems('next'); }; function _btnTpl(direction){ try { if( !(direction === "next" || direction === "prev") ) throw new WrongDirectionException; return '
'+(direction === "next" ? 'View More' : 'Previous')+'
'; }catch(e){ if(e instanceof WrongDirectionException) console.error('Direction can only be \'next\' or \'prev\'. You passed '+direction); } }; function _insertItems(direction){ var tpl='', imgs = _globals.imgs, imgsLn = _globals.imgs.length, limit, variantCl = _globals.variantCl; if(_globals.curImg >= imgsLn){//Pagination patch to fix _globals.curImg = (_globals.curImg - ((_globals.curImg % _properties.limit))+_properties.limit); } if(direction === "prev")_globals.curImg -= (_properties.limit*2); //RENDER HTML TEMPLATE FOR BUTTONS AND IMAGE TAGS if(_globals.curImg > (0+_properties.limit-1)) tpl += _btnTpl('prev'); (function(imgsToPrint){ var counter = 0, imgsToPrintLn = imgsToPrint.length; while(counter'+imgs[_globals.curImg]+''; _globals.curImg++; counter++; } })(imgs.slice(_globals.curImg, (_globals.curImg+_properties.limit)));//Process only relevant subarray if( _globals.curImg < imgsLn ) tpl += _btnTpl('next'); //Output HTML template $(_properties.placeHolder).html(tpl); }; /****BINDS****/ $(document).on('click','div[data-variant-showset]',function(){ var direction = this.getAttribute('data-variant-showset'); _insertItems(direction); }); _init(); })({imgs : IMGS}); })();
Star Wars (1977) #1

Star Wars (1977) #1

More Details
Extended credits and info
  • Rating: All Ages
  • Format: Comic
  • Price: Free
Cover Information
Stories

More Star Wars See all

Recommended Series