Usage Note 23421: In ODS HTML output, how can prevent the table of contents from becoming a collapsible list?
In Release 8.2, first specify the new CODE= option
on the ODS HTML statement in order to create a file that contains the
generated JavaScript code.
// Set document events
// document.onclick = outline;
document.onmouseover = doAction;
document.onmouseout = undoAction;
ods html body='body.html' contents='contents.html' code='code.js';
proc print data=sashelp.class;
run;
ods html close;
Edit the file, commenting out the following statement:
document.onclick=outline;
in order to read (use) the JavaScript file, specify the CODE= option together with
the URL= suboption:
ods html body='body.html' contents='contents.html' code=(url='code.js');
proc print data=sashelp.class;
run;
ods html close;
An alternative solution is to use the ODS MARKUP statement in Release 8.2.
See also the full PROC TEMPLATE FAQ and Concepts.
Operating System and Release Information
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Usage Note |
Priority: | low |
Topic: | SAS Reference ==> ODS (Output Delivery System) Third Party ==> Output ==> HTML
|
Date Modified: | 2003-10-20 16:18:38 |
Date Created: | 2003-09-29 18:51:25 |