[44] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
---|
| 2 | <!--
|
---|
| 3 | * FCKeditor - The text editor for internet
|
---|
| 4 | * Copyright (C) 2003-2006 Frederico Caldeira Knabben
|
---|
| 5 | *
|
---|
| 6 | * Licensed under the terms of the GNU Lesser General Public License:
|
---|
| 7 | * http://www.opensource.org/licenses/lgpl-license.php
|
---|
| 8 | *
|
---|
| 9 | * For further information visit:
|
---|
| 10 | * http://www.fckeditor.net/
|
---|
| 11 | *
|
---|
| 12 | * "Support Open Source software. What about a donation today?"
|
---|
| 13 | *
|
---|
| 14 | * File Name: fck_document_preview.html
|
---|
| 15 | * Preview shown in the "Document Properties" dialog window.
|
---|
| 16 | *
|
---|
| 17 | * File Authors:
|
---|
| 18 | * Frederico Caldeira Knabben (fredck@fckeditor.net)
|
---|
| 19 | -->
|
---|
| 20 | <html>
|
---|
| 21 | <head>
|
---|
| 22 | <title>Document Properties - Preview</title>
|
---|
| 23 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
---|
| 24 | <meta name="robots" content="noindex, nofollow">
|
---|
| 25 | <script language="javascript">
|
---|
| 26 |
|
---|
| 27 | var eBase = parent.FCK.EditorDocument.getElementsByTagName( 'BASE' ) ;
|
---|
| 28 | if ( eBase.length > 0 && eBase[0].href.length > 0 )
|
---|
| 29 | {
|
---|
| 30 | document.write( '<base href="' + eBase[0].href + '">' ) ;
|
---|
| 31 | }
|
---|
| 32 |
|
---|
| 33 | window.onload = function()
|
---|
| 34 | {
|
---|
| 35 | if ( typeof( parent.OnPreviewLoad ) == 'function' )
|
---|
| 36 | parent.OnPreviewLoad( window, document.body ) ;
|
---|
| 37 | }
|
---|
| 38 |
|
---|
| 39 | function SetBaseHRef( baseHref )
|
---|
| 40 | {
|
---|
| 41 | var eBase = document.createElement( 'BASE' ) ;
|
---|
| 42 | eBase.href = baseHref ;
|
---|
| 43 |
|
---|
| 44 | var eHead = document.getElementsByTagName( 'HEAD' )[0] ;
|
---|
| 45 | eHead.appendChild( eBase ) ;
|
---|
| 46 | }
|
---|
| 47 |
|
---|
| 48 | function SetLinkColor( color )
|
---|
| 49 | {
|
---|
| 50 | if ( color && color.length > 0 )
|
---|
| 51 | document.getElementById('eLink').style.color = color ;
|
---|
| 52 | else
|
---|
| 53 | document.getElementById('eLink').style.color = window.document.linkColor ;
|
---|
| 54 | }
|
---|
| 55 |
|
---|
| 56 | function SetVisitedColor( color )
|
---|
| 57 | {
|
---|
| 58 | if ( color && color.length > 0 )
|
---|
| 59 | document.getElementById('eVisited').style.color = color ;
|
---|
| 60 | else
|
---|
| 61 | document.getElementById('eVisited').style.color = window.document.vlinkColor ;
|
---|
| 62 | }
|
---|
| 63 |
|
---|
| 64 | function SetActiveColor( color )
|
---|
| 65 | {
|
---|
| 66 | if ( color && color.length > 0 )
|
---|
| 67 | document.getElementById('eActive').style.color = color ;
|
---|
| 68 | else
|
---|
| 69 | document.getElementById('eActive').style.color = window.document.alinkColor ;
|
---|
| 70 | }
|
---|
| 71 | </script>
|
---|
| 72 | </head>
|
---|
| 73 | <body>
|
---|
| 74 | <table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
|
---|
| 75 | <tr>
|
---|
| 76 | <td align="center" valign="middle">
|
---|
| 77 | Normal Text
|
---|
| 78 | </td>
|
---|
| 79 | <td id="eLink" align="center" valign="middle">
|
---|
| 80 | <u>Link Text</u>
|
---|
| 81 | </td>
|
---|
| 82 | </tr>
|
---|
| 83 | <tr>
|
---|
| 84 | <td id="eVisited" valign="middle" align="center">
|
---|
| 85 | <u>Visited Link</u>
|
---|
| 86 | </td>
|
---|
| 87 | <td id="eActive" valign="middle" align="center">
|
---|
| 88 | <u>Active Link</u>
|
---|
| 89 | </td>
|
---|
| 90 | </tr>
|
---|
| 91 | </table>
|
---|
| 92 | <br>
|
---|
| 93 | <br>
|
---|
| 94 | <br>
|
---|
| 95 | <br>
|
---|
| 96 | <br>
|
---|
| 97 | <br>
|
---|
| 98 | <br>
|
---|
| 99 | <br>
|
---|
| 100 | <br>
|
---|
| 101 | <br>
|
---|
| 102 | <br>
|
---|
| 103 | <br>
|
---|
| 104 | <br>
|
---|
| 105 | <br>
|
---|
| 106 | <br>
|
---|
| 107 | <br>
|
---|
| 108 | </body>
|
---|
| 109 | </html>
|
---|