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.

Themes

Discuss SilverStripe Themes.

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

Foundation Framework , tabs and silverstripe


Reply

2 Posts   1042 Views

Avatar
nmshah

4 October 2012 at 1:00am Community Member, 21 Posts

I have just designed a theme for silverstripe 3 using zurb foundation framework. Now when I try to create tabs using the foundation docs from here, http://foundation.zurb.com/docs/tabs.php , something seems to go wrong.

I am able to create the tabs but when I click on tab 2 or tab 3, it still displays the content for tab 1.

I am using the same code as in the docs ans if I use the code on a normal html page all seems to work... when I use it in silverstripe it doesn't.

Kindly let me know what can I do to correct this...

Avatar
jbridson

25 October 2012 at 1:55pm Community Member, 7 Posts

Hi there,

How are you adding the foundation tab js?
Are you able to post some code so that I can tell exactly how you are adding the tab functionality?

Cheers.