The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[resolved] How to expand on the same line. (6 posts)

  1. thirdpotato
    Posted 3 years ago #

    Is there a way to have the expanded content not include a linebreak afterwards? I'm just using a simple [expand title="title"]Blahblah[/expand] but I'd like it to just expand next to the arrow instead of on a new line. Sorry if I've missed this in the documentation. I was looking, but couldn't quite find it.


  2. Baden
    Plugin Author

    Posted 3 years ago #

    Yes. You need to check out the following two attributes:

    1. targtag
    2. targpos=”inline”

    Please let us know if you get this working.

  3. thirdpotato
    Posted 3 years ago #

    Perfect, thank you!

  4. thirdpotato
    Posted 3 years ago #

    Oh actually, it's not working. It still enters a linebreak after the arrow. I did:
    [expand title="" targpos="inline" targtag="strong"] content [/expand]

  5. thirdpotato
    Posted 3 years ago #

    I should mention that the content works expands off to the side, where it should be, but all of this is happens only after a linebreak after the dropdown arrow itself. changed it to:
    [expand title='Author's Notes' targtag="strong" excerpt="Author's Notes" targpos="inline"] Blablah[/expand]

  6. tbcurrent
    Posted 2 years ago #

    Hi there,

    Did you ever get this to work? I'm having the same issue where I don't want the line break. And even though I use tartag and tarpos it sill has a line break after the title.

    If you solved it, I'd love to know how -- and see the code!


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Collapse-O-Matic
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic