javascript editor java script text editor html wysiwyg editor dhtml tex editor editing made easy wysiwyg text editor web page memo field text editor

PRODUCTS

JavaScript Projects

PHP Projects

Javascript Tools

Website Templates

SUPPORT

Standard vs PRO

FAQ

Forum

Contacts

Site Map

CODETHAT

Sales & Prices

Downloads

Users Testimonials

Affiliate registration

Our Customers

STUDIO   GRID   TABLE   MENU   TREE   XPBAR   HINT   EDITOR   TAB   FORM   CALENDAR   SCROLLER   SHOPPINGCART   TREEPHP   PACKER

User Manual

Introduction    Configure editor look    Configure editor pallete

Data from the database    Data Saving    E-mail sending

Using icons    Editor Reference    Standard vs PRO

123Guide

Examples

Download

Order PRO Now

Themes

CODETHATEDITOR MANUAL

Using Icons in Editor

It is possible to use an additional set of icons for simply insert in the text in CodeThatEditor now. The given opportunity is useful for forums, chats, etc.

To use the bar with a set of additional icons you should add the following code in the definition editorDef.

//USE ICONS DEFINITION BLOCK
useIcons : true, //indicator whether icons bar will use
iconsDef : {
	//definition of icons bar
	iconsLayout : "bottom", //layout of bar [top, bottom]
	//Defintion of set of icons. Count of icons is unlimited.
	icons : [
	{
		src : "icons/biggrin.gif", width : "16", height : "16", alt : "LOL"
	}, //Object : {src:String, width:int, height:int, alt:String}
	...,
	"icons/frown.gif", //String src
	...
	]
}

Possible values for iconsLayout are top, bottom.

Length of icons array is unlimited. Each element of it can be Object or String.

If element is Object, it defines icon as {src:String, width:int, height:int, alt:String} and get you possibility set for each icon alternative text.

If element is String, it defines only path to icon.

Note! Using of an additional set of icons probably only in PRO version of editor.

Example - Using icons

You can see an example and complete code here - Using icons [popup]

Read more about CodeThatEditor >>

[ Home ]  [ Forum ]  [ Contacts ]  [ Site Map ]  [ News ]  [ Links ]  [ Sales & Prices ]  [ Downloads ]

[ Go Top ]

© CodeThat.com, 2003-2008
Design by XTLabs, Inc.