Forums

Show multiple pages on homepage in different javascripted tabs? (2 posts)

  1. ahainen
    Member
    Posted 1 year ago #

    The site I'm trying to mimic is http://www.mybiolumix.com.

    If you go there and in the center is a box with 5 different tabs you can click on and each reveals different information.

    I am porting this site over to WordPress as it currently is just HTML.

    I cannot for the life of me get it so that each tab is just a specific page and to just display a different page in each of the tabs.

    I'm trying to use

    <div class="tabber">
    
         <div class="tabbertab">
    	  <h2> <?php echo get_the_title(2) ?></h2>
    	  <p>
    		<?php
            	query_posts('page_id=2');
    			the_content();
            ?>
    		</p>
         </div>
    
         <div class="tabbertab">
    	  <h2> <?php echo get_the_title(9) ?></h2>
    	  <p>
    		<?php
            	query_posts('page_id=2');
    			the_content();
            ?>
    	  </p>
         </div>
    
    </div>

    and that doesn't work at all. All it does is show the About page in every tab and does nothing between tab switching.

    The tabbing javascript I'm using is located at:
    http://www.barelyfitz.com/projects/tabber/

  2. sherodesigns
    Member
    Posted 1 year ago #

    Did you figure out the problem to your issue? I am having the same issue.

Topic Closed

This topic has been closed to new replies.

About this Topic