Gcards1.44 > Gcards / Inc / FCKeditor / Editor / Dialog / Fck Find.html

Questions? Need Help? Want to share? » PHP Forum
Script Name:
Gcards1.44

Download:
gcards1.44.zip

Category:
Postcards

Archive Content:

Gcards1.44 > Gcards > Admin

Gcards1.44 > Gcards

Gcards1.44 > Gcards > Css

Gcards1.44 > Gcards

Gcards1.44 > Gcards > Images > ImageTemplates > Dropshadow

Gcards1.44 > Gcards > Images > ImageTemplates > Smiley

Gcards1.44 > Gcards > Images > ImageTemplates > Stamp

Gcards1.44 > Gcards > Images > SiteImages > Dropshadow

Gcards1.44 > Gcards > Images > SiteImages > Flags

Gcards1.44 > Gcards > Images > SiteImages

Gcards1.44 > Gcards > Images > SiteImages > Smilies

Gcards1.44 > Gcards > Images > SiteImages > Stamps

Gcards1.44 > Gcards > Images > SiteImages

Gcards1.44 > Gcards > Inc > Adodb

Gcards1.44 > Gcards > Inc > Adodb > Drivers

Gcards1.44 > Gcards > Inc > Adodb

Gcards1.44 > Gcards > Inc

Gcards1.44 > Gcards > Inc > FCKeditor > Editor > Css > Behaviors

Gcards1.44 > Gcards > Inc > FCKeditor > Editor > Css

Gcards1.44 > Gcards > Inc > FCKeditor > Editor > Dialog > Common

Gcards1.44 > Gcards > Inc > FCKeditor > Editor > Dialog > Common > Images

Gcards1.44 > Gcards > Inc > FCKeditor > Editor > Dialog > Fck About

Gcards1.44 > Gcards > Inc > FCKeditor > Editor > Dialog

Gcards1.44 > Gcards > Inc > FCKeditor > Editor > Dialog > Fck Docprops

Gcards1.44 > Gcards > Inc > FCKeditor > Editor > Dialog

Gcards1.44 > Gcards > Inc > FCKeditor > Editor > Dialog > Fck Image

Gcards1.44 > Gcards > Inc > FCKeditor > Editor > Dialog

Gcards1.44 > Gcards > Inc > FCKeditor > Editor > Dialog > Fck Link

Gcards1.44 > Gcards > Inc > FCKeditor > Editor > Dialog

Gcards1.44 > Gcards > Inc > FCKeditor > Editor > Dialog > Fck Select

Gcards1.44 > Gcards > Inc > FCKeditor > Editor > Dialog

Gcards1.44 > Gcards > Inc > FCKeditor > Editor > Dialog > Fck Spellerpages > Spellerpages

Gcards1.44 > Gcards > Inc > FCKeditor > Editor > Dialog > Fck Spellerpages > Spellerpages > Server Scripts

Gcards1.44 > Gcards > Inc > FCKeditor > Editor > Dialog > Fck Spellerpages > Spellerpages

Gcards1.44 > Gcards > Inc > FCKeditor > Editor > Dialog

Gcards1.44 > Gcards > Inc > FCKeditor > Editor > Dialog > Fck Universalkey

Gcards1.44 > Gcards > Inc > FCKeditor > Editor > Dialog

Gcards1.44 > Gcards > Inc > FCKeditor > Editor

Gcards1.44 > Gcards > Inc > FCKeditor > Editor > Images

Gcards1.44 > Gcards > Inc > FCKeditor > Editor > Js

Gcards1.44 > Gcards > Inc > FCKeditor > Editor > Lang

Gcards1.44 > Gcards > Inc > FCKeditor > Editor > Skins > Default

Gcards1.44 > Gcards > Inc > FCKeditor > Editor > Skins > Default > Images

Gcards1.44 > Gcards > Inc > FCKeditor > Editor > Skins > Default > Toolbar

Gcards1.44 > Gcards > Inc > FCKeditor > Editor > Source > Classes

Gcards1.44 > Gcards > Inc > FCKeditor > Editor > Source > Commandclasses

Gcards1.44 > Gcards > Inc > FCKeditor > Editor > Source > Globals

Gcards1.44 > Gcards > Inc > FCKeditor > Editor > Source > Internals

Gcards1.44 > Gcards > Inc > FCKeditor

Gcards1.44 > Gcards > Inc

Gcards1.44 > Gcards > Inc > ImageResizer

Gcards1.44 > Gcards > Inc > Lang

Gcards1.44 > Gcards > Inc

Gcards1.44 > Gcards > Inc > Phpmailer

Gcards1.44 > Gcards > Inc > Phpmailer > Language

Gcards1.44 > Gcards > Inc > Phpmailer

Gcards1.44 > Gcards > Inc

Gcards1.44 > Gcards

