Module:Tabs: Difference between revisions

Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
remove old classes
(selector has to be a number because the js uses an array to store the selector values)
(remove old classes)
Line 19: Line 19:
   local container = mw.html.create( 'div' )
   local container = mw.html.create( 'div' )
     :attr( 'id', self.id )
     :attr( 'id', self.id )
     :addClass( 'zdw-tabcontainer zdw-box tabtarget box tabs2d' )
     :addClass( 'zdw-tabcontainer zdw-box' )
   if self.args.width then container:css( 'width', self.args.width .. 'px' ) end
   if self.args.width then container:css( 'width', self.args.width .. 'px' ) end
   if self.args.height then container:css( 'height', self.args.height .. 'px' ) end
   if self.args.height then container:css( 'height', self.args.height .. 'px' ) end

Navigation menu