I am not asking any one to do it. I just need a little direction.
I feel like this can be done with arrays and tables inside of div tags but how could you keep them in sync. And it would mean one div tag overlaping another div tag. Maybe?
My page needs left hand rows of assembly part numbers, top of page would be columns containing detail parts. The right hand needs rows containing update buttons for each record. Then I need a grid where quantities could be inserted at desired intersections of rows and columns. The rows should only scroll vertically and never be out of view. The columns(detail parts) should scroll horizontally between the assembly part rows and the update button rows.
Also, I would like this to be populated initially with jstl in the jsp file.
JSTL and JSP are red herrings. First figure out how you want to do this in HTML without worrying about how it's going to be generated. Only when you have the HTML, script and CSS working as you expect, worry about how to use JSP to generate the data dynamically.
Bear Bibeault wrote:JSTL and JSP are red herrings. First figure out how you want to do this in HTML without worrying about how it's going to be generated. Only when you have the HTML, script and CSS working as you expect, worry about how to use JSP to generate the data dynamically.
Okay, laying aside the data population can you get me headed in the right direction as far as the display goes?
Answer: that depends upon whether you want fixed or relative sizes.
Steve Dyke
Ranch Hand
Joined: Nov 16, 2004
Posts: 1254
posted
0
Bear Bibeault wrote:Answer: that depends upon whether you want fixed or relative sizes.
I have my div tags set up on my page, however not with scrolling yet.
My first challenge is populating the header columns. I need them vertical which I have done but the width of the columns is the width of the input tag '20' characters. How can I get the TD tag to shrink after the rotation?
I have attached a file so you can see what I am tring to emulate.
I don't seem to be able to attach a file. It is eithe the wrong format or wrong size.
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
6
posted
0
I would say you should code with ems and not hard-coded px values.
I got the matrix working like I needed, except scraped the text rotation.
However, Is there a way to have a crosshair cursor that spans the entire page so the user can easily see the row-column intersection they are currently pointing at?
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
6
posted
0
Steve Dyke wrote:I got the matrix working like I needed, except scraped the text rotation.
However, Is there a way to have a crosshair cursor that spans the entire page so the user can easily see the row-column intersection they are currently pointing at?
Capture the mouse position with mousemove, position 2or more elements to make the lines.
Eric
Steve Dyke
Ranch Hand
Joined: Nov 16, 2004
Posts: 1254
posted
0
Eric Pascarello wrote:
Steve Dyke wrote:I got the matrix working like I needed, except scraped the text rotation.
However, Is there a way to have a crosshair cursor that spans the entire page so the user can easily see the row-column intersection they are currently pointing at?
Capture the mouse position with mousemove, position 2or more elements to make the lines.
Eric
Thanks for the response.
I decided to do this a little different also. When a mouseover event fires the header column and row cells highlight to yellow, on the mouseout they change back to default.
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
6
posted
0
You probably want to use mouseenter and mouseleave.