Subversion Repositories Applications.papyrus

Rev

Rev 1688 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1688 Rev 1921
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
<!--
2
<!--
3
 * FCKeditor - The text editor for internet
3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2006 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
-
 
5
 *
-
 
6
 * == BEGIN LICENSE ==
5
 * 
7
 *
6
 * Licensed under the terms of the GNU Lesser General Public License:
8
 * Licensed under the terms of any of the following licenses at your
7
 * 		http://www.opensource.org/licenses/lgpl-license.php
9
 * choice:
8
 * 
10
 *
9
 * For further information visit:
11
 *  - GNU General Public License Version 2 or later (the "GPL")
10
 * 		http://www.fckeditor.net/
12
 *    http://www.gnu.org/licenses/gpl.html
11
 * 
13
 *
12
 * "Support Open Source software. What about a donation today?"
14
 *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
-
 
15
 *    http://www.gnu.org/licenses/lgpl.html
13
 * 
16
 *
14
 * File Name: _fckviewstrips.html
17
 *  - Mozilla Public License Version 1.1 or later (the "MPL")
15
 * 	Useful page that enumerates all icons in the skins strips.
18
 *    http://www.mozilla.org/MPL/MPL-1.1.html
16
 * 
19
 *
17
 * File Authors:
20
 * == END LICENSE ==
-
 
21
 *
18
 * 		Frederico Caldeira Knabben (fredck@fckeditor.net)
22
 * Useful page that enumerates all icons in the skins strips.
19
-->
23
-->
20
<html xmlns="http://www.w3.org/1999/xhtml">
24
<html xmlns="http://www.w3.org/1999/xhtml">
21
<head>
25
<head>
22
	<title>FCKeditor - View Icons Strips</title>
26
	<title>FCKeditor - View Icons Strips</title>
23
	<style type="text/css">
27
	<style type="text/css">
24
		.TB_Button_Image
28
		.TB_Button_Image
25
		{
29
		{
26
			overflow: hidden;
30
			overflow: hidden;
27
			width: 16px;
31
			width: 16px;
28
			height: 16px;
32
			height: 16px;
29
			margin: 3px;
33
			margin: 3px;
30
			background-repeat: no-repeat;
34
			background-repeat: no-repeat;
31
		}
35
		}
32
 
36
 
33
		.TB_Button_Image img
37
		.TB_Button_Image img
34
		{
38
		{
35
			position: relative;
39
			position: relative;
36
		}
40
		}
37
	</style>
41
	</style>
38
	<script type="text/javascript">
42
	<script type="text/javascript">
39
 
43
 
40
window.onload = function()
44
window.onload = function()
41
{
45
{
42
	var eImg1 = document.createElement( 'img' ) ;
46
	var eImg1 = document.createElement( 'img' ) ;
43
	eImg1.onreadystatechange = Img_OnReadyStateChange ;
47
	eImg1.onload = Img_OnLoad ;
44
	eImg1.src = 'default/fck_strip.gif' ;
48
	eImg1.src = 'default/fck_strip.gif' ;
45
 
49
 
46
	var eImg2 = document.createElement( 'img' ) ;
50
	var eImg2 = document.createElement( 'img' ) ;
47
	eImg2.onreadystatechange = Img_OnReadyStateChange ;
51
	eImg2.onload = Img_OnLoad ;
48
	eImg2.src = 'office2003/fck_strip.gif' ;
52
	eImg2.src = 'office2003/fck_strip.gif' ;
49
 
53
 
50
	var eImg3 = document.createElement( 'img' ) ;
54
	var eImg3 = document.createElement( 'img' ) ;
51
	eImg3.onreadystatechange = Img_OnReadyStateChange ;
55
	eImg3.onload = Img_OnLoad ;
52
	eImg3.src = 'silver/fck_strip.gif' ;
56
	eImg3.src = 'silver/fck_strip.gif' ;
53
}
57
}
54
 
58
 
55
var iTotalStrips = 3 ;
59
var iTotalStrips = 3 ;
56
var iMaxHeight = 0 ;
60
var iMaxHeight = 0 ;
57
 
61
 
