File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes javascript css issue 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 "javascript css issue" Watch "javascript css issue" New topic

javascript css issue

G.Sathish kumar
Ranch Hand

Joined: Jul 27, 2009
Posts: 84
i am using spring and i am getting the result set as List<Map> and the result set is dynamic i mean it is dynamic number of columns need to be displayed.

i diplayed every thing with div option and used the scroll bar but insde of div for each data i have a component to update the data.

for first and secon column i am freezing using the

top: expression(document.getElementById("tbl-container").scrollTop-2); /* IE5+ only *//*

so it i working but when use the scroll bar the component is getting collapsed with the freezed column

can any one knows abou this please tell me?

Sathish kumar
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46373
We discuss JavaScript in a different forum from Java. Moving.
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
That expression will not work in IE8 since Microsoft dropped expression support.

You will probably need to look into using onscroll to get better browser coverage.

Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Did you set position relative on the element and ALSO the parent element?

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63865

"Sathish Kumar.G", please check your private messages for an important administrative matter.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: javascript css issue
It's not a secret anymore!