does tabs scomp still work?

25 views
Skip to first unread message

Michael Connors

unread,
Nov 15, 2010, 5:48:08 AM11/15/10
to zotoni...@googlegroups.com
Hi,

I am trying to use the tabs scomp to add a tabbed widget to a page.

The default Zotonic jquery and jquery-ui are being included, but I am still not getting a working tabbed widget. I am just getting links and 3 list items. Is it possible there is a stylesheet somewhere that I also need to include?


Michael 

--
Michael Connors
Alencon,
France


Marc Worrell

unread,
Nov 15, 2010, 6:00:48 AM11/15/10
to zotoni...@googlegroups.com
Yes, you need to add style for all the .ui-... styles of jQuery UI.

We don't have any defaults styles (yet) in zotonic, though there are some styles in the admin for .dialog, so you can also check there for an example.

Check the jquery ui documentation for the styles when you want to know the itty nitty details :-)

- Marc

Michael Connors

unread,
Nov 15, 2010, 6:27:41 AM11/15/10
to zotoni...@googlegroups.com
Thanks,

I got this working.

This is the important bit of magic I needed:

.ui-tabs-hide {
    display: none;
}

It would be nice if this got included by default. As then the tabs would work out of the box.
Reply all
Reply to author
Forward
0 new messages