gnawz Posted May 10, 2008 Share Posted May 10, 2008 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?? Link to comment https://forums.phpfreaks.com/topic/104989-solved-how-is-this-dropdown-done/ Share on other sites More sharing options...
Barand Posted May 10, 2008 Share Posted May 10, 2008 Have you tried "View source"? Link to comment https://forums.phpfreaks.com/topic/104989-solved-how-is-this-dropdown-done/#findComment-537389 Share on other sites More sharing options...
gnawz Posted May 10, 2008 Author Share Posted May 10, 2008 I have viewed the source and I see that the functions are just imported. They are in another file outside this so I need to know if someone has an idea how this was done. Link to comment https://forums.phpfreaks.com/topic/104989-solved-how-is-this-dropdown-done/#findComment-537394 Share on other sites More sharing options...
Barand Posted May 10, 2008 Share Posted May 10, 2008 Firebug Link to comment https://forums.phpfreaks.com/topic/104989-solved-how-is-this-dropdown-done/#findComment-537397 Share on other sites More sharing options...
gnawz Posted May 12, 2008 Author Share Posted May 12, 2008 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?? I have viewed source but the function is hidden. Any ideas on how this is done. Link to comment https://forums.phpfreaks.com/topic/104989-solved-how-is-this-dropdown-done/#findComment-538799 Share on other sites More sharing options...
corbin Posted May 12, 2008 Share Posted May 12, 2008 Well.... The input box has onmousedown='javascript:city_function(0);', therefore, you know that's which function it's calling. Then, in http://search.justdial.com/search/common/common.js you have the function definition. Plaigarise away. Link to comment https://forums.phpfreaks.com/topic/104989-solved-how-is-this-dropdown-done/#findComment-538802 Share on other sites More sharing options...
gnawz Posted May 12, 2008 Author Share Posted May 12, 2008 Thank you very much! i will get an idea, plagiarism is not good. Thank you real very much!!! Link to comment https://forums.phpfreaks.com/topic/104989-solved-how-is-this-dropdown-done/#findComment-538811 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.