<?xml version="1.0" encoding="utf-8"?>
<Application>
	<AppTitle>neoQuiz Plugin Sample App</AppTitle>
	<AppShortName>MyApp</AppShortName>
	<Author>Author name</Author>
	<Version>1.0</Version>
	<DesignDeviceName>Samsung Galaxy Tab 7</DesignDeviceName>
	<Variables>[quizJSON]</Variables>
	<VariablesScanned>True</VariablesScanned>
	<PageWidth>1024</PageWidth>
	<PageHeight>600</PageHeight>
	<AutoSizeWidth>False</AutoSizeWidth>
	<AutoSizeHeight>False</AutoSizeHeight>
	<HideScrollbars>False</HideScrollbars>
	<PublishPlatform>WebApp</PublishPlatform>
	<EmptyBuildFolder>False</EmptyBuildFolder>
	<AppIcon>C:\Users\sinli\Documents\VisualNeoWeb\Libraries\img\default-icon.png</AppIcon>
	<LanguageCode>en</LanguageCode>
	<ThemeColor>#000000</ThemeColor>
	<MobileOSTypes>[AndroidOS,iOS,WindowsPhoneOS]</MobileOSTypes>
	<WindowState>normal</WindowState>
	<TitleBar>True</TitleBar>
	<Sizeable>True</Sizeable>
	<MaximizeBtn>False</MaximizeBtn>
	<MinimizeBtn>True</MinimizeBtn>
	<SystemMenu>True</SystemMenu>
	<ContextMenu>False</ContextMenu>
	<AlwaysOnTop>False</AlwaysOnTop>
	<ShowInTaskbar>True</ShowInTaskbar>
	<SingleInstance>False</SingleInstance>
	<ChromeKioskMode>False</ChromeKioskMode>
	<Components>
		<FunctionList name="Subroutines">
			<Components>
				<Function name="start">
					<Code>AlertBox &quot;Start&quot; &quot;The quiz has started&quot; &quot;&quot;</Code>
				</Function>
				<Function name="finish">
					<Code>AlertBox &quot;Start&quot; &quot;The quiz has finished&quot; &quot;&quot;</Code>
				</Function>
			</Components>
		</FunctionList>
		<LibraryList name="Libraries"/>
		<PageList name="Main">
			<Components>
				<Page id="NewPage">
					<style>overflow-y:visible</style>
					<pageenter>neoQuizNewQuiz [quizJSON] &quot;neoQuiz!&quot; &quot;This is a test&quot; &quot;Thank you for playing this quiz!&quot; &quot;Awesome!&quot; &quot;Very well!&quot; &quot;Quite well&quot; &quot;Not so bad&quot; &quot;Poor&quot;
neoQuizAddQuestion [quizJSON] &quot;What number is the letter A in the English alphabet?&quot; &quot;&lt;span&gt;That&apos;s right!&lt;/span&gt; The letter A is the first letter in the alphabet!&quot; &quot;&lt;span&gt;Uhh no.&lt;/span&gt; It&apos;s the first letter of the alphabet. Did you actually &lt;em&gt;go&lt;/em&gt; to kindergarden?&quot; &quot;1&quot; true &quot;14&quot; false &quot;18&quot; false &quot;23&quot; false
neoQuizAddQuestion [quizJSON] &quot;Where are you right now? Select ALL that apply&quot; &quot;&lt;span&gt;Brilliant!&lt;/span&gt; You&apos;re seriously a genius, (wo)man.&quot; &quot;&lt;span&gt;Not Quite.&lt;/span&gt; You&apos;re actually on Planet Earth, in The Milky Way, At a computer. But nice try.&quot; &quot;Planet Earth&quot; true &quot;Pluto&quot; false &quot;At a computing device&quot; true &quot;The Milky Way&quot; true
neoQuizAddQuestion [quizJSON] &quot;Are you a human being?&quot; &quot;&lt;span&gt;Perfect!&lt;/span&gt; Glad to meet you&quot; &quot;&lt;span&gt;Oh!&lt;/span&gt; Then you must be a robot for sure.&quot; &quot;Yes&quot; true &quot;No&quot; false &quot;&quot; false &quot;&quot; false
neoQuizSetText &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;Try again&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;Test: %name&quot; &quot;&quot; &quot;&quot;
neoQuizSetOptions false 0 false false false true true false
neoQuizSetEvents &quot;start&quot; &quot;finish&quot; &quot;&quot; &quot;&quot; &quot;&quot; &quot;&quot;
neoQuizStart &quot;Container1&quot; [quizJSON]</pageenter>
					<Components>
						<Container id="Container1">
							<left>32px</left>
							<top>32px</top>
							<width>960px</width>
							<height>504px</height>
							<style>background-color:#fff;border-style:solid;border-width:1px;padding-bottom:10px;padding-left:10px;padding-right:10px;overflow-y:auto</style>
							<css_class>quizArea</css_class>
						</Container>
						<Container id="Container2">
							<left>32px</left>
							<top>544px</top>
							<width>544px</width>
							<height>48px</height>
							<style>border-width:1px;border-style:solid;background-color:#fff;</style>
							<html>[neoQuizScore] - [neoQuizTotalQuestions] - [neoQuizLevel]</html>
						</Container>
						<PushButton id="PushButton1">
							<left>584px</left>
							<top>544px</top>
							<width>136px</width>
							<height>48px</height>
							<caption>Print</caption>
							<click>.Put content at the top of the page.
TopCenterApp

.Be sure the page is large enough to show the all quizz content
BeginJS
  $(&quot;#NewPage&quot;).css(&quot;height&quot;,&quot;1000px&quot;);
EndJS

.Hide border
SetObjectStyle &quot;Container1&quot; &quot;border-width&quot; &quot;0px&quot;

.Position de Quizz Container at the top left 100% width and height auto to show all content
SetObjectStyle &quot;Container1&quot; &quot;top&quot; &quot;0px&quot;
SetObjectStyle &quot;Container1&quot; &quot;left&quot; &quot;0px&quot;
SetObjectStyle &quot;Container1&quot; &quot;width&quot; &quot;100%&quot;
SetObjectStyle &quot;Container1&quot; &quot;height&quot; &quot;auto&quot;

.Hide all the elements we don&apos;t want to print
SetObjectStyle &quot;Container2&quot; &quot;display&quot; &quot;none&quot;
SetObjectStyle &quot;PushButton1&quot; &quot;display&quot; &quot;none&quot;

.Wait to be sure all the positioning is done
Wait 200
  BeginJS
    window.print();
    $(&quot;#NewPage&quot;).css(&quot;height&quot;,&quot;600px&quot;);
  EndJS
  .Return all elements to previous styles.
  ClearObjectStyles &quot;Container1&quot;
  ClearObjectStyles &quot;Container2&quot;
  ClearObjectStyles &quot;PushButton1&quot;
  CenterApp
EndWait
</click>
						</PushButton>
					</Components>
				</Page>
			</Components>
		</PageList>
		<PageList name="Master">
			<Components>
				<Page id="MasterPage"/>
			</Components>
		</PageList>
		<PageList name="Dialog">
			<Components>
				<Page id="NewDialog">
					<Components>
						<DialogContainer id="DialogContainer1">
							<left>0px</left>
							<top>0px</top>
							<width>1024px</width>
							<height>600px</height>
							<close_button>False</close_button>
						</DialogContainer>
					</Components>
				</Page>
			</Components>
		</PageList>
	</Components>
</Application>
