| 
      
   | 
    | 
  
       
          
                    How do I get the content to refresh when I click on a tabs javascript?
       
      Return to Recent Questions
 
  
Q:
How do I get the content to refresh when I click on a tabs javascript?  
 On the following URL how did you get the body content into each
tab?
     
A:
See, for each item you should assign the ID property of the content DIV. 
  
    ["Style Name","contentName", "", "", "", "", "1", "", "", ],  
    ["-","", "", "", "", "", "0", "", "", ],     
    ["Style Description","contentDescription", "", "", "", "", "", "", "", ],  
    ["-","", "", "", "", "", "0", "", "", ],                               
    ["Style Variations","contentVariations", "", "", "", "", "", "", "", ],  
    ["-","", "", "", "", "", "0", "", "", ],       
    ["Empty","", "", "", "", "", "2", "", "", ],   
  
And on your html page you should create DIV's with such ID. 
  
         <div id="contentName" style="height: 0%; visibility: hidden;" class="tabPage">  
           <br><br><br>      
           <p align=center><img src="img/style01_title.gif" width=140 height=90 alt="Glass Style Tabs"></p> 
  
           <br><br><br>         
  
           You should paste your content here!!!!!   
         </div> 
  
 
  
Return to Recent Questions
           Related: 
         
         - Feb 07, 2007 - Can you create/destroy tabs javascript with only client side javascript
 - June 07, 2007 - I cannot add icon before each item in the sub-menu in javascript tabs.
 - June 20, 2007 - I am trying to make the javascript tabs all the same width...
 - June 20, 2007 - I would like to create two level of tabs javascript. How I can do it?
 - July 07, 2007 - My question is that not all my javascript html tabs point to the same  target
 - Aug 23, 2007 - I get "coches" word in black when the javascript tabs loads the first time.
 - May 03, 2009 - With Doctype the content of my tabs javascript menu object doesn't show in IE.
 - May 23, 2009 - I'm using your javascript onclick menu tabs. What exactly is bselectedSmItem for?
 - May 25, 2009 - I used the drop menu creator to create a simple tab example, it initially appears fine , but when I *first* click on a tab I always get a javascript error...
 - Aug 16, 2009 - Can you tell me why I would be receiving the following menu javascript error: tabs[...].id?
 - Aug 20, 2009 - Each time I try to make an image as a tab that image is applied to all javascript menu master tabs which I do not want.
           
               
   |