<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>


<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
Brilliant, Dave.<br>Will try this today. Thank you...<br><br>Your work on choice was pretty stunning. You may indeed deserve an iphone. At some point.<br>Best from Tokyo<br>lito<br><br><br>&gt; Date: Thu, 12 Aug 2010 10:34:03 -0400<br>&gt; CC: pmwiki-users@pmichaud.com<br>&gt; Subject: Re: [pmwiki-users] Hide side bar in "choice" skin<br>&gt; <br>&gt; <br>&gt; On 8/12/2010 3:31 AM, Litows wrote:<br>&gt; &gt; I thought this may be interesting to a few.<br>&gt; &gt; Has anyone tried to hide the side bar when viewing a choice skin on an<br>&gt; &gt; iphone.<br>&gt; Nope -- unless you want to send me an iphone.<br>&gt; <br>&gt; <br>&gt; &gt; I have started looking into bits to do this.<br>&gt; &gt; I am thinking I could combine bits from the iPMWiki Skin with choice.<br>&gt; &gt;<br>&gt; &gt; Any leads on options to hide the sidebar in choice. I have not found a<br>&gt; &gt; good solution so far.<br>&gt; Depends on what you mean by 'hide'. You can remove the sidebar text, and <br>&gt; the search bar:<br>&gt;    SetTmplDisplay('PageRightFmt',0);<br>&gt;    SetTmplDisplay('PageSearchFmt',0);<br>&gt; <br>&gt; <br>&gt; However, the action bar also lives on the sidebar area in Choice, so, <br>&gt; you'd need to remove/relocate that as well. Relocating depends on where <br>&gt; you want it to go, so that's up to you; remove it with:<br>&gt;    SetTmplDisplay('PageActionFmt',0);<br>&gt; <br>&gt; <br>&gt; Now you're only left with the border above the sidebar area, and the <br>&gt; actual space taken by the sidebar area. You can hide the border:<br>&gt;    $HTMLStylesFmt['choice'] .= '#right { display: none;} ';<br>&gt; <br>&gt; <br>&gt; And, finally you remove the space taken by the sidebar, by expanding the <br>&gt; content area:<br>&gt;    $HTMLStylesFmt['choice'] .= '#content { width: 100%;} ';<br>&gt; <br>&gt; <br>&gt;   ~ ~ Dave<br>                                               </body>
</html>