Since I have it set to show all the questions on 1 page, I'd like to remove the little "A-Z" link that normally lets you show more terms. But my CSS skills are rather basic and my javascript skills zero, so I can't recognize what to comment-out in the template.
I'm using the "stylesheet-open-and-close" template which looks exactly like:
Code: Select all
{literal}
<__script__ type="text/javascript">
function term_toggle(term)
{
if (document.getElementById(term).style.display=='block')
{
document.getElementById(term).style.display='none';
}
else
{
document.getElementById(term).style.display='block';
}
}
</__script>
{/literal}
<div class="glossarynav">{$navprev} {section name=numloop loop=$navarray}<a href="{$navarray[numloop].link}">{$navarray[numloop].name}</a>{if ! $smarty.section.numloop.last} : {/if}{/section} {$navnext}</div><br />
<dl compact>
{section name=numloop loop=$items}
<dt><a href="javascript:term_toggle('term_{$items[numloop].name}')">{$items[numloop].name}</a></dt><dd id="term_{$items[numloop].name}" {if $items[numloop].showdef != 1}style="display:none"{else}style="display:block"{/if}>{$items[numloop].definition}</dd>
{/section}
</dl>
