AJAX Menu like the one on Microsoft.com

Discussion in 'Programming' started by Lotos1, Jan 25, 2009.

  1. #1
    I just went to http://www.microsoft.com/en/us/default.aspx and in the middle of the page they have a menu with Highlights, Latest releases, Using your computer, For Business, etc. When you hover over each of these links, a separate (what seems to be a) page opens on the right-hand side without doing a full postback. How is this done since I would like to implement something like this on one of my pages? I know they use AJAX and JavaScript, but is there some sample code that shows how this is achieved?
     
    Lotos1, Jan 25, 2009 IP
  2. vanensat

    vanensat Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi,
    I went through the page and the content for the all the links are already available in the page and on mouse over, the contents are displayed accordingly. So no AJAX requests here. Plain javascript and DHTML only.
    Code could be div.style.display = "none" to hide and div.style.display = "block" to show.
     
    vanensat, Jan 26, 2009 IP
  3. cancer10

    cancer10 Guest

    Messages:
    364
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I suggest you to get a webmenu builder program like Navstudio or Web Button Menu Maker. Google for the websites :)
     
    cancer10, Jan 28, 2009 IP