Hi:
ODS HTML is making very "vanilla" HTML 4.0 tags, <FRAMESET> and <FRAME> tags. So, the fact is that a lot of folks make their series of related files and then send the separate file names or named anchors, etc to their web guys who then build JavaScript or PHP or ASP or whatever they use instead of vanilla frames.
If you want to see the active link and only the link in your frame file from ODS HTML, then you have 2 or 3 ways to make that happen:
1) abandon the FRAME= file built by ODS HTML and build your own (newer!, more streamlined!) HTML file with whatever structure/code you want and then use it instead of the original FRAME= file (It will most be DATA _NULL_ and a bunch of PUT statements); or
2) use ODS DOCUMENT to save the original output objects and then rearrange the output objects to get rid of all the intermediate folder structure in the FRAME= and TOC= files and generate a new TOC and FRAME file from the new structure, as shown in this paper:
http://support.sas.com/resources/papers/sgf09/318-2009.pdf ; or
3) use a SAS Style template to alter some, but not all of the TOC file that ODS generates, as described in these SAS notes:
http://support.sas.com/kb/23/345.html
http://support.sas.com/kb/25/059.html
http://support.sas.com/kb/23/436.html
http://support.sas.com/kb/23/440.html
http://support.sas.com/kb/23/439.html
or
4) use a custom HTML-based tagset template to generate the HTML tags that you want for your TOC (this assumes, like #1, that you know what HTML tags you want to generate.) This paper shows a combination of #3 and #4 approach:
http://support.sas.com/resources/papers/proceedings09/226-2009.pdf
Personally, I prefer the ODS DOCUMENT approach over the style template or tagset template approach, but I've used all 4 approaches at one time or another and they are all do-able. Also, if all you're talking about is the expansion/contraction of the TOC list, these may be relevant:
http://support.sas.com/kb/23/397.html
http://support.sas.com/kb/23/421.html
cynthia