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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T04:40:53+00:00 2026-05-19T04:40:53+00:00

I have 4 JQuery Tabs in an ASP.Net MVC 3 appication. All tabs display

  • 0

I have 4 JQuery Tabs in an ASP.Net MVC 3 appication. All tabs display correct content when tabs are clicked. However, I want to display Login/Registration content when a user clicks the Login/Registration link at the top of the UI page. The login/reg should display underneath the 4 tabs with none of the tab content. So the tabs need to remain visible. Although, none of them would be selected.

The problem is, both the tab content and the login/registration content shows at the same time. I need only the login/reg content that is unrelated to the tabs to display. I also need all tabs to be unselected. Any help is appreciated!

  <script type="text/javascript">
     $(function () {            
        $('#tabs').tabs();
     });
 </script>       

<div id="menu" style=" background-color:White; width:1024px; height:auto; float:left;">

            <!-- Must have class= info to prevent flash of just content on refresh -->
            <div id="tabs" class="ui-tabs ui-widget ui-widget-content ui-corner-all" style=" position:relative; border:0px;"   >
                <ul class="ui-tabs-nav">                        
                    <li><a href="#tabs-1" >Home</a></li>
                    <li><a href="#tabs-2" >Statistics</a></li>
                    <li><a href="#tabs-3" >Topo Maps</a></li>
                    <li><a href="#tabs-4" >FAQs</a></li>
                </ul>
                <div id="tabs-1" class="ui-tabs-hide ui-tabs-panel ">@Html.Partial("../Home/Home") </div>
                <div id="tabs-2" class="ui-tabs-hide ui-tabs-panel ">@Html.Partial("../Statistics/Statistics")</div>
                <div id="tabs-3" class="ui-tabs-hide ui-tabs-panel ">@Html.Partial("../Maps/Maps")</div>
                <div id="tabs-4" class="ui-tabs-hide ui-tabs-panel ">@Html.Partial("../Home/FAQs")</div>
            </div>

        </div>
  • 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-19T04:40:53+00:00Added an answer on May 19, 2026 at 4:40 am

    Here you have an example http://jsfiddle.net/YnZRa/1/

    Steps

    1. Add a new tab with <li
      style="display:none;"><a
      href="#tabs-4">Tab 4</a></li>
    2. Add the content in a new div
    3. Edit the script with this

      //Edit the script this way to show the content with a click in a link
      
      $(document).ready(function(){
      
      var $tabs = $( "#tabs" ).tabs();
      
      $('.goto').click(function() { // bind click event to link
          $tabs.tabs('select', 3); // switch to fourth tab
          return false;
      });
      });
      

      Hope it works!! 🙂

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

Sidebar

Related Questions

I have an ASP.NET MVC view on which I've placed jQuery tabs. I'm loading
I have one question regarding using JQuery UI tab control in the asp.net mvc
I have created an interface using jQuery UI Tabs, however one of my requirements
I have an ASP.NET MVC application which uses plain HTML. I quickly need to
I am using asp.net mvc, C# and jquery. My site is uses ajax heavily.
I have a asp.net MVC app and I'm trying to get the jqgrid 3.5
Hi i have a MasterPage (ASP.Net MVC) which contains a couple of loads for
I have been using telerik extensions for an asp.net mvc project, more specifically the
I have found jQuery to be a great tool to simplify my MVC Views.
I have some jQuery/JavaScript code that I want to run only when there is

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.