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

How is this dropdown done?

P: 64
Hey guys

There is this quite navigable menu display at http://search.justdial.com/

When a user clicks on text box, it displays a certain javascript menu. While on this site, click on the text box for City.
Anyone knows how this was done??
May 10 '08 #1
Share this Question
Share on Google+
3 Replies


Markus
Expert 5K+
P: 6,050
It's done with javascript, friend.

Head over to the javascript forum.
May 10 '08 #2

ronverdonk
Expert 2.5K+
P: 4,258
I will move this thread to the Javascript/DHTML forum.

moderator
May 10 '08 #3

hsriat
Expert 100+
P: 1,654
Try this..
.
Expand|Select|Wrap|Line Numbers
  1. <a href="#" onclick="document.getElementById('city_list').style.display='';">Select City</a><div id="city_list" style="position:absolute;display:none;border:red solid 1px;"><a href="#" onclick="document.getElementById('city_list').style.display='none';">Close</a> ---- city list ----</div>
May 11 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.