Fck Find.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_find.html
 *     "Find" dialog window.
 * 
 * Version:  2.0 RC3
 * Modified: 2005-02-09 13:52:09
 * 
 * File Authors:
 *         Frederico Caldeira Knabben (fredck <at> fckeditor <dot> net)
-->
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <meta content="noindex,  nofollow" name="robots">
        <script type="text/javascript">

var oEditor = window.parent.InnerDialogLoaded() ;

function OnLoad()
{
    // Whole word is available on IE only.
    if ( oEditor.FCKBrowserInfo.IsIE )
        document.getElementById('divWord').style.display = '' ;

    // First of all,  translate the dialog box texts.
    oEditor.FCKLanguageManager.TranslatePage( document ) ;

    window.parent.SetAutoSize( true ) ;
}

function btnStat(frm)
{
    document.getElementById('btnFind').disabled =
        ( document.getElementById('txtFind').value.length == 0 ) ;
}

function ReplaceTextNodes( parentNode,  regex,  replaceValue,  replaceAll )
{
    for ( var i = 0 ; i < parentNode.childNodes.length ; i++ )
    {
        var oNode = parentNode.childNodes[i] ;
        if ( oNode.nodeType == 3 )
        {
            var sReplaced = oNode.nodeValue.replace( regex,  replaceValue ) ;
            if ( oNode.nodeValue != sReplaced )
            {
                oNode.nodeValue = sReplaced ;
                if ( ! replaceAll )
                    return true ;
            }
        }
        else
        {
            if ( ReplaceTextNodes( oNode,  regex,  replaceValue ) )
                return true ;
        }
    }
    return false ;
}

function GetRegexExpr()
{
    if ( document.getElementById('chkWord').checked )
        var sExpr = '\\b' + document.getElementById('txtFind').value + '\\b' ;
    else
        var sExpr = document.getElementById('txtFind').value ;

    return sExpr ;
}

function GetCase()
{
    return ( document.getElementById('chkCase').checked ? '' : 'i' ) ;
}

var oRange = oEditor.FCK.EditorDocument.body.createTextRange() ;

function Ok()
{
    if ( document.getElementById('txtFind').value.length == 0 )
        return ;

    if ( oEditor.FCKBrowserInfo.IsIE )
        FindIE() ;
    else
        FindGecko() ;
}

function FindIE()
{
    var iFlags = 0 ;

    if ( chkCase.checked )
        iFlags = iFlags | 4 ;

    if ( chkWord.checked )
        iFlags = iFlags | 2 ;

    var bFound = oRange.findText( document.getElementById('txtFind').value,  1,  iFlags ) ;

    if ( bFound )
    {
        oRange.scrollIntoView() ;
        oRange.select() ;
        oRange.collapse(false) ;
        oLastRangeFound = oRange ;
    }
    else
    {
        oRange = oEditor.FCK.EditorDocument.body.createTextRange() ;
        alert( oEditor.FCKLang.DlgFindNotFoundMsg ) ;
    }
}

function FindGecko()
{
    var bCase = document.getElementById('chkCase').checked ;
    var bWord = document.getElementById('chkWord').checked ;

    // window.find( searchString,  caseSensitive,  backwards,  wrapAround,  wholeWord,  searchInFrames,  showDialog ) ;
    oEditor.FCK.EditorWindow.find( document.getElementById('txtFind').value,  bCase,  false,  false,  bWord,  false,  false ) ;

}
        </script>
    </head>
    <body onload="OnLoad()" scroll="no" style="OVERFLOW: hidden">
        <table cellSpacing="3" cellPadding="2" width="100%" border="0">
            <tr>
                <td nowrap>
                    <label for="txtFind" fckLang="DlgReplaceFindLbl">Find what:</label>&nbsp;
                </td>
                <td width="100%">
                    <input id="txtFind" onkeyup="btnStat(this.form)" style="WIDTH: 100%" tabIndex="1" type="text">
                </td>
                <td>
                    <input id="btnFind" style="WIDTH: 100%; PADDING-RIGHT: 5px; PADDING-LEFT: 5px" disabled
                        onclick="Ok();" type="button" value="Find" fckLang="DlgFindFindBtn">
                </td>
            </tr>
            <tr>
                <td valign="bottom" colSpan="3">
                    &nbsp;<input id="chkCase" tabIndex="3" type="checkbox"><label for="chkCase" fckLang="DlgReplaceCaseChk">Match
                        case</label>
                    <br>
                    <div id="divWord" style="DISPLAY: none">
                        &nbsp;<input id="chkWord" tabIndex="4" type="checkbox"><label for="chkWord" fckLang="DlgReplaceWordChk">Match
                            whole word</label>
                    </div>
                </td>
            </tr>
        </table>
    </body>
</html>


Other Postcards Scripts:

  • Gcards1.44
WebMaster Resources Home

©RingsWorld.com