1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
3 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4 * Copyright (C) 2003-2010 Frederico Caldeira Knabben
8 * Licensed under the terms of any of the following licenses at your
11 * - GNU General Public License Version 2 or later (the "GPL")
12 * http://www.gnu.org/licenses/gpl.html
14 * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
15 * http://www.gnu.org/licenses/lgpl.html
17 * - Mozilla Public License Version 1.1 or later (the "MPL")
18 * http://www.mozilla.org/MPL/MPL-1.1.html
22 * Useful page that enumerates all icons in the skins strips.
24 <html xmlns="http://www.w3.org/1999/xhtml">
26 <title>FCKeditor - View Icons Strips</title>
27 <style type="text/css">
34 background-repeat: no-repeat;
42 <script type="text/javascript">
44 window.onload = function()
46 var eImg1 = document.createElement( 'img' ) ;
47 eImg1.onload = Img_OnLoad ;
48 eImg1.src = 'default/fck_strip.gif' ;
50 var eImg2 = document.createElement( 'img' ) ;
51 eImg2.onload = Img_OnLoad ;
52 eImg2.src = 'office2003/fck_strip.gif' ;
54 var eImg3 = document.createElement( 'img' ) ;
55 eImg3.onload = Img_OnLoad ;
56 eImg3.src = 'silver/fck_strip.gif' ;
59 var iTotalStrips = 3 ;
64 if ( iMaxHeight < this.height )
65 iMaxHeight = this.height ;
69 if ( iTotalStrips == 0 )
70 LoadIcons( iMaxHeight / 16 ) ;
73 function LoadIcons( total )
75 var xIconsTable = document.getElementById( 'xIconsTable' ) ;
77 for ( var i = 0 ; i < total ; i++ )
79 var eRow = xIconsTable.insertRow(-1) ;
81 var eCell = eRow.insertCell(-1) ;
82 eCell.innerHTML = i + 1 ;
84 eCell = eRow.insertCell(-1) ;
85 eCell.align = 'center' ;
86 eCell.style.border = '#dcdcdc 1px solid' ;
87 eCell.innerHTML = '<div class="TB_Button_Image"><img src="default/fck_strip.gif" style="top:-' + ( i * 16 ) + 'px;"><\/div>' ;
89 eCell = eRow.insertCell(-1) ;
90 eCell.align = 'center' ;
91 eCell.style.border = '#dcdcdc 1px solid' ;
92 eCell.innerHTML = '<div class="TB_Button_Image"><img src="office2003/fck_strip.gif" style="top:-' + ( i * 16 ) + 'px;"><\/div>' ;
94 eCell = eRow.insertCell(-1) ;
95 eCell.align = 'center' ;
96 eCell.style.border = '#dcdcdc 1px solid' ;
97 eCell.innerHTML = '<div class="TB_Button_Image"><img src="silver/fck_strip.gif" style="top:-' + ( i * 16 ) + 'px;"><\/div>' ;
104 <table id="xIconsTable">
108 <td align="center" colspan="3">
112 <td width="80" align="center">
114 <td width="80" align="center">
116 <td width="80" align="center">