phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] news_admin/js/fckeditor/editor/dialog/fck_docprops f


From: skwashd
Subject: [Phpgroupware-cvs] news_admin/js/fckeditor/editor/dialog/fck_docprops fck_document_preview.html, 1.1
Date: Tue, 24 May 2005 16:32:00 +0200

Update of news_admin/js/fckeditor/editor/dialog/fck_docprops

Added Files:
     Branch: MAIN
            fck_document_preview.html 

Log Message:
I am working on a much better version of news_admin, this is just a taste of 
what is coming.

Adding FCKeditor, which has the following issues:
* Images and files support FCKd
* Spellcheck FCKing up

Didn't include non php code or samples other unneeded crap

====================================================
Index: fck_document_preview.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--
 * FCKeditor - The text editor for internet
 * Copyright (C) 2003-2004 Frederico Caldeira Knabben
 *
 * Licensed under the terms of the GNU Lesser General Public License:
 *              http://www.opensource.org/licenses/lgpl-license.php
 *
 * For further information visit:
 *              http://www.fckeditor.net/
 *
 * File Name: fck_document_preview.html
 *      Preview shown in the "Document Properties" dialog window.
 *
 * Version:  2.0 RC3
 * Modified: 2005-01-12 16:05:41
 *
 * File Authors:
 *              Frederico Caldeira Knabben (address@hidden)
-->
<html>
        <head>
                <title>Document Properties - Preview</title>
                <meta http-equiv="Content-Type" content="text/html; 
charset=utf-8">
                <meta name="robots" content="noindex, nofollow">
                <script language="javascript">

window.onload = function()
{
        if ( typeof( parent.OnPreviewLoad ) == 'function' )
                parent.OnPreviewLoad( window, document.body ) ;
}

function SetLinkColor( color )
{
        if ( color && color.length > 0 )
                document.getElementById('eLink').style.color = color ;
        else
                document.getElementById('eLink').style.color = 
window.document.linkColor ;
}

function SetVisitedColor( color )
{
        if ( color && color.length > 0 )
                document.getElementById('eVisited').style.color = color ;
        else
                document.getElementById('eVisited').style.color = 
window.document.vlinkColor ;
}

function SetActiveColor( color )
{
        if ( color && color.length > 0 )
                document.getElementById('eActive').style.color = color ;
        else
                document.getElementById('eActive').style.color = 
window.document.alinkColor ;
}
                </script>
        </head>
        <body>
                <table width="100%" height="100%" cellpadding="0" 
cellspacing="0" border="0">
                        <tr>
                                <td align="center" valign="middle">
                                        Normal Text
                                </td>
                                <td id="eLink" align="center" valign="middle">
                                        <u>Link Text</u>
                                </td>
                        </tr>
                        <tr>
                                <td id="eVisited" valign="middle" 
align="center">
                                        <u>Visited Link</u>
                                </td>
                                <td id="eActive" valign="middle" align="center">
                                        <u>Active Link</u>
                                </td>
                        </tr>
                </table>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
                <br>
        </body>
</html>






reply via email to

[Prev in Thread] Current Thread [Next in Thread]