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

Display NewsHolder on HomePage in different tabs


Reply


750 Views

Avatar
neilos

Community Member, 19 Posts

21 May 2010 at 10:48pm

Hi all,

This is going to be hard to explain;
I have a slight issue. I am trying to display the news articles on the home page. But what I want is for the news articles to be displayed in different tabs.

On the home page, there is a div displaying all news articles. can I split the div into three tabs and display the 3 latest news articles in different tabs? ATM the articles are all displayed in one tab.
What I want is for the tabs to have the article title displayed and when clicked will change the content of the div so only one news article will be displayed at any one time.

I saw inspiration on the barnados(.)org(.)uk home page.

Can anyone suggest anything to help.
Thanks