Right, another idea of mine... Couldn't find anything about this on the site already.
What I want to achieve is: within a section or subsection i.e. Batteries there are multiple different types (AAA,AA,C, etc) and if the products are organised into sections I would like to have a fragment at the beginning of each section which I can link to.
Then at the top of the page I would have a section saying 'Jump to: AAA - AA - C' etc.
What I was thinking is create two new variables (or possibly one variable one condition...) for fragments:
- one would be an anchor reference
- the second would be 'include in jump to'
I could create a layout for the fragment which was 'jumptofragment' and this would have the fragment header set out with the anchor around it. That's fine.
The top of the page however...
I would have a layout and it would be Jump to:
But then I'd need it to list all of the <a href="#"Actinicvariable...>Actinicvariable2</a> for the fragments on that page (and that page only) for which the variable/condition 'include in jump to' is set to yes...
And I have no idea how to do that second part.
If anyone has any ideas for this, or a completely different method that achieves the same outcome I'd be very happy. =)
What I want to achieve is: within a section or subsection i.e. Batteries there are multiple different types (AAA,AA,C, etc) and if the products are organised into sections I would like to have a fragment at the beginning of each section which I can link to.
Then at the top of the page I would have a section saying 'Jump to: AAA - AA - C' etc.
What I was thinking is create two new variables (or possibly one variable one condition...) for fragments:
- one would be an anchor reference
- the second would be 'include in jump to'
I could create a layout for the fragment which was 'jumptofragment' and this would have the fragment header set out with the anchor around it. That's fine.
The top of the page however...
I would have a layout and it would be Jump to:
But then I'd need it to list all of the <a href="#"Actinicvariable...>Actinicvariable2</a> for the fragments on that page (and that page only) for which the variable/condition 'include in jump to' is set to yes...
And I have no idea how to do that second part.
If anyone has any ideas for this, or a completely different method that achieves the same outcome I'd be very happy. =)
Comment