Changeset 740 for GTP-Internal/trunk/Webpage/NOF/gtp_webpage/Styles/GameTools1-v19a/template/siteStylePreview.xsl
- Timestamp:
- 04/10/06 00:14:22 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP-Internal/trunk/Webpage/NOF/gtp_webpage/Styles/GameTools1-v19a/template/siteStylePreview.xsl
r714 r740 13 13 <head> 14 14 <link rel="stylesheet" href="display.css" type="text/css" /> 15 16 15 17 <script> 16 18 19 function NOF_Menu(){} 20 function NOF_Main_Menu(){} 21 function NOF_Menu_Item(){} 22 function NOF_Menu_Button(){} 23 function preLoad(){}; 24 function F_loadRollover(){}; 25 function F_roll(){} 26 27 17 28 //Get the absolute path to navabar script 18 var fsiApp = new ActiveXObject("FSI.FSIApplication ");29 var fsiApp = new ActiveXObject("FSI.FSIApplication.9000000.0"); 19 30 document.write("<script language='javascript' src='" + fsiApp.AppDirectory + "NetObjects System/rollover.js'><\/script>" ); 20 21 31 fsiApp = null; 22 32 … … 211 221 new NOF_Main_Menu(new NOF_Menu_Item('NavigationBar2_1', 'vertical', 'slideRight', 130, 0, 212 222 new NOF_Menu_Button('#','<xsl:value-of select="../Navbar/NavbarState[position() = 1]/Button[position() = 1]/ButtonState[position() = 1]/Image/@path"/>', 213 '<xsl:value-of select="./NavbarState[position() = 1]/Button[position() = 1]/ButtonState[position() = 3]/Image/@path"/>',223 '<xsl:value-of select="./NavbarState[position() = 1]/Button[position() = 1]/ButtonState[position() = 2]/Image/@path"/>', 214 224 new NOF_Menu_Item('NavigationBar2_2', 'vertical', 'fadeRight', 130, 0, 215 225 new NOF_Menu_Button('#','<xsl:value-of select="./NavbarState[position() = 1]/Button[position() = 1]/ButtonState[position() = 1]/Image/@path"/>', 216 '<xsl:value-of select="./NavbarState[position() = 1]/Button[position() = 1]/ButtonState[position() = 3]/Image/@path"/>'))),226 '<xsl:value-of select="./NavbarState[position() = 1]/Button[position() = 1]/ButtonState[position() = 2]/Image/@path"/>'))), 217 227 new NOF_Menu_Button('#','<xsl:value-of select="./NavbarState[position() = 1]/Button[position() = 1]/ButtonState[position() = 1]/Image/@path"/>', 218 '<xsl:value-of select="./NavbarState[position() = 1]/Button[position() = 1]/ButtonState[position() = 3]/Image/@path"/>'))));228 '<xsl:value-of select="./NavbarState[position() = 1]/Button[position() = 1]/ButtonState[position() = 2]/Image/@path"/>')))); 219 229 220 230 function preLoad(obj, path, array) { … … 242 252 243 253 <xsl:template match="ButtonState" mode="button1"> 244 <img id="NavigationButton 2" name="NavigationButton1"245 src="{../ButtonState[position() = 2]/Image/@path}"254 <img id="NavigationButton1" name="NavigationButton1" 255 src="{../ButtonState[position() = 3 ]/Image/@path}" 246 256 onLoad="preLoad(this,'{../ButtonState[position() = 4]/Image/@path}',0)" border="0" alt="Button" title="Button" /> 247 257 </xsl:template> … … 250 260 <img id="NavigationButton2" name="NavigationButton2" 251 261 src="{//Navbar/NavbarState/Button/ButtonState[position() = 1]/Image/@path}" 252 onLoad="preLoad(this,'{../ButtonState[position() = 3]/Image/@path}', new Array('NavigationBar4_1', 'vertical', 'slideRight', 130, 0))" border="0" alt="Button" title="Button" />262 onLoad="preLoad(this,'{../ButtonState[position() = 2]/Image/@path}', new Array('NavigationBar4_1', 'vertical', 'slideRight', 130, 0))" border="0" alt="Button" title="Button" /> 253 263 </xsl:template> 254 264 … … 256 266 <img id="NavigationButton3" name="NavigationButton3" 257 267 src="{../ButtonState[position() = 1]/Image/@path}" 258 onLoad="preLoad(this,'{../ButtonState[position() = 3]/Image/@path}',0)" border="0" alt="Button" title="Button" />268 onLoad="preLoad(this,'{../ButtonState[position() = 2]/Image/@path}',0)" border="0" alt="Button" title="Button" /> 259 269 </xsl:template> 260 270 … … 262 272 <img id="NavigationButton4" name="NavigationButton4" 263 273 src="{../ButtonState[position() = 1]/Image/@path}" 264 onLoad="preLoad(this,'{../ButtonState[position() = 3]/Image/@path}',0)" border="0" alt="Button" title="Button" />274 onLoad="preLoad(this,'{../ButtonState[position() = 2]/Image/@path}',0)" border="0" alt="Button" title="Button" /> 265 275 </xsl:template> 266 276
Note: See TracChangeset
for help on using the changeset viewer.