W3C home > Mailing lists > Public > www-validator-cvs@w3.org > January 2007

2002/css-validator toggle.js,1.2,1.3

From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 05 Jan 2007 18:47:36 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1H2u6L-0001RE-5N@lionel-hutz.w3.org>

Update of /sources/public/2002/css-validator
In directory hutz:/tmp/cvs-serv5436

Modified Files:
	toggle.js 
Log Message:
script and style tweaks for the proposed new toggle

Index: toggle.js
===================================================================
RCS file: /sources/public/2002/css-validator/toggle.js,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- toggle.js	5 Jan 2007 18:19:22 -0000	1.2
+++ toggle.js	5 Jan 2007 18:47:34 -0000	1.3
@@ -51,6 +51,7 @@
 			link.href="#" + el.id;
 			link.onclick = this.newToggleState(this,paragraph,el);
 			paragraph.appendChild(link);
+			paragraph.className += ' toggle closed';
 			el.parentNode.insertBefore(paragraph, el);
 
 
Received on Friday, 5 January 2007 18:47:53 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:27 UTC