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 564609
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:47:05+00:00 2026-05-13T12:47:05+00:00

what i an trying to do is use jquery and a ul menu and

  • 0

what i an trying to do is use jquery and a ul menu and on click it loads section divs from an external file and displays them in a content div and in thos section div i need this code to display it’s results

<script type='text/javascript'>
imvu_avatar_name = "TheDarkRaver";
imvu_panel_name = "rankings_panel";
imvu_section_name = "mp_right";
imvu_panel_width = 320;
imvu_panel_height = 228;
</script>
<script type='text/javascript'
src='http://www.imvu.com/catalog/web_panel_js.php'>
</script>

if u wanna see it in action just go to
http://tdr.host22.com/sections.html

and to see where i want them to display

http://tdr.host22.com/

a link to the source of the html and script
my javascript in external html is not loading

  • 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-05-13T12:47:05+00:00Added an answer on May 13, 2026 at 12:47 pm

    Looking at your site, you probably want to do this:

    Put this somewhere on your page, maybe after all of your other content

    <style>
    #hiddenData{display:none;}
    </style>
    <div id="hiddenData">
        <div class="about">About text</div>
        <div class="home">Home text</div>
    </div>
    

    Then in your JS file put these functions (adapted from my javascript in external html is not loading):

    var GetData = function(id){
        return $("#hiddenData > div." + id);
    };
    $(document).ready( function() {
      var sections = $("#menu a");
      var loading = $("#loading");
      var content = $("#content");
    
      function showLoading() {
        loading.css( {
          visibility: 'visible',
          opacity: 1,
          display: 'block'
        } );
      }
    
      function hideLoading(){
        loading.fadeTo(1000, 0);
      }
    
      sections.click( function() {
        showLoading();
        content.slideUp();
        GetData(this.id);
        hideLoading();
        content.slideDown();
      } );
    } );
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to use jquery ajax to get data from a php file.
I am trying to use an Apycom menu requiring jQuery 1.3.2 on the same
I am trying to use jquery to show my div containers coordinate with my
I have a standard ul-based CSS navigation menu. I'm trying to use Jquery to
I am trying to use jquery to add a class to my css menu
I'm looking to go away from our current according style menu and use jquery
I´m trying to use the JQuery UI Autocomplete plugin ( click to see the
I'm trying to use jquery cookies to store the state of a tree menu
I'm trying to use the jQuery UI to style my HTML select menu but
I'm trying to use JQuery to show/hide div tags based on the selected index

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.