This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
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: 44563
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: 63350

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

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