Hi Mans

OK - to get the general idea:

1. Create a new tiddler
2. Name this tiddler $:/_top-left-buttons
3. Put this code into it
<$list 
filter="[all[shadows]tag[$:/tags/PageControls]]"><$transclude/></$list>

4. Open $:/core/ui/TopBar/menu
5. Put this code into it
<$fieldmangler tiddler="$:/_top-left-buttons">
<$reveal state="$:/state/sidebar" type="nomatch" text="no">
<$button message="tw-add-tag" param="$:/tags/TopLeftBar" 
set="$:/state/sidebar" setTo="no" 
class="btn-invisible">{{$:/core/images/menu-button}}</$button>
</$reveal>
<$reveal state="$:/state/sidebar" type="match" text="no">
<$button message="tw-remove-tag" param="$:/tags/TopLeftBar" 
set="$:/state/sidebar" setTo="yes" 
class="btn-invisible">{{$:/core/images/menu-button}}</$button>
</$reveal>
</$fieldmangler>

regards

On Sunday, May 11, 2014 11:46:07 AM UTC+2, Måns wrote:
>
> Hi Matabele
>
>
> When you say "toggle the topmenu so it gets hidden when the sidemenu is 
>> open", please explain exactly when the topmenu should be open and when 
>> hidden. I don't have an Android to play with, but I seem to remember that 
>> TW5 automatically goes into a vertical layout with the sidemenu at the top 
>> and the story river below. Do you wish to hide the topmenu in this layout?
>>
>
>
> Exactly.. :-) There would be two different situations where I would prefer 
> that the topmenu was hidden:
> 1) When the sidebar is visible
> 2) When the vertical layout is active (also when the sidemenu is hidden)
>
> I'm not quite sure about number two - it's just a matter of screen estate 
> - my topmenu content should replace the sidebar menu functions on a laptop 
> - however I don't want it to take over/hover the content of the tiddler 
> which is at the top of the story river on a mobile device..
>
>  
>
>>
>> I'm not sure how this mechanism works and it'll be a little difficult to 
>> experiment without being able to view on an Android. Anyone know how the 
>> Android layout could be simulated on a laptop?
>>
>>
>
> I usually narrow the browser window untill the vertical layout takes over 
> - and it is pretty much what I'll get on my Android phone and tablet.
>
>  
>
>> As a matter of interest, what happens with my leftmenu when a TW is 
>> opened on an Android?
>>
>
>
> When I open Wills.tiddlyspot.com I can only see the top part of your left 
> menu (on my phone and tablet) and I can't scroll down with it. The right 
> menu goes into the top, however the left menu takes up space on the left 
> hand side of the story river.
>   
>
>  
>>
> Had a restless night -- several new ideas for gTaB and gTiD to work on 
>> today.
>>
>
>
> Your pioneering work with TW5 is very much appreciated. 
> I'm sure more twc-users and newcomers will try out tw5 because of your 
> excellent work!!
>
> Good job!
>
> Cheers Måns Mårtensson
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to