This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft 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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "javascript css issue" Watch "javascript css issue" New topic
Author

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?


Thanks
Sathish kumar
SCJP, SCWCD
Campbell Ritchie
Sheriff

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

Joined: Nov 08, 2001
Posts: 15376
    
    6
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
Eric Pascarello
author
Rancher

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

Eric
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60082
    
  65

"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: http://aspose.com/file-tools
 
subject: javascript css issue
 
Similar Threads
javascript css issue
getting text area rows dynamically
Align Two Tables Vertically
cellspacing - html javascript css issue
Table with header fixed.