Skip to content
Adam Gincel edited this page Aug 3, 2016 · 1 revision

Back to the Wiki

--Adding advanced content--

Adding new tabs is fairly easy. /data/page.js

Add a new entry in getNavbarMembers() with the name of the tab you want (sorry about that link: '#' thing, it may be optional but I'm leaving it)

then go to getPageContents() and add another entry there. Using the template in jumbotron.html, the title will be an h1 at the top, and each string in content will be a paragraph. After that, you have to define each tab in the div that gets shown when valueIs(x).

I don't recommend it, but if you uncomment the return on getDropdownMembers() you'll see what that does. I tried my best to make it work seamlessly, I doubt it will. A More v tab appears, with dropdown options. If you treat their indices as coming right after the normal pageContents, all should work. I didn't test it, sorry.

Clone this wiki locally