home *** CD-ROM | disk | FTP | other *** search
/ Thomson (Residential) / TGSTPv7203.iso / mac / QIW / PageLayouts / productSelection.xml < prev    next >
Extensible Markup Language  |  2008-02-08  |  4KB  |  110 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--!DOCTYPE window SYSTEM "pagelayouts.dtd"-->
  3. <window>
  4.     <textFrame name="textbox" >
  5.         <position>
  6.             <x>25</x>
  7.             <y>90</y>
  8.             <width>678</width>
  9.             <height>65</height>
  10.         </position>
  11.     </textFrame>
  12.     <image name="productGraphic">
  13.         <position>
  14.             <x>40</x>
  15.             <y>185</y>
  16.             <width>648</width>
  17.             <height>250</height>
  18.         </position>        
  19.     </image>
  20.     <listBox name="product">
  21.         <position>
  22.             <x>25</x>
  23.             <y>155</y>
  24.             <width>200</width>
  25.             <height>100</height>
  26.         </position>
  27.         <list>
  28.             <!-- instruction appears the first time the page is displayed and disappears as soon as you select an item -->
  29.             <instruction><tr(Select your product)></instruction>
  30.             <listItem value="546v v7">TG546v v7</listItem>
  31.             <listItem value="576 v7">TG576 v7</listItem>
  32.             <listItem value="585 v7">TG585 v7</listItem>
  33.             <listItem value="585n">TG585n</listItem>            
  34.             <listItem value="587n">TG587n</listItem>
  35.             <listItem value="605">TG605</listItem>
  36.             <listItem value="608">TG608</listItem>
  37.             <listItem value="780 BUS">TG780 Business</listItem>
  38.             <listItem value="787">TG787</listItem>
  39.             <listItem value="787v">TG787v</listItem>
  40.             <listItem value="787v BUS">TG787v Business</listItem>
  41.             <!--listItem value="790">TG790</listItem-->
  42.             <listItem value="otherProduct">tr(Other)</listItem>
  43.         </list>
  44.         <action>
  45.             <saveValueToVariable>productNumber</saveValueToVariable>            
  46.             <addCondition>%productNumber%</addCondition>
  47.             
  48.             <!-- productSelected condition triggers the Next button, and the animation showed on the page -->
  49.             <addCondition>productSelected</addCondition>
  50.             
  51.             <!-- add the conditions that apply to the product -->
  52.             <addCondition show="546v v7">housing-st,wallmount,vdsl</addCondition>
  53.             <addCondition show="576 v7">housing-tg,wallmount,wlan,SSID-TG</addCondition>
  54.             <addCondition show="585 v7">housing-tg,wallmount,wlan,SSID-TG</addCondition>
  55.             <addCondition show="585n">housing-tg,wallmount,wlan,wlan-n,SSID-TG</addCondition>
  56.             <addCondition show="587n">housing-tg,wallmount,wlan,wlan-n,SSID-TG</addCondition>
  57.             <addCondition show="605">housing-st,wallmount</addCondition>
  58.             <addCondition show="608">housing-st,wallmount</addCondition>
  59.             <addCondition show="780 BUS">housing-st,wallmount,wlan,SSID-TG,voice</addCondition>
  60.             <addCondition show="787">housing-tg,wallmount,wlan,SSID-TG,voice</addCondition>
  61.             <addCondition show="787v">housing-st,wallmount,wlan,SSID-TG,voice</addCondition>
  62.             <addCondition show="787v BUS">housing-st,wallmount,wlan,SSID-TG,voice</addCondition>
  63.             <addCondition show="790">housing-tg,wallmount,wlan,SSID-ST,voice</addCondition>
  64.             <addCondition show="otherProduct">housing-tg,wallmount,wlan,SSID-TG</addCondition>
  65.  
  66.             <!-- specify where the product animations are located -->
  67.             <setVariable variable="productGraphicsFolder">images/%productNumber%</setVariable>
  68.             <setVariable variable="productGraphicsFolder" show="546v v7">images/546v-v7</setVariable>
  69.             <setVariable variable="productGraphicsFolder" show="576 v7">images/576-v7</setVariable>
  70.             <setVariable variable="productGraphicsFolder" show="585 v7">images/585-v7</setVariable>
  71.             <setVariable variable="productGraphicsFolder" show="780 BUS">images/780-BUS</setVariable>    
  72.             <setVariable variable="productGraphicsFolder" show="787v BUS">images/787v-BUS</setVariable>    
  73.         </action>
  74.     </listBox>
  75.     <button name="next" show="productSelected">
  76.         <label>tr(Next)</label>
  77.         <position>
  78.             <x>142</x>
  79.             <y>440</y>            
  80.             <width>120</width>
  81.             <height>24</height>
  82.         </position>
  83.         <background>
  84.             <default>images/btn_next_up.swf</default>
  85.             <hover>images/btn_next_down.swf</hover>
  86.             <pressed>images/btn_next_down.swf</pressed>
  87.         </background>        
  88.         <colorDefinitions>
  89.             <default>
  90.                 <color>%backgroundcolor01%</color>
  91.                 <textColor>%companycolor02%</textColor>
  92.                 <borderColor>%companycolor02%</borderColor>
  93.             </default>
  94.             <hover>
  95.                 <color>%backgroundcolor01%</color>
  96.                 <textColor>%companycolor02%</textColor>
  97.                 <borderColor>%companycolor01%</borderColor>
  98.             </hover>
  99.             <pressed>
  100.                 <color>%backgroundcolor01%</color>
  101.                 <textColor>%companycolor01%</textColor>
  102.                 <borderColor>%companycolor01%</borderColor>
  103.             </pressed>
  104.         </colorDefinitions>
  105.         <action>        
  106.             <goToNext />                    
  107.         </action>
  108.     </button>
  109. </window>
  110.