Usage Note 23427: In ODS HTML output, how can I create a mouse-over effect in the table of contents?
Modify the style element FolderAction to create the mouse-over effect for the events and folders, and IndexAction for the items.
The following example code will change the color to red when the user's mouse is over the folder.
View output.
proc template;
define style styles.test;
parent=styles.default;
replace FolderAction from indexaction /
foreground=red;
end;
run;
To create the actions for the folder and the action:
proc template;
define style styles.test;
parent=styles.default;
replace folderaction from indexaction /
foreground=red;
replace itemaction from indexaction /
foreground=red;
replace contentitem from contentitem /
ForeGround = colors("conentryfg")
BackGround = colors("contentbg")
Bullet = NONE
ListEntryAnchor = yes
PreHtml = html("fake bullet")
LeftMargin = 6pt
PreText = '<span>'
PostText = '</span>'
;
end;
run;
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-21 12:24:56 |
Date Created: | 2003-09-30 09:18:26 |