Search code examples
jqueryexpander

jquery expander plugin custom "read-more" link


I am using the jQuery Expander plugin . It works well as expected. I have the expandText set as "read more". Is it possible to change the location where it appears? I don't want it to appear inline, along with the running text. Is it possible to put a anchor tag somewhere else in the page and associate the expand/collapse functionality to that anchor tag?


Solution

  • It doesn't look like there are any functions in the API for this plugin that allow you to do that.

    You could always use CSS to reposition the <span class='read-more'></span> element wherever you want.