You are not logged in.

Announcement

Forum database was corrupt and an old backup was restored as temporary replacement. Registrations closed until the database is recovered. Please ask questions using the Contact form

#1 05-08-2014 19:31:15

rsalomone
Contributors
Registered: 22-11-2013
Posts: 101
Website

Sidebar orientation

Is there a way to set the sidebar orientation dynamically (on resize or for mobile devices)?

Or, is there a way to make the "MENU" on mobile devices change to the "sidebar items" when there is a sidebar on the page?

Offline

#2 07-08-2014 14:01:31

Thomas
Administrator
Registered: 10-03-2013
Posts: 897

Re: Sidebar orientation

For mobiles, the sidebar is always put on top of the page. When resizing the desktop site to something smaller, the sidebar is appended to the bottom.

You could create a button that hides and shows the sidebar. That's just some basic jQuery (toggle display block/hidden)

Offline

#3 08-08-2014 15:00:35

rsalomone
Contributors
Registered: 22-11-2013
Posts: 101
Website

Re: Sidebar orientation

Ideally, I would like to keep the sidebar at the bottom but change the orientation to horizontal when at the bottom and vertical when at the side.

This would mean exchanging the x and y coordinates.

It would be great to have a  SideBarOrientation(name, orientation, placement).

Last edited by rsalomone (08-08-2014 15:14:08)

Offline

Board footer

Powered by FluxBB