aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes A scrollable big list with image Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "A scrollable big list with image" Watch "A scrollable big list with image" New topic
Author

A scrollable big list with image

Debashish Chakrabarty
Ranch Hand

Joined: May 14, 2002
Posts: 225

I have an unordered-list (sort of a blogroll that goes in the sidebar) that had list of blogs and an orange XML button against it that pointed to the Feed URL. Slowly this list began to grow and now with 150+ elements it becomes difficult to display the list this way.

Now I want to show this list in a scrollable list box. I know that the solution would be to use the good old HTML "select" with a JavaScript to navigate to the site when the user clicks on a list item.

However, the problem is I want to display the list-items as "hyperlinks" and continue showing the XML button. I short I want the same list as before albeit with the "Scroll" facility so that it consumes less space.

How can this be done?

Thanks,


Debashish
SCJP2, SCWCD 1.4
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15357
    
    6
you can not use a select element. Best you can do is make a dive scrollable

<div style="height:100px; overflow:auto;">
your stuff
</div>

Eric
Yuriy Fuksenko
Ranch Hand

Joined: Feb 02, 2001
Posts: 413
Hi,
there is this thing I wrote a while ago.
It is div, that imitates a select element.
Here is a link, take a look

http://www.devsoftware.com/dhtmlTest/select.html
 
I agree. Here's the link: http://jrebel.com/download
 
subject: A scrollable big list with image
 
Similar Threads
how to add image to a scrollbar
Reordeing elements in a scrollable list
scrollable resultset with Oracle
recordset in different pages
Scrollable JList