Developer forum

Forum » Templates » Is there a way to detect last active paragraph on a page?

Is there a way to detect last active paragraph on a page?

Hans Ravnsfjall
Hans Ravnsfjall
Reply

Is this possible?

I know I can use Javascript, but maybe someone has another solution?

/Hans


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Hans

Using regular template tags, you have ParagraphContainerIsFirst and ParagraphContainerIsLast that will give you true if a paragraph is either first or last in the current container. There is not a global one for all containers...

BR Nicolai

Votes for this answer: 1
 
Hans Ravnsfjall
Hans Ravnsfjall
Reply

Ok, thank you :) Think that will do perfectly

 

/Hans

 

You must be logged in to post in the forum