By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,558 Members | 1,533 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,558 IT Pros & Developers. It's quick & easy.

Javascript Drop Down Menu - problem with order & display

P: n/a
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

Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Smriti Dev wrote:
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


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 <gw*****@agricoreunited.com>

* Client-side Javascript and Netscape 4 DOM Reference available at:
*
http://devedge.netscape.com/library/...ce/frames.html

* Internet Explorer DOM Reference available at:
*
http://msdn.microsoft.com/workshop/a...ence_entry.asp

* 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
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.