1 Reply Latest reply on Apr 7, 2010 10:53 AM by WRobN1

    XML problem - Button instead of title...

    WRobN1 Level 1

      I have this button:

      <table class="Button"  >
           <tr>
            <td style="padding-right:0px" title ="Home">
                <a href="#" title="Home" style="background-image:url(/Buttons/Home.png);width:172px;height:75px;display:block;"><br/>
                </a>
            </td>
           </tr>
      </table>
      

       

      Im changing layout completly. Therefore im now using xml to retrieve data.

      However the xml had <title>TAB 1</title> to search for the {title}

       

      How do i change this so i can use my button?

       

      I tryd this but it wont work:

      <?xml version="1.0" encoding="UTF-8"?>
      <tabs>
           <tab>
                <title>
                     <table class="Button">
                          <tr>
                          <td style="padding-right:0px" title ="Home">
                          <a href="#" title="Home" style="background-image:url(../Buttons/Home.png);width:172px;height:75px;display:block;">
                          </a></td>
                          </tr>
                     </table>
                </title>
      
                <url>examples/tab2.html</url>
           </tab>
      
           <tab>
                <title>Tab2</title>
                <url>examples/tab2.html</url>
           </tab>
      </tabs>
      

       

      What do i need to use instead of "title"?

       

      The xml uses <title> to point to the title.

      The html witch calls the title uses {title}

       

      The script above shows Tab2 but the button for the first title is invisible...