?
Solved

Freezing the left hand side of a table/page (similar to freeze panes in Excel)

Posted on 2001-08-17
12
Medium Priority
?
248 Views
Last Modified: 2010-05-18
I have an ASP page which basically displays a list of employee names together with data for those employees. Some fields are input fields.

The problem is that users have to scroll over to the right of the page to input data and then they can't see the employee name which is on the far left hand side.

So it's difficult for them to quickly input data down the page without scrolling to the left and right.

Is there a way of doing something similar to freeze panes in Excel where we can keep the name on the left hand side of the page as the users scroll to the right?

0
Comment
Question by:obicham
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
  • +4
12 Comments
 
LVL 33

Expert Comment

by:hongjun
ID: 6397470
I don't think there's a way to do that. The only way to do that is that perhaps use <br> to make sure that the 2 columns display on different rows and not different columns.

hongjun
0
 
LVL 5

Expert Comment

by:dredge
ID: 6397508
use <div>'s to create floating layers on the left hand side.

the problem with this, is that most browsers don't like the use of DIV's inside of forms.
0
 
LVL 33

Expert Comment

by:hongjun
ID: 6397521
I never like the idea of having a layer "following" you around.

hongjun
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 5

Expert Comment

by:dredge
ID: 6397548
you may not like that idea, personally, but obicham is asking for that.
0
 
LVL 3

Expert Comment

by:newjack
ID: 6397595

Using an IFrame or plain frame could be used to get that effect as well.

0
 
LVL 5

Expert Comment

by:dredge
ID: 6397607
the problem with IFrame or Frames, is that it's about impossible to keep track of which Name is associated with what line of form fields because these items scroll independent of any other part of the page.

with a Div, you can set it to always stay on the left side of the screen, but it will still scroll verticaly with the rest of the page.
0
 
LVL 3

Expert Comment

by:newjack
ID: 6397626

yep, but it's horizontal scrolling that's the problem.
He wants to scroll to the right, so if the IFrame's width is the same as the table on the left (with the names), there's no problem

0
 

Author Comment

by:obicham
ID: 6397628
I don't think I can use the <DIV> if most browsers don't like it.
0
 
LVL 19

Expert Comment

by:webwoman
ID: 6398337
Rethink your layout. There's no reason why you can't have the employee name, and the data that relates to them displayed under their name. Then you don't have ANY horizontal scrolling, don't need layers, and people don't get confused.

You can control how it looks. It doesn't have to look like Excel.
0
 
LVL 9

Expert Comment

by:AlfaNoMore
ID: 6409561
You could always have the employee name in one frame (down the left hand side), and all other info in a frame on the right. Then you'd need to find some javascript (and I have seen some, but it was years OK!), that will scroll vertically the left hand frame in conjunction with the right.

You'll probably find it only works in IE, but this might not be a problem if you're developing an Intranet and all your employees are using IE (which is usually the case in large organizations?).

Found this for you. Should do the trick?

http://developer.irt.org/script/scroll.htm

Daniel.
0
 
LVL 33

Expert Comment

by:hongjun
ID: 8672619
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
[PAQ with NO REFUND]

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

hongjun
EE Cleanup Volunteer
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 8736329
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:   The Exchange of informatio…
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question