Changeset 274 for binary-improvements/webserver/js
- Timestamp:
- May 12, 2016, 4:14:55 AM (9 years ago)
- Location:
- binary-improvements
- Files:
- 
      - 3 edited
 
 - 
          
  . (modified) (1 prop)
- 
          
  webserver/js/index.js (modified) (1 diff)
- 
          
  webserver/js/tabs.js (modified) (2 diffs)
 
Legend:
- Unmodified
- Added
- Removed
- 
      binary-improvements- 
Property       svn:ignore
 set to       
 bin
 
 
- 
Property       svn:ignore
 set to       
- 
      binary-improvements/webserver/js/index.jsr250 r274 2 2 var tabs = $("#adminmenu").tabbedContent ({ 3 3 contentdiv: $("#admincontent"), 4 hidebuttondiv: $(".adminnavbarhidebutton"), 5 menubardiv: $(".adminnavbar"), 4 6 }); 5 7 SetupInventoryDialog (); 
- 
      binary-improvements/webserver/js/tabs.jsr250 r274 2 2 options: { 3 3 contentdiv: null, 4 hidebuttondiv: null, 5 menubardiv: null, 6 hideOnStart: false, 7 hideClass: "hidenav", 4 8 currentTabClass: "current_tab", 5 9 menuButtonClass: "menu_button", … … 15 19 console.log ("contentdiv has to be set!"); 16 20 } 21 22 if (options.hidebuttondiv == null) { 23 console.log ("hidebuttondiv has to be set!"); 24 } 25 26 if (options.menubardiv == null) { 27 console.log ("menubardiv has to be set!"); 28 } 29 30 options.hidebuttondiv.on ('click.action', function (event) { 31 if (options.hidebuttondiv.hasClass (options.hideClass)) { 32 $("*").removeClass (options.hideClass); 33 } else { 34 options.hidebuttondiv.addClass (options.hideClass); 35 options.contentdiv.addClass (options.hideClass); 36 options.menubardiv.addClass (options.hideClass); 37 } 38 }); 17 39 18 40 this.element.find ("ul > li").addClass (options.menuButtonClass); 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  ![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
