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

  • Home
  • SEARCH
  • 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 8066687
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T12:05:06+00:00 2026-06-05T12:05:06+00:00

The coding is a bit messy and all over the place so forgive me

  • 0

The coding is a bit messy and all over the place so forgive me for that, but I’m in a rush to finish this ASAP. Now with that little disclaimer out of the way…

I’ve been asked to create a form that has 3 layers of seperation that you can navigate using two menus – a layer of tabs at the top to navigate the first level. Then the side menu will allow the user to navigate the question fields another level down, with the final level being an accordion display of questions. It has to be done this way, my clients as stubborn as they are refuse it to be done another way. It also has to completely be IE6 compatible ><

You can see my code dump here: jsFiddle

Alright. The issue. Whats happening is that firstly, when clicking the tabs at the top you should be able navigate between the two tabs I have as examples, this worked in jquery v.3 but now it hides the current tab along with the other. I have no idea whats going. The other is exactly the same regarding the side menu, instead of showing the next selected questions it just hides them aswell.

I’ve been working on this for ages to the point where I can’t make anything of it. If anyone can lend a fresh set of eyes or at least point me in the right direction here that would be great. Again, sorry for the state of my code, this is my first attempt at something like this.

Cheers!

  • 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-05T12:05:08+00:00Added an answer on June 5, 2026 at 12:05 pm

    it seems like your tab variable you pass to selectedTab gets the complete url prepended to it. so #tab1 for example becomes http://fiddle.jshell.net/pPgzg/2/#tab1 on jsfiddle.

    I added a quick fix to selectedTab, that seems to fix it.

    http://fiddle.jshell.net/pPgzg/2/


    i checked it again and found out the problem i described above can be prevented if you use .attr('href'); instead of .prop('href');.

    The other thing, which i think is also responsible for a couple of problems is, that you have duplicate IDs. IDs have to be unique. Now if you do $('#question1') for example, can’t know which question will be opened.

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

Sidebar

Related Questions

I've been coding a bit of Javascript to place a ducky randomly on this
So, I was just coding a bit today, and I realized that I don't
I'm doing a bit of coding, where I have to write this sort of
I'm just learning core data and mostly coping, but having a little bit of
i'm coding a 4-bit binary adder with accumulator: library ieee; use ieee.std_logic_1164.all; entity binadder
I have this as my homework. Have a bit of trouble coding it. I
I've been coding my own bit-vectors (represented as strict tuples over Word64 values) as
Haven't been coding in a bit, but took on a project for a friend.
I know this code-bit does not conform very much to best coding practices, and
I was browsing these PHP Coding Guidelines (a bit outdated but very interesting), and

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.