How to get a javascript/ajax menu ? (something like yahoo is using)

Discussion in 'HTML & Website Design' started by poseidon, Aug 17, 2006.

  1. #1
    well I need something like what yahoo uses in www.yahoo.com in there search.

    There are web | images | video | audio | directory and when you click on any of them the page don't get loaded (not sure whether this is full use o fajax or not) but I am want this kind of menu for my site :)

    Any idea how to do this. I am trying to understand yahoo code but lot's of cookie stuff are there.:(
     
    poseidon, Aug 17, 2006 IP
  2. brian394

    brian394 Well-Known Member

    Messages:
    226
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    108
    #2
    Not quite sure what you are looking for. Are you talking about the words above the search box at the top of the page? When I click on the word "Images" for instance, the only change I see is that the caption of the search button changes to "Image Search" and when I click on the word "Video" it changes to "Video Search" and so on. Is that what you are looking for?

    Or are you looking for what's going on further down the page where it says "Weather" and "Horoscopes" for instance, and when you move you mouse over the word "Weather", it pops up a textbox asking for your zip code?

    It's unclear from your question. :confused:
     
    brian394, Aug 17, 2006 IP
  3. poseidon

    poseidon Banned

    Messages:
    4,356
    Likes Received:
    246
    Best Answers:
    0
    Trophy Points:
    0
    #3
    oh sorry for not being specific. :)

    If you look at yahoo page you can see there search menu -
    web | images | video | audio | directory

    Now the default one is "web" but when you click on images, than immediately new search option comes(note that the page don't get loaded again). When you click video, again new option comes without page getting loaded. I also want this kind of menu for my search box.
     
    poseidon, Aug 17, 2006 IP
  4. shobber

    shobber Peon

    Messages:
    92
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Poseidon,
    Have you checked out the scripts at Dynamicdrive.com? They have some similar ajax style menus.
     
    shobber, Aug 17, 2006 IP
    poseidon likes this.
  5. Buga

    Buga Guest

    Messages:
    68
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Check these sites out:
    DhtmlGoodies.com
    Mad4milk.net (moofx.mad4milk.net)
    Script.aculo.us (wiki.script.aculo.us/scriptaculous/show/Demos)
    OpenRico.org

    Do a google search for Ajax Libraries. If you view the forums on these various sites, I'm sure you'll find some Ajax Menus. Yahoo also has a Ajax Library with various effects.
    developer.yahoo.com/yui/

    Also, check out Ajax resources here:
    alvit.de/handbook/#ajaxapps
     
    Buga, Aug 17, 2006 IP
    poseidon likes this.