It's simply.
Also knows as: HTML Panel
- replace panel code with this (see below)
- insert your code instead "<!-- your HTML/JS code here -->"
- change panel name
Side panel (Sidebar) - left or right:
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]openside('Panel name');
?>
<!-- your HTML/JS code here -->
<?php
closeside();[/syntaxhighlighter]
Center panel - top or bottom:
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]opentable('Panel name');
?>
<!-- your HTML/JS code here -->
<?php
closetable();[/syntaxhighlighter]
See also:
Collapsible panel
use this code
openside('Panel',true);
[...]
instead of
Quote
openside('Panel');
[...]
Hidden panel by default:
openside('Panel',true,'off');
[...]
- Don't forget: you can't use this with opentable() function!