Hi Matabele
Very very nice :-)
Thanks a lot!!
I think I will get used to this kind of behaviour (the top-left buttons
showing up when the sidebar menu is hidden!!)
To me it seems to be a very logic and natural behaviour...
Thanks again - for looking into this and showing me/us how to do this kind
of thing.
Cheers Måns Mårtensson
Den søndag den 11. maj 2014 15.52.10 UTC+2 skrev Matabele:
>
> Hi Mans
>
> Sorry -- that may be a bit confusing. In step 5 -- don't add that code --
> overwrite all of the code in $:/core/ui/TopBar/menu.
>
> The code is an edited version of the original code -- we don't need two
> hamburger buttons.
>
> regards
>
> On Sunday, May 11, 2014 3:33:25 PM UTC+2, Matabele wrote:
>>
>> 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
>>
>>
>>
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.