PDA

View Full Version : [B]Using Images with 'Next' and 'Previous' Links[/B]


robynne
23-May-2003, 03:19 PM
Using Images with 'Next' and 'Previous' Links

I have created a primary template to insert links to sibling product sections as per the user guide, but also want to incorporate an image with my link (eg left/right arrow).
However if there is no previous link or no more subsections to link to, the arrow image will still display. how do i suppress this?

My code goes something like this:
<td><a href="NETQUOTEVAR:PREV_SECTION_URL">
<img src="file:myimage.gif">NETQUOTEVAR:PREV_SECTION_NAME</a></td>

Also, I want to only use the next and previous links within my subsections and not at the section level. It appears, I have to then define my new template for each individual subsection level. Is there any way I can select the layout template at Section level and avoid displaying these links at the top level (ie. pointing to next and previous sections?).

TIA,
Robynne

robynne
28-May-2003, 09:31 AM
Sorry to harp on it, but can ANYONE help me out on this ? - would be greatly appreciated.
thanks.

cdicken
28-May-2003, 11:11 AM
Robynne

The way to do this is to create three alternative overall layout templates. One for the start of a list of sibling sections (with just a 'Next' image), one for the end of a list of sibling sections (with just a 'previous' image) and one for the middle sections containing both 'next' and 'previous' images.

Hope that helps out.