Ignore:
Timestamp:
04/10/06 00:14:22 (19 years ago)
Author:
giegl
Message:
  1. switched to NOF v9
  2. fixed navigation menu
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP-Internal/trunk/Webpage/NOF/gtp_webpage/Styles/GameTools1-v19a/template/siteStylePreview.xsl

    r714 r740  
    1313<head> 
    1414<link rel="stylesheet" href="display.css" type="text/css" /> 
     15 
     16 
    1517<script> 
    1618 
     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 
    1728  //Get the absolute path to navabar script 
    18   var fsiApp = new ActiveXObject("FSI.FSIApplication"); 
     29  var fsiApp = new ActiveXObject("FSI.FSIApplication.9000000.0"); 
    1930  document.write("&lt;script language='javascript' src='" + fsiApp.AppDirectory + "NetObjects System/rollover.js'&gt;&lt;\/script&gt;" ); 
    20  
    2131  fsiApp = null;   
    2232       
     
    211221   new NOF_Main_Menu(new NOF_Menu_Item('NavigationBar2_1', 'vertical', 'slideRight', 130, 0,  
    212222     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"/>', 
    214224        new NOF_Menu_Item('NavigationBar2_2',  'vertical', 'fadeRight', 130, 0,          
    215225          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"/>'))), 
    217227        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"/>')))); 
    219229                                 
    220230   function preLoad(obj, path, array) {     
     
    242252 
    243253<xsl:template match="ButtonState" mode="button1"> 
    244   <img id="NavigationButton2" name="NavigationButton1"  
    245   src="{../ButtonState[position() = 2 ]/Image/@path}"  
     254  <img id="NavigationButton1" name="NavigationButton1"  
     255  src="{../ButtonState[position() = 3 ]/Image/@path}"  
    246256  onLoad="preLoad(this,'{../ButtonState[position() = 4]/Image/@path}',0)" border="0" alt="Button" title="Button" /> 
    247257</xsl:template> 
     
    250260  <img id="NavigationButton2" name="NavigationButton2"  
    251261  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" />   
    253263</xsl:template> 
    254264 
     
    256266  <img id="NavigationButton3" name="NavigationButton3" 
    257267  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" /> 
    259269</xsl:template> 
    260270 
     
    262272  <img id="NavigationButton4" name="NavigationButton4"  
    263273  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" /> 
    265275</xsl:template> 
    266276 
Note: See TracChangeset for help on using the changeset viewer.