always make the expand button at the end of the paragraph
<p>Here is the online sample: <a href="http://jsfiddle.net/Nh4K2/" rel="nofollow">http://jsfiddle.net/Nh4K2/</a></p>

<pre><code>&lt;div class="container"&gt;
    Nulla varius diam at sem adipiscing pharetra. Integer eget nulla non purus commodo aliquam. Aenean sed nunc neque. Aliquam eleifend aliquam arcu, ac semper nulla faucibus id. Etiam luctus eleifend tempus. Vestibulum ornare, nisi vitae fermentum luctus, sem lectus rhoncus nibh, auctor iaculis magna turpis nec turpis. Aliquam orci tortor, vulputate at pretium sit amet, blandit eget libero. Sed posuere ultricies mi, sed rhoncus massa ultrices quis. Donec pulvinar vestibulum rhoncus. Donec urna lacus, mollis et convallis at, commodo nec lectus. Maecenas pretium, nunc ac volutpat tempus, dolor orci ultricies massa, eu malesuada urna massa ut orci. Duis eget elit nulla, ornare aliquet nulla. Sed eleifend scelerisque est, eu laoreet lacus ultricies id. Aenean aliquam porttitor augue, quis lacinia augue consequat vitae. Ut venenatis orci massa. Duis dignissim, justo at pellentesque adipiscing, ligula eros mollis tellus, ut accumsan lorem dui eu est.
        &lt;div class="whatever"&gt;hahahahahaha&lt;/div&gt;
    &lt;div class="damn"&gt;hohohohohohoho&lt;/div&gt;
    &lt;div class="laugh"&gt;lololololololololo&lt;/div&gt;
&lt;/div&gt;
&lt;span&gt;Show&lt;/span&gt;​

function excerpt(str, nwords) {
    var words = str.split(' ');
    words.splice(nwords, words.length - 1);
    return words.join(' ') + '&amp;hellip;';
}

var $div = $('.container');
$div.each(function() {
    var theExcerpt = excerpt($(this).text(), 30);
    $(this).data('html', $(this).html()).html( theExcerpt );
});

$('span').click(function() {
    var isHidden = $(this).text() == 'Show';
    var $div = $(this).prev();
    var theExcerpt = excerpt($div.text(), 30);
    $div.html( isHidden ? $div.data('html') : theExcerpt);
    $(this).remove();
});​
</code></pre>

<p>any possible way to make "show" toggle button always shows at the end of the paragraph?  rather than showing on the second line,  the format looks like</p>

<blockquote>
  <p>Nulla varius diam at sem adipiscing pharetra. Integer eget nulla non
  purus commodo aliquam. Aenean sed nunc neque. Aliquam eleifend aliquam
  arcu, ac semper nulla faucibus…<strong>Show</strong></p>
</blockquote>

<p>Many thanks for any suggestions or solutions.</p>
