I would like to write a global which does the following:
Take the contents of a field <%Content%>
Extract the first 100 complete words - or even better upto the first (or second) paragraph ie. upto a <P> tag.
Output that selection.
Remember that this selection has been displayed.
Next time this script/global is called, it would take the following paragraph (or words 100 - 300 for instance) and output just these.
Yes, what this would amount to is being able to make a long text FLOW from one part of a page display to another! Or perhaps there's a far simpler way?
Any suggestions welcome. Thanks in advance
Charly
Take the contents of a field <%Content%>
Extract the first 100 complete words - or even better upto the first (or second) paragraph ie. upto a <P> tag.
Output that selection.
Remember that this selection has been displayed.
Next time this script/global is called, it would take the following paragraph (or words 100 - 300 for instance) and output just these.
Yes, what this would amount to is being able to make a long text FLOW from one part of a page display to another! Or perhaps there's a far simpler way?
Any suggestions welcome. Thanks in advance
Charly