Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

URGENT !!! - scrolling in netscape

Status
Not open for further replies.

arunjp

Programmer
Jan 10, 2001
29
US
Hi !
I have a table in my JSP page, which acts as the client for my bean. The problem is I have two frames one on top and the other on bottom(I mean two rows). On the top frame I have a table which has the heading (<TH> tag) for the data (<TD>) that has the data. The top frame doesn't have scrollbar (scrolling set to &quot;no&quot;), whereas the bottom frame has scrollbar.So, the requirement is if the user scrolls the bottom frame, that is the table containing the data, the top frame should also scroll, so that the two frames are always in sync. The problem what Iam facing is, this functionality works, only if I have scrollbar on the top frame, so that the event is captured by &quot;scroll()&quot; method. But it should work without scroll bar on the top frame. And one more catch is the solution should be cross browser compatible and if not atleast compatible to netscape. THe solution is needed asap.

Thanks
AJP
 
Try setting scrollTop for the upper frame - you can do this without it's scrollbar being visible, though you still have to capture scrolling in the lower one don't you? If something works in Ns4.x, it will definately work in others - NS is definately 'least' !Bj
b[sup]2[/sup] - benbiddington@surf4nix.com
 
Hi bangers !
Could u send me the sample code that would work in netscape too.

Thanks
AJP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top