Download the PHP package opichon/autotabs without Composer

On this page you can find all versions of the php package opichon/autotabs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package autotabs

jquery.autotabs.js - A jquery plugin that automatically generates navigable tabs based on the markup in the page.

jquery.autotabs.js automatically generates tabs based on the markup in your DOM element to which it is applied.

A tab is created for each child element in the designated element. Which children are used to generate tabs can be customized.

A set of navigable tabs is added to the page. The location of the tabs is cusotmizable.

Each tab can contain either static or dynamic content.

See demo/docs in docs/index.html.

Requirements

If you want autotabs to remember the state of you tabs, you also need the jquery.cookie plugin:

Installation

Installation via bower

Add the following lines to your bower.json configuration:

`

Download

Or download from:

Setup

javascripts

`

stylesheets

`

For vertical tabs, include the custom stylesheet provided:

`

Add the following logic to your page or to a plugin included to your page:

`

Markup options

The tabs settings can be configured directly inside the markup. The following attributes are supported:

data-autotabs-label

The tab label.

data-autotabs-url

The remote url for the tab content.

title

The tab label.

This attribute is deprecated in favour of the ` attribute and may be removed in future releases.

rel (deprecated)

The remote url for the tab content.

This attribute is deprecated in favour of the ` attribute and may be removed in future releases.

How-to

Load a tab pane's content dynamically via ajax

Simply set the ` attribute of the tab pane to the url of the page holding the content.

Style tabs via bootstrap

To style the tabs with the bootstrap stylesheet, use the following options:

`

To style the tabs as pills:

`

Plugin options

tab_pane_selector

Defines the selector for identifying tab panes.

Default value: `

tab_label_selector

Defines the selector for identifying the label/title of the tab from an element of the tab pane.

Default value: `

tabs_class

The CSS class to set on the generated tabs element.

Default value: `

tab_class

The CSS class ot set on each generated tab element

Default value: `

tabs_selector

The selector for identifying the element in which the generated tabs should be appended.

Default value: none

active_class

The CSS class to add to the tab currently selected.

Default value: `

active_tab

The index of the tab to set as active when the plugin loads.

Default value: `

cookie_name

The name of the cookie in which to store the state of the tabs. This option requires the jquery.cookie.js plugin.

Default value: `

cookie_path

The path to set on the cookie. This option requires the jquery.cookie.js plugin.

Default value: `

force_refresh

Forces each tab to be refreshed when clicked.

Default value: `

tab_orphans:

Whether to treat an single (orphan) tab-pane as a tab or not.

Default value: `

loading_icon

The selector for the element containing the loading icon.

Default value: `

tab_id

A function responsible for generating a tab id if not suplied in the markup.

Default value:

`

tab_label

A function responsible for generating each tab's label ifnot supplied in the markup.

Default value:

`

tab_pane_id

A function responsible for generating the id of each tab pane if not supplied in the markup.

Default value:

`

vertical

Whether the tabs are vertically aligned.

Default value: false

success

Defines the callbacks to apply when a tab is clicked. This option can be

All functions are applied to the tab pane element. ` therefore refers to the tab pane element.


All versions of autotabs with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package opichon/autotabs contains the following files

Loading the files please wait ....