Jquery tabs plugin

Source: Internet
Author: User

Wrote a jquery tabs plug-in that uses event proxy to process events.

The structural layer is the best structure obtained from in-depth discussions in the Group.

 
<DL id = "AAA"> <DT> <A> switch card 1 </a> <A> switch card 2 </a> <A> switch card 3 </> </DT> <DD> content 1 </DD> <DD> content 2 </DD> <DD> content 3 </DD> </dl>
Selector String Required. The CSS Separator of the container. It is better to conform to the structure shown above and be a DL element.
Tabsselector String (Optional) The common selector of the switch card. It is best to conform to the structure shown above, which is an A element under the DT element.
Panelsselector String (Optional) The common selector of the switch card. It is better to conform to the structure shown above and be a DD element.
Selected Number Optional. The index value of the switch card is selected by default.
Select Function Optional. Used to actively trigger an event.
Click Function Optional. Used for passive event triggering.
Remove Function (Optional) Remove a switch card and the corresponding panel.

Switch card 1 switch card 2 switch card 3
Content 1
Content 2
Content 3
<! Doctype HTML> 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.