This works (put it right in your SideBar):

<script label="&loz;" title="fix the sidebar">
var s="fixedSideBarStyle";
if (null==document.getElementById(s))
        setStylesheet("@media screen { #contentWrapper > #sidebar
{ position:fixed !important; } } \n\n",s)
else
        removeStyleSheet(s);
return false;
</script>

--R

On Mar 27, 3:42 am, RA <nameany...@gmail.com> wrote:
> Eric,
>
> could you kindly check if this is me doing something wrong, or the
> CheckboxPlugin reg exp needs fixing.
>
> I can't get this checkbox to work:
>
> [_{}{place.checked?removeStyleSheet("fixedSideBarStyle"):setStylesheet
> ("@media screen { #contentWrapper > #sidebar { position:fixed !
> important; } } \n\n","fixedSideBarStyle")}]
>
> Also, what's the difference between [x{}{javascript}] and [x{}{}
> {javascript}]?
>
> Thanks
>
> --R
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to TiddlyWiki@googlegroups.com
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to