Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

theme{"label":"solarized_dark","value":"solarized_dark"}
contentByMode{"html":"## Macro title: toc-right\r\n## Macro has a body: N\r\n##\r\n## Developed by: Benjamin DUPUIS\r\n## Date created: 05/08/2011\r\n## Date Updated: 30/11/2016\r\n## Installed by: Benjamin DUPUIS\r\n## @param Maxlvl:title=MaxLvl|type=int|required=true|desc=Max Level|default=5\r\n## @param Float:title=Float|type=boolean|required=true|desc=Float/Fixed Position|default=true\r\n## @param Hidable:title=Hidable|type=boolean|required=true|desc=Hidable (Float menu only)|default=true\r\n\r\n#set($globalHelper=$action.getHelper())\r\n#if ($content.id == $globalHelper.getPage().id)\r\n #if (!$paramMaxlvl)\r\n #set ($paramMaxlvl=5)\r\n #end\r\n\r\n #set($mytoc=$globalHelper.renderConfluenceMacro(\"{toc:maxLevel=$paramMaxlvl}\"))\r\n\r\n #if ($paramFloat == true)\r\n #if ($paramHidable == true)\r\n <div id=\"show_customtoc\" style=\"right:15px; top:100px; position:fixed; z-index:99; margin-left:8px; padding:10px; background:#ae0015; border-radius: 3px; writing-mode: vertical-lr; display: none\">\r\n <a style=\"color:white; cursor:pointer\" onclick=\"jQuery('#customtoc').toggle(true); jQuery('#show_customtoc').toggle(false)\">Show Table Of Contents</a>\r\n </div>\r\n #end\r\n <div id=\"customtoc\" style=\"right:25px; top:100px; position:fixed; max-height: 80%; z-index:99; overflow: auto; margin-left:8px;background:white\">\r\n #else\r\n #if ($paramHidable == true)\r\n <div id=\"show_customtoc\" style=\"float:right; margin-left:8px; padding:10px; background:#ae0015; border-radius: 3px; writing-mode: vertical-lr; display: none\">\r\n <a style=\"color:white; cursor:pointer\" onclick=\"jQuery('#customtoc').toggle(true); jQuery('#show_customtoc').toggle(false)\">Show Table Of Contents</a>\r\n </div>\r\n #end\r\n <div id=\"customtoc\" style=\"float:right; margin-left:8px;background:white\">\r\n #end\r\n <table>\r\n <thead>\r\n <tr>\r\n <th>Table of Contents\r\n #if ($paramHidable == true)\r\n <a style=\"margin: -5px; padding: 0; float: right; font-weight:bold; font-size:2em; line-height: 1em\" onclick=\"jQuery('#customtoc').toggle(false); jQuery('#show_customtoc').toggle(true)\">×</a>\r\n #end\r\n </th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <tr>\r\n <td>\r\n $mytoc\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </div>\r\n\r\n #if ($paramHidable == true)\r\n <script type=\"text/javascript\">\r\n $(document).ready(function(){\r\n $(\"#customtoc a\").click(function(event) {\r\n jQuery('#customtoc').toggle(false);\r\n jQuery('#show_customtoc').toggle(true);\r\n });\r\n });\r\n #end\r\n</script>\r\n#end","javascript":"","css":""}

...