Solved

How can I click on a menu item on the left of the page and have a different page on the right side

Posted on 2014-03-01
4
316 Views
Last Modified: 2014-03-01
Please Help
  I am trying to do the following.  As seen in the attachment, I want to click on the menu items on the left menu and have it a co-responding page appear on the right.


Please help
meuu.docx
0
Comment
Question by:vcurtis
  • 2
  • 2
4 Comments
 
LVL 18

Expert Comment

by:Gary Davis
ID: 39897920
There are many ways to do this. You can do it client-side using jQuery with a JqueryUI menu or some other add-in (http://jqueryui.com/menu/).

If you want to do this server-side and you are using ASP.Net WebForms, you can use a Master Page that contains your menu and the content area would contain your selected page (http://msdn.microsoft.com/en-us/library/aa581781.aspx).

Gary Davis
0
 

Author Comment

by:vcurtis
ID: 39897940
Yes thank you Gary but that tells me how do a drop-down menu. but what I need to know is how do I click an item on that drop-down and display a page
0
 
LVL 18

Accepted Solution

by:
Gary Davis earned 500 total points
ID: 39897951
Well, looking at the jQueryUI example, you define the menu like this (as in the API documentation):

<ul id="menu">
  <li><a href="#">Item 1</a></li>
  <li><a href="#">Item 2</a></li>
  <li><a href="#">Item 3</a>
    <ul>
      <li><a href="#">Item 3-1</a></li>
      <li><a href="#">Item 3-2</a></li>
      <li><a href="#">Item 3-3</a></li>
      <li><a href="#">Item 3-4</a></li>
      <li><a href="#">Item 3-5</a></li>
    </ul>
  </li>
  <li><a href="#">Item 4</a></li>
  <li><a href="#">Item 5</a></li>
</ul>

Open in new window

The entries in the inner <ul> group are the submenu (dropdown) which you don't want. The main <ul> group are href's you'd use to replace the "#" with the url to your desired page. The API doc goes into more detail.
0
 

Author Closing Comment

by:vcurtis
ID: 39897953
Thanks Gary
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Developer tools in browsers have been around for a while, yet they are still heavily underused by developers. Developers still fix html or CSS then refresh page to see effect, or they put alert or debugger in JavaScript and then try again and again …
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
This video teaches users how to migrate an existing Wordpress website to a new domain.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now