Subversion Repositories Applications.papyrus

Rev

Rev 431 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 431 Rev 521
Line 6... Line 6...
6
 * 		http://www.opensource.org/licenses/lgpl-license.php
6
 * 		http://www.opensource.org/licenses/lgpl-license.php
7
 * 
7
 * 
8
 * For further information visit:
8
 * For further information visit:
9
 * 		http://www.fckeditor.net/
9
 * 		http://www.fckeditor.net/
10
 * 
10
 * 
-
 
11
 * "Support Open Source software. What about a donation today?"
-
 
12
 * 
11
 * File Name: fckdebug.html
13
 * File Name: fckdebug.html
12
 * 	This is the Debug window.
14
 * 	This is the Debug window.
13
 * 	It automatically popups if the Debug = true in the configuration file.
15
 * 	It automatically popups if the Debug = true in the configuration file.
14
 * 
16
 * 
15
 * File Authors:
17
 * File Authors:
Line 30... Line 32...
30
 
32
 
31
function Initialize()
33
function Initialize()
32
{
34
{
33
	oWindow = window.frames[ 'eOutput' ]
35
	oWindow = window.frames[ 'eOutput' ]
34
	oWindow.document.open() ;
36
	oWindow.document.open() ;
35
	oWindow.document.write( '<div id="divMsg"></div>' ) ;
37
	oWindow.document.write( '<div id="divMsg"><\/div>' ) ;
36
	oWindow.document.close() ;
38
	oWindow.document.close() ;
37
	oDiv	= oWindow.document.getElementById('divMsg') ;
39
	oDiv	= oWindow.document.getElementById('divMsg') ;
Line 38... Line 40...
38
}
40
}
39
 
41
 
40
function Output( message, color )
42
function Output( message, color )
41
{
43
{
Line 42... Line 44...
42
	if ( color )
44
	if ( color )
43
		message = '<font color="' + color + '">' + message + '</font>' ;
45
		message = '<font color="' + color + '">' + message + '<\/font>' ;
44
		
46
		
Line 70... Line 72...
70
			( d.getMinutes() + 100 + '' ).substr( 1,2 ) + ':' + 
72
			( d.getMinutes() + 100 + '' ).substr( 1,2 ) + ':' + 
71
			( d.getSeconds() + 100 + '' ).substr( 1,2 ) + ':' + 
73
			( d.getSeconds() + 100 + '' ).substr( 1,2 ) + ':' + 
72
			( d.getMilliseconds() + 1000 + '' ).substr( 1,3 ) ;
74
			( d.getMilliseconds() + 1000 + '' ).substr( 1,3 ) ;
Line 73... Line 75...
73
 
75
 
74
		var oMsgDiv = oWindow.document.createElement( 'div' ) ;
76
		var oMsgDiv = oWindow.document.createElement( 'div' ) ;
75
		oMsgDiv.innerHTML = sTime + ': <b>' + sMessage + '</b>' ;
77
		oMsgDiv.innerHTML = sTime + ': <b>' + sMessage + '<\/b>' ;
76
		oDiv.appendChild( oMsgDiv ) ;
78
		oDiv.appendChild( oMsgDiv ) ;
77
		oMsgDiv.scrollIntoView() ;
79
		oMsgDiv.scrollIntoView() ;
78
	}
80
	}