in reply to Re^2: Functionality to automatically insert <readmore> tags into long posts?
in thread Functionality to automatically insert <readmore> tags into long posts?

I already thought of this, but it's only possible with linear text without nested html structures.

Huh? I think you're over thinking this, its 100% javascript

$("tr[@class='reply-body pmnote-708738']/td[@class='reply-body']").hei +ght(200);

Add a show/hide from one of these Re: Collapsible comments, toggleDisplay

  • Comment on Re^3: Functionality to automatically insert <readmore> tags into long posts?
  • Download Code

Replies are listed 'Best First'.
Re^4: Functionality to automatically insert <readmore> tags into long posts?
by LanX (Saint) on Jul 24, 2013 at 11:50 UTC
    You're hidding the complete post.

    The idea of the readmore-mechanism is to have a preview of the entry ("readsome lines") before the rest is hidden with "readmore".

    Cheers Rolf

    ( addicted to the Perl Programming Language)

      You're hidding the complete post.

      No, 200px height of post is shown, cause thats exactly what sundialsvc4 described, it doesn't matter whether there is nesting or anything and no actual readmore tags need to be added -- and and its only temporary, fully reversible/togglable

        Oh ... I oversaw the pixels.

        If it works with all important browsers this could indeed be a good idea!

        Cheers Rolf

        ( addicted to the Perl Programming Language)