PageRenderTime 23ms CodeModel.GetById 14ms app.highlight 7ms RepoModel.GetById 1ms app.codeStats 0ms

/source/Plug-in/xajax/examples/xul/xulClient.xul

http://prosporous.googlecode.com/
Unknown | 44 lines | 40 code | 4 blank | 0 comment | 0 complexity | 613f50eb7644d36f60ed3152a7a5ec77 MD5 | raw file
 1<?php
 2	echo '<?xml version="1.0" encoding="UTF-8"?>';
 3	echo '<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>';
 4?>
 5<!--
 6	File: xulClient.xul
 7
 8	Example which demonstrates a XUL application with xajax.  XUL will only
 9	work in Mozilla based browsers like Firefox.
10	
11	Title: XUL Example - Client
12	
13	Please see <copyright.inc.php> for a detailed description, copyright
14	and license information.
15-->
16<!--
17	Section: XUL example
18	
19	- <xulServer.php> (this file)
20	- <xulClient.xul>
21	- <xulApplication.php>
22-->
23<!--
24	@package xajax
25	@version $Id: xulClient.xul 362 2007-05-29 15:32:24Z calltoconstruct $
26	@copyright Copyright (c) 2005-2006 by Jared White & J. Max Wilson
27	@license http://www.xajaxproject.org/bsd_license.txt BSD License
28-->
29<window id="example-window" title="Exemple 2.2.1"
30        xmlns:html="http://www.w3.org/1999/xhtml"
31        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
32    <script type="application/x-javascript">
33		// <![CDATA[
34		xajax = {};
35		xajax.config = {};
36		xajax.config.waitCursor = false;
37		xajax.config.statusMessages = true;
38		xajax.config.requestURI = './xulServer.php';
39		// ]]>
40	</script>
41	<script type="application/x-javascript" src="../../xajax_js/xajax_core.js"></script>
42	<!--<script type="application/x-javascript" src="../../xajax_js/xajax_debug.js"></script>-->
43	<button id="testButton" oncommand="xajax.call('test', { parameters: [] } );" label="Test" />
44</window>