简体   繁体   中英

jQuery - Dynamic Tabs via Ajax?

Does anyone know how this effect is named and how to recreate it in jQuery (without that library*)?:

http://www.jeasyui.com/documentation/index.php

Click on the links on the left, can u see how tabs are created dynamically and contet is loaded via Ajax?

one feature I miss in this example: rearrange tabs (sortable)

*without that library = without the library/plugin I linkted to.

Any Ideas?

The obvious answer to that is to use jQueryUI.

Their Tabs widget supports everything you need: Adding tabs dynamically , Loading content in ajax, sortables .

http://jqueryui.com/demos/tabs/

http://docs.jquery.com/UI/Tabs

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM