- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 10 Apr 2007 10:39:26 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/htdocs/scripts
In directory hutz:/tmp/cvs-serv12844
Modified Files:
prefill.js
Log Message:
using div as generic container in prefilled html
Index: prefill.js
===================================================================
RCS file: /sources/public/validator/htdocs/scripts/prefill.js,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- prefill.js 10 Apr 2007 02:59:56 -0000 1.2
+++ prefill.js 10 Apr 2007 10:39:24 -0000 1.3
@@ -1,9 +1,9 @@
// prefill validator "direct input" form with basic document structure
-var text_xhtml1 = '<?xml version="1.0" encoding="utf-8"?>\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"\n "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\n <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\n <head>\n <title>I AM YOUR DOCUMENT TITLE REPLACE ME</title>\n <meta http-equiv="content-type" content="application/xhtml+xml;charset=utf-8" />\n <meta http-equiv="content-style-type" content="text/css" />\n </head>\n <body>\n <p>… Your HTML content here …</p>\n</body>\n </html>';
+var text_xhtml1 = '<?xml version="1.0" encoding="utf-8"?>\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"\n "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\n <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\n <head>\n <title>I AM YOUR DOCUMENT TITLE REPLACE ME</title>\n <meta http-equiv="content-type" content="application/xhtml+xml;charset=utf-8" />\n <meta http-equiv="content-style-type" content="text/css" />\n </head>\n <body>\n <div>… Your HTML content here …</div>\n</body>\n </html>';
-var text_html401 = '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"\n "http://www.w3.org/TR/html4/strict.dtd">\n<html>\n<head>\n <title>I AM YOUR DOCUMENT TITLE REPLACE ME</title>\n <meta http-equiv="content-type" content="text/html;charset=utf-8">\n <meta http-equiv="Content-Style-Type" content="text/css">\n</head>\n<body>\n <p>… Your HTML content here …</p>\n</body>\n</html>';
+var text_html401 = '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"\n "http://www.w3.org/TR/html4/strict.dtd">\n<html>\n<head>\n <title>I AM YOUR DOCUMENT TITLE REPLACE ME</title>\n <meta http-equiv="content-type" content="text/html;charset=utf-8">\n <meta http-equiv="Content-Style-Type" content="text/css">\n</head>\n<body>\n <div>… Your HTML content here …</div>\n</body>\n</html>';
function prefill_document(textarea_id, doctype) {
var txtarea = document.getElementById(textarea_id);
@@ -16,4 +16,4 @@
}
// txtarea.select();
txtarea.focus();
-};
\ No newline at end of file
+};
Received on Tuesday, 10 April 2007 10:39:31 UTC