<?xml version="1.0" encoding="utf-8"?>
<Application>
	<AppTitle>Untitled Application</AppTitle>
	<AppShortName>MyApp</AppShortName>
	<Author>Author name</Author>
	<Version>1.0</Version>
	<VariablesScanned>False</VariablesScanned>
	<PageWidth>800</PageWidth>
	<PageHeight>500</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>
	<CustomCSS>
.scene {
  border: 1px solid #CCC;
  margin: 40px 0;
  position: relative;
  width: 210px;
  height: 140px;
  margin: 40px auto;
  perspective: 1000px;
}

.carousel {
  width: 100%;
  height: 100%;
  position: absolute;
  transform: translateZ(-288px);
  transform-style: preserve-3d;
  transition: transform 1s;
}

.carousel__cell {
  position: absolute;
  width: 190px;
  height: 120px;
  left: 10px;
  top: 10px;
  border: 2px solid black;
  line-height: 116px;
  font-size: 80px;
  font-weight: bold;
  color: white;
  text-align: center;
}

.carousel__cell:nth-child(9n+1) { background: hsla(  0, 100%, 50%, 0.8); }
.carousel__cell:nth-child(9n+2) { background: hsla( 40, 100%, 50%, 0.8); }
.carousel__cell:nth-child(9n+3) { background: hsla( 80, 100%, 50%, 0.8); }
.carousel__cell:nth-child(9n+4) { background: hsla(120, 100%, 50%, 0.8); }
.carousel__cell:nth-child(9n+5) { background: hsla(160, 100%, 50%, 0.8); }
.carousel__cell:nth-child(9n+6) { background: hsla(200, 100%, 50%, 0.8); }
.carousel__cell:nth-child(9n+7) { background: hsla(240, 100%, 50%, 0.8); }
.carousel__cell:nth-child(9n+8) { background: hsla(280, 100%, 50%, 0.8); }
.carousel__cell:nth-child(9n+0) { background: hsla(320, 100%, 50%, 0.8); }

.carousel__cell:nth-child(1) { transform: rotateY(  0deg) translateZ(288px); }
.carousel__cell:nth-child(2) { transform: rotateY( 40deg) translateZ(288px); }
.carousel__cell:nth-child(3) { transform: rotateY( 80deg) translateZ(288px); }
.carousel__cell:nth-child(4) { transform: rotateY(120deg) translateZ(288px); }
.carousel__cell:nth-child(5) { transform: rotateY(160deg) translateZ(288px); }
.carousel__cell:nth-child(6) { transform: rotateY(200deg) translateZ(288px); }
.carousel__cell:nth-child(7) { transform: rotateY(240deg) translateZ(288px); }
.carousel__cell:nth-child(8) { transform: rotateY(280deg) translateZ(288px); }
.carousel__cell:nth-child(9) { transform: rotateY(320deg) translateZ(288px); }
</CustomCSS>
	<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"/>
		<LibraryList name="Libraries"/>
		<PageList name="Main">
			<Components>
				<Page id="NewPage">
					<pageenter>BeginJS
var carousel = document.querySelector(&apos;.carousel&apos;);
var cellCount = 9;
var selectedIndex = 0;

function rotateCarousel() {
  var angle = selectedIndex / cellCount * -360;
  carousel.style.transform = &apos;translateZ(-288px) rotateY(&apos; + angle + &apos;deg)&apos;;
}

var prevButton = document.querySelector(&apos;.previous-button&apos;);
prevButton.addEventListener( &apos;click&apos;, function() {
  selectedIndex--;
  rotateCarousel();
});

var nextButton = document.querySelector(&apos;.next-button&apos;);
nextButton.addEventListener( &apos;click&apos;, function() {
  selectedIndex++;
  rotateCarousel();
});
EndJS</pageenter>
					<Components>
						<Container id="Container1">
							<left>100px</left>
							<top>110px</top>
							<width>600px</width>
							<height>220px</height>
							<style>border-width:1px;border-style:solid;background-color:#fff;</style>
							<html>&lt;div class=&quot;scene&quot;&gt;
  &lt;div class=&quot;carousel&quot;&gt;
    &lt;div class=&quot;carousel__cell&quot;&gt;1&lt;/div&gt;
    &lt;div class=&quot;carousel__cell&quot;&gt;2&lt;/div&gt;
    &lt;div class=&quot;carousel__cell&quot;&gt;3&lt;/div&gt;
    &lt;div class=&quot;carousel__cell&quot;&gt;4&lt;/div&gt;
    &lt;div class=&quot;carousel__cell&quot;&gt;5&lt;/div&gt;
    &lt;div class=&quot;carousel__cell&quot;&gt;6&lt;/div&gt;
    &lt;div class=&quot;carousel__cell&quot;&gt;7&lt;/div&gt;
    &lt;div class=&quot;carousel__cell&quot;&gt;8&lt;/div&gt;
    &lt;div class=&quot;carousel__cell&quot;&gt;9&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;</html>
						</Container>
						<PushButton id="PushButton1">
							<left>298px</left>
							<top>350px</top>
							<width>100px</width>
							<height>50px</height>
							<css_class>previous-button</css_class>
							<caption>Previous</caption>
						</PushButton>
						<PushButton id="PushButton2">
							<left>408px</left>
							<top>350px</top>
							<width>100px</width>
							<height>50px</height>
							<css_class>next-button</css_class>
							<caption>Next</caption>
						</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>
