Fix HTML omission by adding shortcode
3 files modified
2 files added
| | |
| | | --- |
| | | Here's some awesome text on an awesome page. That image on the left? It'll randomly change on load between the ones in "sideimages". |
| | | |
| | | <br><a href="javascript:toggleDisplay('drop_stuff');">Stuff that drops down when you click on it:</a> |
| | | <div id="drop_stuff" style="display:none"> |
| | | {{< dropdown/link togglename="dropstuff" linktext="Stuff that drops down when you click on it top:" >}} |
| | | |
| | | {{< dropdown/content togglename="dropstuff" >}} |
| | | This stuff drops down because you clicked on the text. |
| | | </div> |
| | | {{< /dropdown/content >}} |
| | |
| | | --- |
| | | Here's some cool text on a cool page. That image on the left? It'll randomly change on load between the ones in "sideimages". |
| | | |
| | | <br><a href="javascript:toggleDisplay('drop_stuff');">Stuff that drops down when you click on it:</a> |
| | | <div id="drop_stuff" style="display:none"> |
| | | {{< dropdown/link togglename="dropstuff" linktext="Stuff that drops down when you click on it top:" >}} |
| | | |
| | | {{< dropdown/content togglename="dropstuff" >}} |
| | | This stuff drops down because you clicked on the text. |
| | | </div> |
| | | {{< /dropdown/content >}} |
| | |
| | | --- |
| | | Here's some interesting text on an interesting page. That image on the left? It'll randomly change on load between the ones in "sideimages". |
| | | |
| | | <br><a href="javascript:toggleDisplay('drop_stuff');">Stuff that drops down when you click on it:</a> |
| | | <div id="drop_stuff" style="display:none"> |
| | | {{< dropdown/link togglename="dropstuff" linktext="Stuff that drops down when you click on it top:" >}} |
| | | |
| | | {{< dropdown/content togglename="dropstuff" >}} |
| | | This stuff drops down because you clicked on the text. |
| | | </div> |
| | | {{< /dropdown/content >}} |
| New file |
| | |
| | | <div id="{{ .Get "togglename" }}" style="display:none">{{ .Inner }}</div> |
| New file |
| | |
| | | <a href="javascript:toggleDisplay('{{ .Get "togglename" }}');">{{ .Get "linktext" }}</a> |