Javascript Drop Down Menu - problem with order & display

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Smriti Dev

    Javascript Drop Down Menu - problem with order & display

    Hi,

    I have a drop down menu with a listing of communities and I use it to
    select a community, selecting a letter ie. "T" , I get bumped to the "T"
    section to choose
    communities that start with a "T".
    I need to get the "T" communities to start at the top of the community list
    in the drop-down box.
    Right now the communities starting with the letter you choose, are atthe
    bottom of the list and so you have to scroll more.

    I would really appreciate your help in coming up with a solution to this
    problem.

    Take care,
    Smriti



  • Grant Wagner

    #2
    Re: Javascript Drop Down Menu - problem with order & display

    Smriti Dev wrote:
    [color=blue]
    > Hi,
    >
    > I have a drop down menu with a listing of communities and I use it to
    > select a community, selecting a letter ie. "T" , I get bumped to the "T"
    > section to choose
    > communities that start with a "T".
    > I need to get the "T" communities to start at the top of the community list
    > in the drop-down box.
    > Right now the communities starting with the letter you choose, are atthe
    > bottom of the list and so you have to scroll more.
    >
    > I would really appreciate your help in coming up with a solution to this
    > problem.
    >
    > Take care,
    > Smriti[/color]

    The behaviour you are describing is platform and browser dependant. If you want
    a <select> style menu that does what you want, you'll have to roll your own
    using <div>s, which will make it difficult to ensure it works properly on all
    browsers.

    --
    | Grant Wagner <gwagner@agrico reunited.com>

    * Client-side Javascript and Netscape 4 DOM Reference available at:
    *


    * Internet Explorer DOM Reference available at:
    *
    Gain technical skills through documentation and training, earn certifications and connect with the community


    * Netscape 6/7 DOM Reference available at:
    * http://www.mozilla.org/docs/dom/domref/
    * Tips for upgrading JavaScript for Netscape 7 / Mozilla
    * http://www.mozilla.org/docs/web-deve...upgrade_2.html


    Comment

    Working...