Home
Dynamic Content
Horizontal Accordion
Supplementary Page 2
|
Categories
Other Sections
Sweet Ads
Compatibility
|
|
Expanding a content via an arbitrary linkBesides specifying a particular content be expanded
automatically and by default when the page loads, via the " For the former, just call the function: haccordion.expandli('accordionid', index) Where "
Expand 1 Panel | Expand 2nd Panel | Expand 3rd Panel | Expand 4th Panel Expanding a content by passing a parameter into the URL stringAnother way of expanding a content inside your horizontal accordion is by passing in a parameter to the current page's URL specifying the accordion ID and the index of the content to expand. The syntax is: <a href="targetpage.htm?accordionid=index">A link</a> where again " <a href="haccordion_suppliment2.htm?hc1=1">Expand 2nd content of horizontal accordion on this page when it loads</a> Reload the current page and see a different content expanded by clicking on the following two links: The URL parameter method of content selection always takes precedence over both the persisted content state and default selected content setting within the script. Table Of ContentsThis script consists of an index page plus two supplementary pages:
|