Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Hints to achieve this


Reply


3 Posts   410 Views

Avatar
wilsonStaff

Community Member, 142 Posts

20 February 2012 at 12:25pm

Hi to all, i am asking advices on how to achieve this. See image.

I am thinking about a jQuery list menu.

PROBLEM --> How to control that <ul><li> from the CMS?? Image Gallery module?

Thanks!

Avatar
MarcusDalgren

Community Member, 288 Posts

20 February 2012 at 1:00pm

I'd simply add an image field called "MenuImage" or something to the Page class and then just show that when outputting the menu in the template. What js you actually use to make the slider is secondary.

Avatar
wilsonStaff

Community Member, 142 Posts

28 February 2012 at 2:49pm

Finally got it to work.

I created a simple <ul><li> sliding menu using jQuery as a tween engine.

I then populated appropriate <li> with <% control Page(xxx) %>$Image, $NewsTitle<% end_control %>

Works like a charm.

Thanks!