Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Scrollable list like google suggest

 
Manish Hatwalne
Ranch Hand
Posts: 2591
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I sort of know AJAX, so I know how to get contents for the dic from server. However, my problem is how would I display a scrollable div like google-suggestin my app, moreover I should be able to press down-arrow to get to there, I can do that with event.which and trapping down-arrow key, but it doesn't work in IE.

Any pointers on having such scrollable div (not with overflow-true)?

TIA,
- Manish
 
Sonny Gill
Ranch Hand
Posts: 1211
IntelliJ IDE Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have probabely googled this out by now, but here it is anyway -

Chris Justus's blog

http://serversideguy.blogspot.com/2004/12/google-suggest-dissected.html
 
Manish Hatwalne
Ranch Hand
Posts: 2591
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, I have already figure and most of the things working, it is just that I am unable to get positioning on my "suggestions div" (displayElement) right below the required text box. This is the code taht I am using (ajax div is posiioned absolutely) --



How do I do this??

TIA,
- Manish
 
Manish Hatwalne
Ranch Hand
Posts: 2591
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Never mind, I figured it out about positioning.

- Manish
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic