Jump to content

JQuery Tab Issues


TeddyKiller

Recommended Posts

Here are the 3 javascript files. - Can't upload them to here as itdoesn't allow .js files. I can't post them either because.. as youknow, JQuery is huge.

 

http://pure-warfare.com/purehead/assets/jquery.js

http://pure-warfare.com/purehead/assets/tabs.js

http://pure-warfare.com/purehead/assets/jquery-ui-1.7.2.custom.min.js

 

Whats the problem? Well.. I have JQuery tabs, and only 2 of themdisplay content. The HTML is at the bottom. It includes some pages inPHP, the first 2 work. There is no reason why the other two wouldn't. Iwould edit the JS, but I don't know anything about JS so I'd only makea mess. I know the files are .. compact and messy. I can't help thereas when I tried to space it out, I ended up with errors.

 

I've changed the names of the tabs, and there was no use.

 

Basically, the problem is.. the two first tabs display the content itshould do.. as for the other 3, just doesn't display anything. It maynot be displaying the div.. although I'm not sure.

 

HTML

                    <div id="tabHolder">
                        <ul class="idTabs" id="tabs">
                            <li><a href="#account">Account Settings</a></li> 
                            <li><a href="#clan">Clan Settings</a></li> 
                            <li><a href="#member">Member Settings</a></li> 
                            <li><a href="#challenge">Challenge Settings</a></li>
                            <li><a href="#update">Update</a></li>
                        </ul> 
                     </div>
                   
                 <div class="user-content">
                 
                    <div id="account">
                        <?php define('Access', TRUE); include './usercp/accsettings.php'; ?>
                    </div>
                    
                    <div id="clan">
                        <?php define('Access', TRUE); include './usercp/clansettings.php'; ?>
                    </div> 
                    
                    <div id="member">
                        <?php define('Access', TRUE); include './usercp/membsettings.php'; ?>
                    </div> 
                    
                    <div id="challenge">
                        <?php define('Access', TRUE); include './usercp/challsettings.php'; ?>
                    </div>
                     
                    <div id="update"> 
                        <?php define('Access', TRUE); include './usercp/update.php'; ?>
                    </div>
                         
                 </div>

 

Hope you can help!

Link to comment
https://forums.phpfreaks.com/topic/201371-jquery-tab-issues/
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.