Template:W3toc: Difference between revisions

From Indian River Lagoon Project
mNo edit summary
mNo edit summary
Line 8: Line 8:
<onlyinclude>
<onlyinclude>
<div style="width: 480px; float:left;"><!-- Container div- set float and width -->
<div style="width: 480px; float:left;"><!-- Container div- set float and width -->
<div class="w3-dropdown-hover" style="width: 480px; z-index: 100; position: absolute; background: ; border: 0px solid #777;"><!-- set width, position absolute or fixed-->
<div class="w3-dropdown-hover" style="z-index: 100; width:480px; position: absolute; background: ; border: 0px solid #777"><!-- set width, position absolute/fixed. -->
   <!-- TEXT BUTTON HERE -->
   <!-- TEXT BUTTON HERE Set Text align; font attributes, add border & background color for a button. -->
   <div style="width: 100%; text-align: left; font-size:90%; font-weight:normal; color:#777; padding:3px;"><u>Table of Contents</u></div>
   <div style="width:100%; padding:3px; text-align: left; font-size:90%; font-weight:normal; color:#777; border: 0px solid #777"><u>Table of Contents</u></div>
  <div class="w3-dropdown-content"><!--w3-bar-block w3-border -->
  <div class="w3-dropdown-content"><!--w3-bar-block w3-border -->
  <!--- Side box Module Contents -->
  <!--- Side box Module Contents -->
Line 17: Line 17:
  | class =  
  | class =  
  | style = width:480px; border: 1px solid #777; <!-- Sidebox Style. Set width -->
  | style = width:480px; border: 1px solid #777; <!-- Sidebox Style. Set width -->
  | abovestyle = text-align:center;font-size:110%; padding:2px; <!-- Sidebox Header Style -->>
  | abovestyle = text-align:center; font-size:110%; font-weight: bold; padding:3px; <!-- Sidebox Header Style -->>
  | above = {{PAGENAME}}
  | above = {{PAGENAME}}
  | image = <!-- {{smaller|([[Image:rss.png|16px]])}} -->
  | image = <!-- {{smaller|([[Image:rss.png|16px]])}} -->
  | textstyle = font-size:90%; padding: 2px; <!-- adjust toc font size -->
  | textstyle = font-size:100%; padding: 3px; <!-- adjust toc font size -->
  | text =  __TOC__
  | text =  __TOC__
  | imageright = <!-- {{longitem|font-size:90%|('''''image<br/>right'''''{{hair space}})}} -->
  | imageright = <!-- {{longitem|font-size:90%|('''''image<br/>right'''''{{hair space}})}} -->

Revision as of 11:22, October 19, 2019

Template W3toc displays the toc in a floating hoverbox.


Table of Contents