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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

Display NewsHolder on HomePage in different tabs


Go to End


1010 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