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

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