<s:execute> <s:task b:action="show" /> </s:execute> <s:include b:url="../../controls/backbase/b-taskbar/b-taskbar.xml" /> <s:include b:url="../../controls/backbase/b-window/b-window.xml" /> <s:include b:url="../../controls/backbase/b-windowarea/b-windowarea.xml" /> <s:include b:url="../../controls/backbase/b-contextmenu/b-contextmenu.xml" /> <b:panelset b:rows="* 28px"> <b:panel> <!-- windowarea --> <b:windowarea id="windowarea" style="height:100%;width:100%;border:0;"> <b:window id="window_selector" b:open="true" b:resize="none" b:windowbuttons="minimize" style="left:40%;top:20%;width:290px;height:286px;"> <b:windowhead>Please select</b:windowhead> <b:windowbody b:innerstyle="background-image: url('gfx/bbabe.jpg')"> <a style="position:absolute;left:65px;top:50px;"> <s:event b:on="command"> <s:task b:action="load" b:url="window-01.xml" b:test="not(id('window_news'))" b:destination="id('windowarea')" b:mode="aslastchild" /> <s:task b:action="trigger" b:event="open" b:target="id('window_news')" /> <s:task b:action="focus" b:target="id('window_news')" /> </s:event> News</a> <a style="position:absolute;left:65px;top:88px;"> <s:event b:on="command"> <s:task b:action="load" b:url="window-02.xml" b:test="not(id('window_finance'))" b:destination="id('windowarea')" b:mode="aslastchild" /> <s:task b:action="trigger" b:event="open" b:target="id('window_finance')" /> <s:task b:action="focus" b:event="open" b:target="id('window_finance')" /> </s:event> Finance</a> <a style="position:absolute;left:65px;top:127px;"> <s:event b:on="command"> <s:task b:action="load" b:url="window-03.xml" b:test="not(id('window_weather'))" b:destination="id('windowarea')" b:mode="aslastchild" /> <s:task b:action="trigger" b:event="open" b:target="id('window_weather')" /> <s:task b:action="focus" b:event="open" b:target="id('window_weather')" /> </s:event> Weather</a> <a style="position:absolute;left:65px;top:162px;"> <s:event b:on="command"> <s:task b:action="load" b:url="window-04.xml" b:test="not(id('window_movie'))" b:destination="id('windowarea')" b:mode="aslastchild" /> <s:task b:action="trigger" b:event="open" b:target="id('window_movie')" /> <s:task b:action="focus" b:event="open" b:target="id('window_movie')" /> </s:event> Movies</a> </b:windowbody> </b:window> </b:windowarea> </b:panel> <b:panel style="overflow:hidden;"> <b:contextmenu id="menu"> <b:contextmenurow b:label="News"> <s:event b:on="command"> <s:task b:action="load" b:url="window-01.xml" b:test="not(id('window_news'))" b:destination="id('windowarea')" b:mode="aslastchild" /> <s:task b:action="trigger" b:event="open" b:target="id('window_news')" /> <s:task b:action="focus" b:target="id('window_news')" /> </s:event> </b:contextmenurow> <b:contextmenurow b:label="Finance"> <s:event b:on="command"> <s:task b:action="load" b:url="window-02.xml" b:test="not(id('window_finance'))" b:destination="id('windowarea')" b:mode="aslastchild" /> <s:task b:action="trigger" b:event="open" b:target="id('window_finance')" /> <s:task b:action="focus" b:event="open" b:target="id('window_finance')" /> </s:event> </b:contextmenurow> <b:contextmenurow b:label="Weather"> <s:event b:on="command"> <s:task b:action="load" b:url="window-03.xml" b:test="not(id('window_weather'))" b:destination="id('windowarea')" b:mode="aslastchild" /> <s:task b:action="trigger" b:event="open" b:target="id('window_weather')" /> <s:task b:action="focus" b:event="open" b:target="id('window_weather')" /> </s:event> </b:contextmenurow> <b:contextmenurow b:label="Movies"> <s:event b:on="command"> <s:task b:action="load" b:url="window-04.xml" b:test="not(id('window_movie'))" b:destination="id('windowarea')" b:mode="aslastchild" /> <s:task b:action="trigger" b:event="open" b:target="id('window_movie')" /> <s:task b:action="focus" b:event="open" b:target="id('window_movie')" /> </s:event> </b:contextmenurow> </b:contextmenu> <!-- "windowmanager" --> <b:taskbar id="taskbar" b:windowarea="id('windowarea')"> <b:startbutton> <s:event b:on="command"> <s:task b:action="select" b:target="id('menu')" /> <s:task b:action="position" b:target="id('menu')" b:type="place" b:mode="before-start" /> </s:event> </b:startbutton> <td class="b-taskbar-notification" id="clock"> <s:event b:on="construct" b:action="js" b:value="runClock();" /> 00:00 </td> </b:taskbar> </b:panel> </b:panelset>