Code Search for Developers
 
 
  

fck_smiley.html from crlove at Krugle


Show fck_smiley.html syntax highlighted

<!--
 * FCKeditor - The text editor for internet
 * Copyright (C) 2003-2006 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/
 * 
 * "Support Open Source software. What about a donation today?"
 * 
 * File Name: fck_smiley.html
 * 	Smileys (emoticons) dialog window.
 * 
 * File Authors:
 * 		Frederico Caldeira Knabben (fredck@fckeditor.net)
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="robots" content="noindex, nofollow" />
		<style type="text/css">
			.HandIE { cursor: hand ; }
			.HandMozilla { cursor: pointer ; }
		</style>
		<script type="text/javascript">

var oEditor = window.parent.InnerDialogLoaded() ;

window.onload = function ()
{
	// First of all, translate the dialog box texts
	oEditor.FCKLanguageManager.TranslatePage(document) ;
}

function InsertSmiley( url )
{
	var oImg = oEditor.FCK.CreateElement( 'IMG' ) ;
	oImg.src = url ;
	oImg.setAttribute( '_fcksavedurl', url ) ;

	window.parent.Cancel() ;
}

function over(td)
{
	td.className = 'LightBackground HandIE HandMozilla' ;
}

function out(td)
{
	td.className = 'DarkBackground HandIE HandMozilla' ;
}
		</script>
	</head>
	<body scroll="no">
		<table cellpadding="2" cellspacing="2" align="center" border="0" width="100%" height="100%">
			<script type="text/javascript">
<!--
var FCKConfig = oEditor.FCKConfig ;

var sBasePath = FCKConfig.SmileyPath ;
var aImages   = FCKConfig.SmileyImages ;
var cols      = FCKConfig.SmileyColumns ;

var i = 0 ;
while (i < aImages.length)
{
	document.write("<TR>") ;
	for(var j = 0 ; j < cols ; j++)
	{
		if (aImages[i])
		{
			var sUrl = sBasePath + aImages[i] ;
			document.write("<TD width='1%' align='center' class='DarkBackground HandIE HandMozilla' onclick='InsertSmiley(\"" + sUrl.replace(/"/g, '\\"' ) + "\")' onmouseover='over(this)' onmouseout='out(this)'>") ;
			document.write("<img src='" + sUrl + "' border='0'>") ;
		}
		else
			document.write("<TD width='1%' class='DarkBackground'>&nbsp;") ;
		document.write("<\/TD>") ;
		i++ ;
	}
	document.write("<\/TR>") ;
}
//-->
			</script>
		</table>
	</body>
</html>




See more files for this project here

crlove

Online psychological-test-based friend-making system.

Project homepage: http://sourceforge.net/projects/crlove
Programming language(s): Java,JavaScript,Ruby,XML
License: other

  common/
    images/
      locked.gif
      reset.gif
      unlocked.gif
    fck_dialog_common.css
    fck_dialog_common.js
    fcknumericfield.htc
    moz-bindings.xml
  fck_about/
    lgpl.html
    logo_fckeditor.gif
    logo_fredck.gif
  fck_docprops/
    fck_document_preview.html
  fck_flash/
    fck_flash.js
    fck_flash_preview.html
  fck_image/
    fck_image.js
    fck_image_preview.html
  fck_link/
    fck_link.js
  fck_select/
    fck_select.js
  fck_spellerpages/
    spellerpages/
      server-scripts/
        spellchecker.cfm
        spellchecker.php
        spellchecker.pl
      blank.html
      controlWindow.js
      controls.html
      spellChecker.js
      spellchecker.html
      spellerStyle.css
      wordWindow.js
  fck_template/
    images/
      template1.gif
      template2.gif
      template3.gif
  fck_universalkey/
    00.gif
    data.js
    diacritic.js
    dialogue.js
    fck_universalkey.css
    keyboard_layout.gif
    multihexa.js
  fck_about.html
  fck_anchor.html
  fck_button.html
  fck_checkbox.html
  fck_colorselector.html
  fck_docprops.html
  fck_find.html
  fck_flash.html
  fck_form.html
  fck_hiddenfield.html
  fck_image.html
  fck_link.html
  fck_listprop.html
  fck_paste.html
  fck_radiobutton.html
  fck_replace.html
  fck_select.html
  fck_smiley.html
  fck_source.html
  fck_specialchar.html
  fck_spellerpages.html
  fck_table.html
  fck_tablecell.html
  fck_template.html
  fck_textarea.html
  fck_textfield.html
  fck_universalkey.html