Thanks for catching that Jens! I will make that adjustment.

On Aug 9, 1:38 pm, Jens <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Great plugin. Looking into the example source shows that more p tags
> are not terminated correctly
> ex:
>         <p class="release">
>             <strong>August 08, 2007, v2.2 Release</strong>
>
>         <p>
>
> /Jens
> On 9 Aug., 13:32, Giant Jam Sandwich <[EMAIL PROTECTED]> wrote:
>
> > Hi Kia,
>
> > Right now the plugin is looking for a match to a single character
> > using the regular expression, so you would not be able to truncate
> > based upon an entire word.
>
> > Brian
>
> > On Aug 9, 2:19 am, "Kia Niskavaara" <[EMAIL PROTECTED]> wrote:
>
> > > Can I use this plugin to truncate a text based on a word? Let's say I want
> > > the result to be the first sentance that mention the text "Suspendisse"
>
> > > This text
>
> > > Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed egestas 
> > > augue
> > > in diam. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
> > > Vestibulum dui elit, semper a, vestibulum nec, lobortis non, nisi. Donec 
> > > ac
> > > purus. Proin et quam. Nam elit eros, malesuada id, ultricies sit amet,
> > > fermentum ut, turpis. Morbi elementum, risus eu euismod semper, erat orci
> > > egestas odio, ut consequat risus erat nec mi. Suspendisse potenti. Nam
> > > pulvinar, mauris sed lacinia egestas, mi quam vestibulum est, a facilisis
> > > nibh ligula a sapien. Nam imperdiet tortor eget velit. Maecenas massa dui,
> > > tempor sit amet, viverra id, fermentum sit amet, arcu. Cras congue, quam 
> > > in
> > > sodales pharetra, mi dui fringilla elit, id suscipit dolor tortor sed 
> > > nisi.
> > > Vestibulum eu diam ut augue tincidunt volutpat. Fusce et sem. Sed viverra
> > > bibendum tortor. Suspendisse rhoncus enim non dolor.
>
> > > should then transform into
>
> > > Morbi elementum, risus eu euismod semper, erat orci egestas odio, ut
> > > consequat risus erat nec mi. Suspendisse potenti. Nam pulvinar, mauris sed
> > > lacinia egestas, mi quam vestibulum est, a facilisis nibh ligula a sapien.
>
> > > Is this possible? Do I change the first argument in Truncate to
> > > "Suspendisse"?
>
> > > On 8/9/07, Giant Jam Sandwich <[EMAIL PROTECTED]> wrote:
>
> > > > Hi All,
>
> > > > I am happy to announce that I have updated this jQuery plugin after I
> > > > received quite a few requests for a very useful feature. The plugin
> > > > now supports the ability to reveal the text that has been truncated,
> > > > as well as the ability to click and re-truncate. The JavaScript is
> > > > still 1KB, which really speaks to jQuery's motto, which is "write
> > > > less. do more." I could not agree more.
>
> > > >http://www.reindel.com/truncate
>
> > > > Thank you everyone for taking the time to offer feedback.
>
> > > > Brian- Hide quoted text -
>
> > > - Show quoted text -

Reply via email to