File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 38787
    
  23
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: 61198
    
  66

"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