I've been working on creating a menu tab with a navigation bar on the same page within a web form using asp.net C#. The "Home" tab works fine, but I'm having trouble with the "Study Setup" tab. Here is the HTML code from the content page where the Jquery UI library is utilized. Any advice would be greatly appreciated. Thank you.
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="TestTabs.aspx.cs" Inherits="ImageTableEditorNew.TestTabs" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.0-rc.1/themes/smoothness/jquery-ui.css">
<script src="//code.jquery.com/jquery-1.11.3.js"></script>
<script src="//code.jquery.com/ui/1.12.0-rc.1/jquery-ui.js"></script>
<style>
#tabs-left{
position:relative;
padding-left: 6.5em;
}
#tabs-left2 {
position:relative;
padding-left: 6.5em;
}
#tabs-left .ui-tabs-nav
{
position: absolute;
left: 0.25em;
top: 0.25em;
bottom: 0.25em;
width: 9em;
padding: 0.2em 0 0.2em 0.2em;
}
#tabs-left2 .ui-tabs-nav2
{
position: absolute;
left: 0.25em;
top: 0.25em;
bottom: 0.25em;
width: 9em;
padding: 0.2em 0 0.2em 0.2em;
}
#tabs-left .ui-tabs-nav li
{
right: 1px;
width: 100%;
border-right: none;
border-bottom-width: 1px !important;
-moz-border-radius: 4px 0px 0px 4px;
-webkit-border-radius: 4px 0px 0px 4px;
border-radius: 4px 0px 0px 4px;
overflow: hidden;
}
#tabs-left2 .ui-tabs-nav2 li
{
right: 1px;
width: 100%;
border-right: none;
border-bottom-width: 1px !important;
-moz-border-radius: 4px 0px 0px 4px;
-webkit-border-radius: 4px 0px 0px 4px;
border-radius: 4px 0px 0px 4px;
overflow: hidden;
}
#tabs-left .ui-tabs-nav li.ui-tabs_selected,
#tabs-left .ui-tabs-nav li.ui-state-active
{
border-right: 1px solid transparent;
}
#tabs-left2 .ui-tabs-nav2 li.ui-tabs_selected,
#tabs-left2 .ui-tabs-nav2 li.ui-state-active
{
border-right: 1px solid transparent;
}
#tabs-left .ui-tabs-nav li a
{
float: right;
...
$(function() {
$( "#tabs" ).tabs();
$("#tabs-left").tabs();
$("#tabs-left2").tabs();
});
</script>
</asp:Content>