kswedberg / jquery-expander

Expand and Collapse HTML content
https://kswedberg.github.io/jquery-expander/
Other
459 stars 167 forks source link

position of collapse button #119

Open beta2k opened 8 years ago

beta2k commented 8 years ago

Is it somehow possible to NOT have the collapse-button appear after the collapsed text? I would prefer, if it would stay at the same position as the expand-button. I also created a stackoverflow-thread: http://stackoverflow.com/questions/38630465/jquery-expander-do-not-move-expand-collapse-buttons

travco commented 8 years ago

In the current state of the code, no there is no option to have the "collapse" button appear after the collapsed text, and before the expanded text.

Before we consider it for implementation though, how hard do you think it will be for the average user to determine where the "expanded text" ends if there is no indicator (like a "collapse" link) at the end of the text?

I'd imagine it'd pretty hard to tell what was expanded, or what will be collapsed if the collapse/expand link didn't move. But that's just my thoughts.