Difference between revisions of "TestPage"
Jump to navigation
Jump to search
m |
m |
||
| Line 4: | Line 4: | ||
<!-- | <!-- | ||
https://www.w3schools.com/howto/howto_js_vertical_tabs.asp | https://www.w3schools.com/howto/howto_js_vertical_tabs.asp | ||
| + | https://bobcravens.com/demos/vertical_tabs/script.html | ||
| + | .tab button { | ||
| + | display: block; | ||
| + | background-color: inherit; | ||
| + | color: black; | ||
| + | padding: 22px 16px; | ||
| + | width: 100%; | ||
| + | border: none; | ||
| + | outline: none; | ||
| + | text-align: left; | ||
| + | cursor: pointer; | ||
| + | transition: 0.3s; | ||
--> | --> | ||
| − | <div | + | <div id="content"> |
| − | + | <div id="tab-container"> | |
| − | + | <ul> | |
| − | + | <li>[http://bobcravens.com/demos/vertical_tabs/index.html Introduction]</li> | |
| + | <li>[http://bobcravens.com/demos/vertical_tabs/html.html Html]</li> | ||
| + | <li>[http://bobcravens.com/demos/vertical_tabs/style.html CSS]</li> | ||
| + | <li>[http://bobcravens.com/demos/vertical_tabs/script.html JavaScript]</li> | ||
| + | </ul> | ||
| + | </div> | ||
| + | <div id="main-container"> | ||
| + | <h1>Put your content here...</h1> | ||
| + | </div> | ||
</div> | </div> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
[[Category:WikiPolitiks:Testing]] | [[Category:WikiPolitiks:Testing]] | ||
Revision as of 01:37, 2 April 2019
- This is a blank page used for testing stuff. It should be empty, unless there is a test in progress.
- Bugs: expand/collapse is really slow in comparison to the original, but is prolly 'cos I'm using pure css, not JQuery.