Jump to content

can't work this out...


toolman

Recommended Posts

Hi there,

 

I have a 3-tabbed box which I want to display 3 lots of info in.

 

I currently have a directory script which displays the latest listings. This part works fine, but for some reason, they only load when click on one tab and back to it. Also, for some reason, it is appearing on the second tab instead of the first tab in which it is placed.

 

You can see what I mean here: http://tinyurl.com/36ted89

... if you scroll down you will see a box on the right with 3 tabs. I am trying to get the first tab "Recent" to display these listings.

 

This is the code I have:

 

<div class="tab" id="tab_top">
        <div class="bottom">
            <div class="cont" style="height: 218px; display: block;">
            
                <ul class="small active" style="display: block;">
                <!-- latest listings -->
                <li class="">
                <?php echo $template_sidebox_recent; ?>
                </li>
                </ul>
                <!-- end latest listing -->
                        
                <ul class="big" style="display: none;">
                <li>test</li>
                </ul>
                        
                        
                <ul class="small" style="display: none;">
                <li>test</li>
                </ul>
                
                
                
            </div>
        </div>
    </div>

 

I know this is a long shot, but I would really appreciate it if someone could help me out.

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/208597-cant-work-this-out/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.