aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Scrollable list like google suggest Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Scrollable list like google suggest" Watch "Scrollable list like google suggest" New topic
Author

Scrollable list like google suggest

Manish Hatwalne
Ranch Hand

Joined: Sep 22, 2001
Posts: 2578

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

Joined: Feb 02, 2002
Posts: 1211

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

Joined: Sep 22, 2001
Posts: 2578

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

Joined: Sep 22, 2001
Posts: 2578

Never mind, I figured it out about positioning.

- Manish
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Scrollable list like google suggest