Cool jQuery classicAccordion and jqueryaccordion

Source: Internet
Author: User

Cool jQuery classicAccordion and jqueryaccordion
Online instance

Result 1 Effect 2 Effect 3
Usage
Accordion ul li list <ul class = "accordion"> <li>  <div class =" caption "> awesome Chinese responsive web company webpage Template </div> </li>... </ul> $ (document ). ready (function () {accordion = $ ('. accordion '). classicAccordion ({width: 1200, height: 400, slideshow: true, shadow: true, alignType: 'center', closedPanelSize: 40, panelProperties: {0: {captionWidth: 200, captionHeight: 35, captionTop: 30, captionLeft: 30}, 2: {captionWidth: 380, captionHeight: 40, captionTop: 330, captionLeft: 30}, 4: {captionWidth: 150, captionHeight: 120, captionTop: 270, captionLeft: 600}, 7: {captionWidth: 300, captionHeight: 35, captionTop: 180, captionLeft: 250}, 8: {captionWidth: 380, captionHeight: 40, captionTop: 330, captionLeft: 30}, 10: {captionWidth: 150, captionHeight: 120, captionTop: 30, captionLeft: 620 }}); accordion. openPanel (0 );});

  

Parameter Details
Parameters Description Default Value
CaptionWidth Title width 300
CaptionHeight Title height 100
CaptionTop Header distance 100
CaptionLeft Left margin of title 30
Shadow Whether to display the shadow Layer True
LinkTarget Open the link mode. The default window is new. _ Blank
OpenPanelDelay Open Delay Time 200
Orientation Accordion direction, with horizontal and vertical Horizontal
Width Accordion width 500
Height Accordion height 300
AlignType Method LeftTop
Distance Distance 0
Slideshow Turn on sliding effect False
SlideDuration Sliding Delay Time 700
OpenPanelOnMouseOver Hover the mouse to open True
ClosePanelOnMouseOut Move the mouse away and close True
OpenPanelOnClick Click to open False
Download

 

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.