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
314 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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 …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
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…
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

758 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

23 Experts available now in Live!

Get 1:1 Help Now