~ubuntu-it-wiki/wiki-ubuntu-it/wiki-repo

« back to all changes in this revision

Viewing changes to applets/FCKeditor/editor/dtd/fck_dtd_test.html

  • Committer: Leo Iannacone
  • Date: 2011-06-02 15:05:37 UTC
  • Revision ID: l3on@ubuntu.com-20110602150537-ycrnf58qf67uf593
Added applets for gui editor

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
2
<html xmlns="http://www.w3.org/1999/xhtml">
 
3
<head>
 
4
        <title>DTD Test Page</title>
 
5
        <script type="text/javascript">
 
6
 
 
7
        // Define an object for this test page, so the assignment to FCK.DTD works
 
8
        var FCK = {} ;
 
9
        </script>
 
10
        <script type="text/javascript" src="../_source/internals/fcktools.js"></script>
 
11
        <script type="text/javascript" src="fck_xhtml10transitional.js"></script>
 
12
</head>
 
13
<body>
 
14
        <h1>
 
15
                DTD Contents
 
16
        </h1>
 
17
        <table border="1">
 
18
                <script type="text/javascript">
 
19
 
 
20
for ( var p in FCK.DTD )
 
21
{
 
22
        document.write( '<tr><td><b>' + p + '</b></td><td>' ) ;
 
23
 
 
24
        var isFirst = true ;
 
25
 
 
26
        for ( var c in FCK.DTD[p] )
 
27
        {
 
28
                if ( !isFirst )
 
29
                        document.write( ', ' ) ;
 
30
                isFirst = false ;
 
31
 
 
32
                document.write( c ) ;
 
33
        }
 
34
 
 
35
 
 
36
        document.write( '</td></tr>' ) ;
 
37
}
 
38
                </script>
 
39
        </table>
 
40
</body>
 
41
</html>