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