Difference between revisions of "TestPage"

From WikiCorporates
Jump to navigation Jump to search
m (Replaced content with "__NOTOC__ * 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 th...")
m
Line 2: Line 2:
 
* This is a blank page used for testing stuff. It should be empty, unless there is a test in progress.
 
* 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.
 
* Bugs: expand/collapse is really slow in comparison to the original, but is prolly 'cos I'm using pure css, not JQuery.
 +
<!--
 +
https://www.w3schools.com/howto/howto_js_vertical_tabs.asp
 +
-->
 +
<div class="tab">
 +
  <button class="tablinks" onclick="openCity(event, 'London')">London</button>
 +
  <button class="tablinks" onclick="openCity(event, 'Paris')">Paris</button>
 +
  <button class="tablinks" onclick="openCity(event, 'Tokyo')">Tokyo</button>
 +
</div>
 +
 +
<div id="London" class="tabcontent">
 +
  <h3>London</h3>
 +
  <p>London is the capital city of England.</p>
 +
</div>
 +
 +
<div id="Paris" class="tabcontent">
 +
  <h3>Paris</h3>
 +
  <p>Paris is the capital of France.</p>
 +
</div>
 +
 +
<div id="Tokyo" class="tabcontent">
 +
  <h3>Tokyo</h3>
 +
  <p>Tokyo is the capital of Japan.</p>
 +
</div>
  
  
 
[[Category:WikiPolitiks:Testing]]
 
[[Category:WikiPolitiks:Testing]]

Revision as of 01:15, 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.
 <button class="tablinks" onclick="openCity(event, 'London')">London</button>
 <button class="tablinks" onclick="openCity(event, 'Paris')">Paris</button>
 <button class="tablinks" onclick="openCity(event, 'Tokyo')">Tokyo</button>

London

London is the capital city of England.

Paris

Paris is the capital of France.

Tokyo

Tokyo is the capital of Japan.