Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

JavaScript YUI Drop Down Menu, Example?

views
     
TSinvisible_wings
post Nov 23 2007, 04:01 PM, updated 19y ago

New Member
*
Junior Member
45 posts

Joined: Jun 2006
From: Penang


Hi, I'm new to the Yahoo! User Interface Library (YUI).

I'm looking for drop down menu from YUI components to add into my application. But I couldn't find that component and any example for doing that, from the YUI website itself and google. Does anyone has any example or any idea?

Thanks in advance!
TSinvisible_wings
post Nov 23 2007, 04:58 PM

New Member
*
Junior Member
45 posts

Joined: Jun 2006
From: Penang


Thanks for the link.

I had gone through it previously, but the drop down menu/ list in 'Website Top Nav Using Animation With Submenus From JavaScript' is just plain HTML code. Is there any other example?

This post has been edited by invisible_wings: Nov 23 2007, 04:59 PM
TSinvisible_wings
post Nov 23 2007, 05:27 PM

New Member
*
Junior Member
45 posts

Joined: Jun 2006
From: Penang


QUOTE(sunsuron @ Nov 23 2007, 05:20 PM)
I don't understand. You want drop down menu that was not in plain HTML ? You asked for drop down menu from YUI components and as far as I know, YUI was written in plain Javascript + HTML + CSS.
*
This is the drop down menu/ list code I got from the YUI example (topnavfromjs_source.html):

CODE

<form name="example">
 <select name="test">
    <option value="one">One</option>
    <option value="two">Two</option>
    <option value="three">Three</option>                                
 </select>
</form>


Notice that there's no javascript and CSS involved. Is the drop down menu/ list provided by YUI supposed to work in this way? hmm.gif
TSinvisible_wings
post Nov 23 2007, 05:43 PM

New Member
*
Junior Member
45 posts

Joined: Jun 2006
From: Penang


QUOTE(sunsuron @ Nov 23 2007, 05:30 PM)
I suspected you are looking at the wrong page.
Take a look here: http://developer.yahoo.com/yui/examples/me...nim_source.html
*
Yes, I'm looking at this page. smile.gif What I want is the drop down menu/ list after the NOTE (one, two, three) for data entry purpose. But it doesn't seem to be YUI component. hmm.gif

Or I should modify the menus above the NOTE to be the drop down menu/ list I want? rclxub.gif
TSinvisible_wings
post Nov 24 2007, 02:10 AM

New Member
*
Junior Member
45 posts

Joined: Jun 2006
From: Penang


QUOTE(sunsuron @ Nov 23 2007, 05:57 PM)
You seems to be confused with 'drop down menu' and 'HTML drop down selection element'.
What you see above the NOTE in that page is the YUI drop down menu with animation effect added into it.
What you see below the NOTE in that page is a HTML drop down <select> which I assumed the original author put it there for fun.
*
Oh, i see. I think I messed up the YUI component with the HTML element.. doh.gif
Thanks for making it clear for me, sunsuron. smile.gif



 

Change to:
| Lo-Fi Version
0.0137sec    0.46    6 queries    GZIP Disabled
Time is now: 29th November 2025 - 07:54 PM