58
function Img_OnReadyStateChange()
62
function Img_OnLoad()
59
{
-
 
60
	if ( this.readyState == 'complete' )
-
 
61
	{
63
{
62
		if ( iMaxHeight < this.height )
64
	if ( iMaxHeight < this.height )
63
			iMaxHeight = this.height ;
65
		iMaxHeight = this.height ;
64
		
66
 
65
		iTotalStrips-- ;
67
	iTotalStrips-- ;
66
		
68
 
67
		if ( iTotalStrips == 0 )
69
	if ( iTotalStrips == 0 )
68
			LoadIcons( iMaxHeight / 16 ) ;
-
 
69
	}
70
		LoadIcons( iMaxHeight / 16 ) ;
70
}
71
}
71
 
72
 
72
function LoadIcons( total )
73
function LoadIcons( total )
73
{
74
{
-
 
75
	var xIconsTable = document.getElementById( 'xIconsTable' ) ;
-
 
76
 
74
	for ( var i = 0 ; i < total ; i++ )
77
	for ( var i = 0 ; i < total ; i++ )
75
	{
78
	{
76
		var eRow = xIconsTable.insertRow(-1) ;
79
		var eRow = xIconsTable.insertRow(-1) ;
77
		
80
 
78
		var eCell = eRow.insertCell(-1) ;
81
		var eCell = eRow.insertCell(-1) ;
79
		eCell.innerHTML = i + 1 ;
82
		eCell.innerHTML = i + 1 ;
80
		
83
 
81
		eCell = eRow.insertCell(-1) ;
84
		eCell = eRow.insertCell(-1) ;
82
		eCell.align = 'center' ;
85
		eCell.align = 'center' ;
83
		eCell.style.border = '#dcdcdc 1px solid' ;
86
		eCell.style.border = '#dcdcdc 1px solid' ;
84
		eCell.innerHTML = '<div class="TB_Button_Image"><img src="default/fck_strip.gif" style="top=-' + ( i * 16 ) + 'px;"></div>' ;
87
		eCell.innerHTML = '<div class="TB_Button_Image"><img src="default/fck_strip.gif" style="top:-' + ( i * 16 ) + 'px;"><\/div>' ;
85
 
88
 
86
		eCell = eRow.insertCell(-1) ;
89
		eCell = eRow.insertCell(-1) ;
87
		eCell.align = 'center' ;
90
		eCell.align = 'center' ;
88
		eCell.style.border = '#dcdcdc 1px solid' ;
91
		eCell.style.border = '#dcdcdc 1px solid' ;
89
		eCell.innerHTML = '<div class="TB_Button_Image"><img src="office2003/fck_strip.gif" style="top=-' + ( i * 16 ) + 'px;"></div>' ;
92
		eCell.innerHTML = '<div class="TB_Button_Image"><img src="office2003/fck_strip.gif" style="top:-' + ( i * 16 ) + 'px;"><\/div>' ;
90
 
93
 
91
		eCell = eRow.insertCell(-1) ;
94
		eCell = eRow.insertCell(-1) ;
92
		eCell.align = 'center' ;
95
		eCell.align = 'center' ;
93
		eCell.style.border = '#dcdcdc 1px solid' ;
96
		eCell.style.border = '#dcdcdc 1px solid' ;
94
		eCell.innerHTML = '<div class="TB_Button_Image"><img src="silver/fck_strip.gif" style="top=-' + ( i * 16 ) + 'px;"></div>' ;
97
		eCell.innerHTML = '<div class="TB_Button_Image"><img src="silver/fck_strip.gif" style="top:-' + ( i * 16 ) + 'px;"><\/div>' ;
95
	}
98
	}
96
}
99
}
97
 
100
 
98
	</script>
101
	</script>
99
</head>
102
</head>
100
<body>
103
<body>
101
	<table id="xIconsTable">
104
	<table id="xIconsTable">
102
		<tr>
105
		<tr>
103
			<td rowspan="2">
106
			<td rowspan="2">
104
				Index</td>
107
				Index</td>
105
			<td align="center" colspan="3">
108
			<td align="center" colspan="3">
106
				Skins</td>
109
				Skins</td>
107
		</tr>
110
		</tr>
108
		<tr>
111
		<tr>
109
			<td width="80" align="center">
112
			<td width="80" align="center">
110
				default</td>
113
				default</td>
111
			<td width="80" align="center">
114
			<td width="80" align="center">
112
				office2003</td>
115
				office2003</td>
113
			<td width="80" align="center">
116
			<td width="80" align="center">
114
				silver</td>
117
				silver</td>
115
		</tr>
118
		</tr>
116
	</table>
119
	</table>
117
</body>
120
</body>
118
</html>
121
</html>