From a9203269daa7502ac919175363fd100f21fb6209 Mon Sep 17 00:00:00 2001 From: joostverburg Date: Sun, 8 Feb 2004 13:40:52 +0000 Subject: [PATCH] Expand all / Hide all options git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3486 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/Modern UI/Readme.html | 54 ++++++++++++++++++++++++----------- 1 file changed, 37 insertions(+), 17 deletions(-) diff --git a/Contrib/Modern UI/Readme.html b/Contrib/Modern UI/Readme.html index 6ab13ebd..81f10b17 100644 --- a/Contrib/Modern UI/Readme.html +++ b/Contrib/Modern UI/Readme.html @@ -100,6 +100,14 @@ a:hover display: none; } +.options + { + text-align: center; + cursor: pointer; + cursor: hand; + color: #294F75; + } + /*]]>*/ @@ -138,22 +146,41 @@ a:hover } } - + + function expandall() { + + var divNodeList = document.getElementsByTagName('div'); + for (i = 0; i < divNodeList.length; i++) { + if(divNodeList[i].id) { + divNodeList[i].style.display = "block"; + document.getElementById('trigger_' + divNodeList[i].id.substr(7)).src = "images/open.gif"; + } + } + + } + + function hideall() { + + var divNodeList = document.getElementsByTagName('div'); + for (i = 0; i < divNodeList.length; i++) { + if(divNodeList[i].id) { + divNodeList[i].style.display = "none"; + document.getElementById('trigger_' + divNodeList[i].id.substr(7)).src = "images/closed.gif"; + } + } + + } + //]]> - - - -
- - - - - - - - -
-""
+
++"" +

[Expand all] [Hide all]

Introduction

@@ -1237,16 +1264,9 @@ it freely, subject to the following restrictions:
-
-