3214 Posts in 848 Topics by 810 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 616 Views |
-
non Standard menus...

12 February 2010 at 8:12am
New to SilverStripe, and right off the bat I want to be wierd.
I dont want a menu that is horizontal or vertical. I want an array. Basically a rectangle with 9 boxes (or more) in it in a 3X3 or 3X4 grid. none are submenus, all are the main menu.
Is this possible in SilverStripe? can I control arrangement of the menu "buttons"?
-
Re: non Standard menus...

12 February 2010 at 11:56am
Hi and welcome
That's not a problem and can easily be achieved by using CSS only.
You could output the menu as a unordered list (using the Menu(1) control as usual). By setting the ul and li elements to a fixed with and by using float you can create a "grid".
Example: li have float: left and width: 100px, ul has width: 300px. To make it look good, the li elements should also get a fixed height.
| 616 Views | ||
|
Page:
1
|
Go to Top |


