Jquery.easy_ajaxTabs
DEMO: https://philippzhulev.github.io/ajax-tabs/public/
description:
Tabs for website or a web application with the ajax download function.
Get started
Node package manager:
npm install easy__ajax_tabs
To plug
in the folder css it is desirable to put ajax-tab__preloader.gif
Init
<!--navigation--> content-1 content-2 content-3 content-4 <!--content--> <!--script-->
Options
all options
Name | Default | Description |
---|---|---|
frame | ".ajax-container" | container for output |
type | 'GET' | post method |
data | null | pass in request |
success | null | function when the query is executed |
error | null | function on request error |
async | false | asynchronous request? |
before | null | before running the query |
animate | 300 | animation appearance speed |
preload | false | download content when the page load |
pre_loader | null | preloader |
pre_loader_wrap | null | preloader wrapper |
Events
- eat.onActive - When the menu item is activated
- eat.beforeReady - Before request
- eat.requestReturned - If the request is successful
- eat.requestError - The request failed
- eat.preloadReady - At primary loading (preload : true)
Event and user function
Reverse event
test1 test2
- on.tabActive - When activated tab
Build
__dist --> Plug-in files__dist_src --> Plug-in sources__public --> Demo page files______Css --> Styles (minify)______fonts --> Fonts ______Js --> javaScript (minify)______img --> Images__src --> Demo page sources______components --> Components______js --> javaScript (not minify)______css --> css (not minify)______nib --> Functions for stylus______plugins --> Plu-ins
License
© Philipp Zhulev MIT License.