forked from ClearFoundry/ClearScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhighlight.js
More file actions
19 lines (17 loc) · 789 Bytes
/
highlight.js
File metadata and controls
19 lines (17 loc) · 789 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//===============================================================================================================
// System : Color Syntax Highlighter
// File : Highlight.js
// Author : Eric Woodruff ([email protected])
// Updated : 04/20/2022
// Note : Copyright 2006-2022, Eric Woodruff, All rights reserved
//
// This contains the script to expand and collapse the regions in the syntax highlighted code.
//
//===============================================================================================================
// Expand/collapse a region
function HighlightExpandCollapse(showId, hideId)
{
var showSpan = document.getElementById(showId), hideSpan = document.getElementById(hideId);
showSpan.style.display = "inline";
hideSpan.style.display = "none";
}