[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 466
  • Last Modified:

Sublist item in left navigation panel

Hi Experts,
                   I have attached the code along with the snap current and desired snap shots of left navigation panel of my website.

                   I want the ticket Status as a sublist item below Alerting with a round Bullet. how do I do  that?
0
aman0711
Asked:
aman0711
  • 4
  • 2
1 Solution
 
CEHJCommented:
I thought we'd been through this... You need to nest another <ul> inside the <li> of Alerting
0
 
aman0711Author Commented:
Yeah we did,,, actually CEHJ, after adding another ul tag inside li, I am getting a huge gap between the upper and lower list items.

0
 
aman0711Author Commented:
hi CEHJ,
                  As you told before I put <ul> inside <li> of Alerting and this is what I am getting.

<ul class="nav-list">
<ul class="submenu">
<li ><a href="index.jsp">Home</a></li>
<li ><a href="ExeSum.jsp?page=summary">Executive Summary</a></li>
<li class="submenu-current"><a href="">Alerting</a>
<ul><a href="">Ticket Status</a></ul>
</li>
<li ><a href="contact.jsp?page=contact">Contact Us</a></li>
</ul>
</ul>

Open in new window

now.PNG
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
aman0711Author Commented:
It was a CSS issue :)

At last got it :)
0
 
CEHJCommented:
OK :-)
0
 
aman0711Author Commented:
Code and image to be replaced in the question:



<% 
String pageReg= "";
String exc="",asp="",al="",home= "",con="";
 
        try{
          pageReg=(String)request.getParameter("page").toString();
         }catch (Exception e){home="class=\"submenu-current\"";}
 
 
                 
                if( pageReg.equals("summary")){
                
                       exc="class=\"submenu-current\"";
                       
                }else if(pageReg.equals("aspects"))
                 {
                 asp="class=\"submenu-current\"";
                 
                 }else if(pageReg.equals("alerts"))
                   {
                        al="class=\"submenu-current\"";
                        
                   } else if(pageReg.equals("contact"))
                     {
                      con="class=\"submenu-current\"";
                      } else {
                             if(pageReg.equals("home")){
                        home="class=\"submenu-current\"";
                      }
                      }
                      
    %>
<div id="left-col">              <!-- begin left column -->
        <div class="inner">
     
        height="64">
         <br>
              <ul class="nav-list">
                    <ul class="submenu">
                                    <li ><a href="index.jsp">Home</a></li>
                                    <li ><a href="ExeSum.jsp?page=summary">Ex</a></li>
                                    <li class="submenu-current"><a href="l">Al</a></li>
                                        <li id="alertSubmenu1"><a href="">Ti</a></li>
                                        <li ><a href="contact.jsp?page=contact">Contact</a></li>
                    </ul>
             </ul>
 
                
        <!-- end left column -->
        </div>
        </div>

Open in new window

Desired.PNG
Current.PNG
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now