aboutsummaryrefslogtreecommitdiff
path: root/includes/js/dojox/analytics/tests/test_analytics.html
blob: 9fb8757d04565cff8e46c67ed1147b4e4112950a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
	"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
	<title>Dojox Analytics Test</title>

	<script type="text/javascript" src="../../../dojo/dojo.js"
		djConfig="parseOnLoad: true, isDebug: true, usePlainJson: true, sendMethod: 'script', sendInterval: 5000, analyticsUrl: 'http://dojotoolkit.org/~dmachi/dojo-1.0/dojox/analytics/logger/dojoxAnalytics.php'"></script>
	<script type="text/javascript" src="../../../dijit/tests/_testCommon.js"></script>

	<script language="JavaScript" type="text/javascript">
		// include the analytics system
		dojo.require("dojox.analytics");

		// this plugin returns the informatin dojo collects when it launches 
		dojo.require("dojox.analytics.plugins.dojo");

		// this plugin return the information the window has when it launches
		// and it also ties to a few events such as window.option
		dojo.require("dojox.analytics.plugins.window");

		// this plugin tracks console. message, It logs console.error, warn, and 
		// info messages to the tracker.  It also defines console.rlog() which 
		// can be used to log only to the server.  Note that if isDebug() is disabled
		// you will still see the console messages on the sever, but not in the actual
		// browser console.
		dojo.require("dojox.analytics.plugins.consoleMessages");

		// tracks where a mouse is on a page an what it is over, periodically sampling
		// and storing this data
		dojo.require("dojox.analytics.plugins.mouseOver");

		//tracks mouse clicks on the page
		dojo.require("dojox.analytics.plugins.mouseClick");

		//tracks when the user has gone idle
		dojo.require("dojox.analytics.plugins.idle");
		
		dojo.require("dijit.TitlePane");
		dojo.require("dojo.parser");
		dojo.require("dojo.io.script");

		// widgets used inside subpage loaded via href=
		dojo.require("dijit.form.Button");
		dojo.require("dijit.form.ComboBox");

		dojo.addOnLoad(function(){console.info("Page Loaded Sample Message");});
	</script>

	<style type="text/css">
		@import "../../../dojo/resources/dojo.css";
		@import "../../../dijit/tests/css/dijitTests.css";
	</style>
</head>
<body>
	<table>
		<tr>
			<td colspan=3>
				<h1 class="testTitle">Dijit TitlePane Test</h1>
			</td>
		</tr>
		<tr>
			<td width="20%"></td>
			<td>
				<div dojoType="dijit.TitlePane" title="digg" style="width: 300px;">
					Lorem Ipsum Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Quisque
					iaculis, nulla id semper faucibus, pede tellus nonummy magna, vitae adipiscing
					orci arcu ut augue. Nunc condimentum, magna a vestibulum convallis, libero purus
					pulvinar orci, sed vestibulum urna sem ut pede. More Ipsum...
					Sed sollicitudin suscipit risus. Nam ullamcorper. Sed nisl lectus, pellentesque
					nec, malesuada eget, ornare a, libero. Lorem ipsum dolor sit amet,
					consectetuer adipiscing elit.

					<a href="http://cometdaily.com">cometdaily.com</a>
				</div>

				<div dojoType="dijit.TitlePane" title="Article 1" style="width: 300px;">
					Lorem Ipsum Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Quisque
					iaculis, nulla id semper faucibus, pede tellus nonummy magna, vitae adipiscing
					orci arcu ut augue. Nunc condimentum, magna a vestibulum convallis, libero purus
					pulvinar orci, sed vestibulum urna sem ut pede. More Ipsum...
					Sed sollicitudin suscipit risus. Nam ullamcorper. Sed nisl lectus, pellentesque
					nec, malesuada eget, ornare a, libero. Lorem ipsum dolor sit amet,
					consectetuer adipiscing elit.

					<a href="http://dojotoolkit.org">dojotoolkit.org</a>
				</div>
			</td>
			<td width="20%"></td>
		</tr>
	</table>
</body>
</html>