Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

collapsible heading position and alternating heading text#1236

Closed
aldian wants to merge 1 commit intojquery-archive:masterfrom
aldian:master
Closed

collapsible heading position and alternating heading text#1236
aldian wants to merge 1 commit intojquery-archive:masterfrom
aldian:master

Conversation

@aldian
Copy link

@aldian aldian commented Mar 15, 2011

I found my need to to put heading at the bottom of the content.
I also want my heading text to change based on the state of content whether it is collapsed or expanded.
So the js is changed so I can use it like this:
<div data-role="collapsible" data-collapsed="true" data-headingontop="false" data-collapsedheadingtext="more..." data-expandedheadingtext="less...">


The content


</div>

… bottom of collapsible content.

I also need to change the heading text based on the state whether the content is collapsed or not. So the js below was changed so I can use it like this:
<div data-role="collapsible" data-collapsed="true" data-headingontop="false" data-collapsedheadingtext="more..." data-expandedheadingtext="less...">
	<h3><span data-role="text"></span></h3>
	<p>
	This is the content
	</p>
</div>
@toddparker
Copy link
Contributor

Closing this pull request. Thanks!

@aldian
Copy link
Author

aldian commented Mar 16, 2011

no problem

This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants