Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8188707
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T03:00:39+00:00 2026-06-07T03:00:39+00:00

The code is not displaying my PHP elements and I would like to know

  • 0

The code is not displaying my PHP elements and I would like to know why.

Here is the HTML I am using:

<div class="tablocation">

    <ul class="css-tabs">
      <li><a class="current" href="/wp-content/themes/blue-and-grey/uni-general.php">General</a></li>
      <li><a href="/wp-content/themes/blue-and-grey/uni-courses.htm">Courses</a></li>
      <li><a href="/wp-content/themes/blue-and-grey/uni-inthearea.htm">In the area</a></li>
      <li><a href="/wp-content/themes/blue-and-grey/uni-sportsandfacilities.htm">Sports & facilities</a></li>
    </ul>

    <div class="clear"></div>

    <div class="css-panes">
      <div style="display:block"></div>
    </div>  

Take the first instance, for the uni-general.php – that won’t load but the other files for the .htm will load. As soon as it is a PHP Document it won’t.

Also – Below is the script that I am using to load the documents.

<script>
    $(function() {
        $("ul.css-tabs").tabs("div.css-panes > div", {
        effect: 'ajax',
        onBeforeClick: function(event, i) {
        // get the pane to be opened
        var pane = this.getPanes().eq(i);

            // only load once. remove the if ( ... ){ } clause if
            // you want the page to be loaded every time
        if (pane.is(":empty")) {
            // load it with a page specified in the tab's href
            // attribute
            pane.load(this.getTabs().eq(i).attr("href"));
        }
        }
    });
    });
</script>

I can supply the PHP documents if needed but to be fair I don’t think that is where the problem is.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T03:00:41+00:00Added an answer on June 7, 2026 at 3:00 am

    Doesn’t look too custom from the standard plugin functionality.

    Just load your tabs $("ul.css-tabs").tabs();

    Using jQuery UI, and whatever you have the href will load via ajax in the tab.

    *Fetch external content via Ajax for the tabs by setting an href value in the tab links.*

    http://jqueryui.com/demos/tabs/#ajax

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my below given code, the second DIV section is not executing. The PHP
I am using following code. When the query crashes, it is not displaying the
The following code is not displaying the image from IIS 6/PHP 5.2.9. It works
I wrote this code but its not displaying the images someone know how to
When using PHP code and HTML throughout the whole page of a website, is
I'm having trouble displaying my mysql table using php code. All it displays is
I would like to hide the unused js and css files from the php
Mysqli code I have is not displaying the results of a successful search. The
In my appDelegate.m I have this code, but the UILabel is not displaying, but
Why does this code not print an exception stack trace? public class Playground {

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.