This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Help us improve Python packaging - Donate today!
Project Description

Introduction

collective.tabr allows for easy editing of “tabbed content” using the jQuery Tools Tabs UI tool.

Installation

Add collective.tabr to your buildout. It uses the z3c.autoinclude plugin so you do not need to add it to the zcml= section of your buildout.

Install via the Add-on Products control panel like you would any other Product.

Usage

Tabs are created by selecting “Tab” from the style menu of your editor. This will cause everything after the “Tab” element to be a part of that tab’s pane until another Tab, Default Tab, or “Pane Break” is reached. For example:

<h2 class="content-tab">First Tab</h2>
<p>This is a paragraph inside the first tab</p>

<h2 class="default-content-tab">Second Tab</h2>
<p>This is a paragraph inside the second tab</p>
<p>This tab will be shown first</p>

<hr class="pane-break" />

<p>This paragraph is not inside of a tab</p>

<h2 class="content-tab">First Tab part 2</h2>
<p>This paragraph will be in the first tab of the second grouping of tabs</p>

This will result in two groups of tabs, the first of which will contain two tabs of which the second will be pre-selected when the page loads. The second tab group will only have a single tab in it, and it will be preceded by a paragraph between itself and the end of the previous tab group.

Customizing

CSS is available in the tabr skin layer for customization, as are the example images for the CSS.

Dependencies

This package depends on the jQuery Tools library which is provided by plone.app.jquerytools. It does not depend on a specific version of either jQuery Tools or jQuery, but you should check to make sure that another package is not including multiple versions of any library in use, though this is not common.

Credits

Thanks to Mikko Ohtamaa for collective.kuputabs which was my inspiration for this. Most of the code was his to begin with, and I ripped it appart and made many changes.

Also thanks to Douglas Bowman for his CSS Sliding Doors technique for the tab styling.

Changelog

1.2 - 2010-07-02

  • Added working “insert pane break” button to Kupu. [dunlapm]
  • Improve styling for the pane break in all browsers. [dunlapm]

1.1 - 2010-06-30

  • Removed locales directory since we don’t have any translations [dunlapm]

1.0 - 2010-06-25

  • Initial release
Release History

Release History

1.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
collective.tabr-1.2.tar.gz (24.1 kB) Copy SHA256 Checksum SHA256 Source Jul 2, 2010

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting