Button and CSS to show hide a mobile menu.

49 views
Skip to first unread message

Jan

unread,
Dec 23, 2016, 8:02:24 AM12/23/16
to tiddlyWiki
HejHo.
I am preparing a Theme for hybrid Mobile/Desktop use.
After Riz has helped me with basic ideas and style most of the features
are working quite well now.
-A DrillDownMenu to save space,
-Menus to access more, tool in a mobile-friendly way
-and a feature to rearrange tiddlers.

You can test it at http://drilldown.tiddlyspot.com
Now I would need a button and mechanism to show and hide the menu based
on screendimension and input.
What is best practise in TW do a button to hide and show a menu. By
removing the PageTemplate tag?
How can I achieve that it is open by default?

Another Question I would like to transclude the searchresults into the
menu below the searchField (not as a popup). Somehow they do not show up.
How do I transclude them?

Thanks Jan

Thomas Elmiger

unread,
Dec 23, 2016, 8:57:22 AM12/23/16
to tiddl...@googlegroups.com
Hi Jan

My way to approach menu (button?) visibility would be CSS (media queries) as most responsive CSS frameworks do.

Have you thought of this possibility – or am I missing a point?

Your demo seemed to cover the tiny screen of my iPhone SE completely the last time I saw it – I found no way to hide the menu?!

Good luck! Thomas

Jan Johannpeter

unread,
Dec 23, 2016, 9:26:36 AM12/23/16
to TiddlyWiki
Hi Thomas,
That's the problem, there's no button yet. How does the button for the sidebar-mechanism work for example...

Jan
Thomas Elmiger <thomas....@gmail.com> schrieb am Fr. 23. Dez. 2016 um 14:57:
Hi Jan

My way to approach menu (button?) visibility would be CSS (media querries) as most responsive css franeworks do.


Have you thought of this possibility – or am I missing a point?

Your demo seemed to cover the tiny screen of my iPhone SE completely the last time I saw it – I found no way to hide the menu?!

Good luck! Thomas

--
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+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/42fc306f-534e-41ab-84d9-ce9b24825ad2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages